Commit 657cbcff by Richard Guenther Committed by Richard Biener

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
parent 3bc27de7
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.
......
......@@ -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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment