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:
parent
3bc27de7f1
commit
657cbcffd0
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue