OSDN Git Service

* gcc.c-torture/compile/20011119-1.c (xxx): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Mar 2002 20:55:20 +0000 (20:55 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Mar 2002 20:55:20 +0000 (20:55 +0000)
        * gcc.c-torture/compile/20011119-2.c (xxx): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51337 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20011119-1.c
gcc/testsuite/gcc.c-torture/compile/20011119-2.c

index 540c2f6..4814385 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-25  Richard Henderson  <rth@redhat.com>
+
+       * gcc.c-torture/compile/20011119-1.c (xxx): New.
+       * gcc.c-torture/compile/20011119-2.c (xxx): New.
+
 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
 
        * gcc.dg/c90-hexfloat-1.c: Adjust error regexps.
index 02dfcdb..2204c11 100644 (file)
@@ -1,5 +1,4 @@
-extern inline int foo (void)
-{
-  return 23;
-}
+extern inline int foo (void) { return 23; }
+int xxx(void) __asm__("xxx");
+int xxx(void) { return 23; }
 extern int foo (void) __attribute__ ((weak, alias ("xxx")));
index 2616368..ab649b9 100644 (file)
@@ -1,13 +1,6 @@
-extern inline int foo (void)
-{
-  return 23;
-}
-int bar (void)
-{
-  return foo ();
-}
+extern inline int foo (void) { return 23; }
+int bar (void) { return foo (); }
 extern int foo (void) __attribute__ ((weak, alias ("xxx")));
-int baz (void)
-{
-  return foo ();
-}
+int baz (void) { return foo (); }
+int xxx(void) __asm__("xxx");
+int xxx(void) { return 23; }