pr47392.c: Make test non-static instead of making main hot.

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
This commit is contained in:
Richard Guenther 2011-01-21 14:08:26 +00:00 committed by Richard Biener
parent 3bc27de7f1
commit 657cbcffd0
2 changed files with 7 additions and 2 deletions

View 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

View 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 ();