[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 27 06:36:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879
--- Comment #11 from vries at gcc dot gnu.org 2012-04-27 06:35:30 UTC ---
All listed examples fixed in r186894.
Todo: follow-up with fix for:
...
struct S { int i; };
extern struct S foo (void);
extern int foo2 (void);
struct S s;
int bar (int c) {
int r;
if (c)
{
s = foo ();
r = foo2 ();
}
else
{
s = foo ();
r = foo2 ();
}
return r;
}
...
More information about the Gcc-bugs
mailing list