pr47392.c: Make test non-static instead of making main hot.
authorRichard Guenther <rguenther@suse.de>
Fri, 21 Jan 2011 14:08:26 +0000 (14:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 21 Jan 2011 14:08:26 +0000 (14:08 +0000)
2011-01-21  Richard Guenther  <rguenther@suse.de>

        * gcc.dg/tree-ssa/pr47392.c: Make test non-static instead of
        making main hot.

From-SVN: r169091

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

index 80969743729701f29ba9ef4d89b5323924479799..61b3d23ab1c70b65195d8c5a77e4be80626897ff 100644 (file)
@@ -1,3 +1,8 @@
+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
index 0dcabed13a88907baf8e74ea90b0ee60e5098996..20161363fbd1c1d2c8fc033f3602006b2f650fb2 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 ();