* gcc.dg/tree-prof/inliner-1.c: Fix testcase.

From-SVN: r166577
This commit is contained in:
Jan Hubicka 2010-11-11 01:16:19 +01:00 committed by Jan Hubicka
parent 4ddf1c7f49
commit 928bcefada
2 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2010-11-10 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-prof/inliner-1.c: Fix testcase.
2010-11-10 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/constexpr-bitfield.C: New.

View file

@ -23,10 +23,14 @@ hot_function ()
main ()
{
if (a)
cold_function ();
else
hot_function ();
int i;
for (i = 0; i < 100; i++)
{
if (a)
cold_function ();
else
hot_function ();
}
return 0;
}