[Bug tree-optimization/33434] [4.3 Regression] inlining miscompilation
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 16 20:30:00 GMT 2007
------- Comment #16 from jakub at gcc dot gnu dot org 2007-11-16 20:29 -------
Tried to bootstrap that, and while just for make check it basically just
needed gcc_assert (!value || !TREE_SIDE_EFFECTS (value));
because e.g. some Fortran testcases have value == NULL,
bootstrap fails, e.g. on i386.c.
Simplified testcase:
void * baz (void);
static void *
bar (void *x)
{
x = baz ();
return x;
}
void *
foo (void *x)
{
return bar (x);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33434
More information about the Gcc-bugs
mailing list