From: Richard Guenther Date: Fri, 21 Jan 2011 14:08:26 +0000 (+0000) Subject: pr47392.c: Make test non-static instead of making main hot. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=657cbcffd052226873ce4629baafd48296d5aa72;p=gcc.git pr47392.c: Make test non-static instead of making main hot. 2011-01-21 Richard Guenther * gcc.dg/tree-ssa/pr47392.c: Make test non-static instead of making main hot. From-SVN: r169091 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 80969743729..61b3d23ab1c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-01-21 Richard Guenther + + * gcc.dg/tree-ssa/pr47392.c: Make test non-static instead of + making main hot. + 2011-01-21 Richard Guenther PR tree-optimization/47365 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr47392.c b/gcc/testsuite/gcc.dg/tree-ssa/pr47392.c index 0dcabed13a8..20161363fbd 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr47392.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr47392.c @@ -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 ();