OSDN Git Service

2011-01-21 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jan 2011 14:08:26 +0000 (14:08 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jan 2011 14:08:26 +0000 (14:08 +0000)
        * gcc.dg/tree-ssa/pr47392.c: Make test non-static instead of
        making main hot.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr47392.c

index 8096974..61b3d23 100644 (file)
@@ -1,5 +1,10 @@
 2011-01-21  Richard Guenther  <rguenther@suse.de>
 
+       * gcc.dg/tree-ssa/pr47392.c: Make test non-static instead of
+       making main hot.
+
+2011-01-21  Richard Guenther  <rguenther@suse.de>
+
        PR tree-optimization/47365
        * gcc.dg/torture/pr47365.c: New testcase.
        * gcc.dg/tree-ssa/pr47392.c: Likewise.
index 0dcabed..2016136 100644 (file)
@@ -14,7 +14,7 @@ struct B
 int i = 1;
 struct B b = { 0, 3 };
 
-static void
+void
 test ()
 {
   if (b.a[0].i != i)
@@ -31,7 +31,7 @@ test ()
     __builtin_abort ();
 }
 
-int __attribute__((hot))
+int
 main ()
 {
   test ();