--- Comment #5 from pinskia at gcc dot gnu dot org 2009-06-22 00:25 ---
Both of these have been fixed for a while now.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Keywords||missed-optimization
Priority|P3 |P
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40095
--- Comment #4 from matz at gcc dot gnu dot org 2009-05-13 17:51 ---
flatten-2.c is the more important one. We leave the static function
doubleindirect1 in there, which we shouldn't.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40095
--- Comment #3 from hp at gcc dot gnu dot org 2009-05-10 22:07 ---
cris-elf too...
--
hp at gcc dot gnu dot org changed:
What|Removed |Added
CC|
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-05-10 20:39 ---
-Wunreachable is completely bogus anyway, I suggest to XFAIL the testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40095
--- Comment #1 from hubicka at gcc dot gnu dot org 2009-05-10 19:51 ---
This is latent problem in -Wunreachable.
We now unroll the loop:
void bar (void)
{
int i;
for (i = 0; i < 2; i++)
if (! foo (a[i]))
return;
baz (); /* { dg-bogus "will never be executed" } */