[Bug tree-optimization/30564] [4.3 Regression] ice for legal code with -O3
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 28 07:58:00 GMT 2007
------- Comment #10 from pinskia at gcc dot gnu dot org 2007-01-28 07:58 -------
> The problem is we are calling fold_marked_statements after renumbering the
> basic blocks and such which causes us to get the wrong starting point.
We have to call verify_cgraph before calling fold_marked_statements, otherwise
we get an ICE about an function (a builtin) which we no longer call. This
shows up in the Ada front-end in C code in which we call strlen in the function
which gets inlined with a constant string.
The patch is able to pass bootstrap but I still have another regression I need
to look into, dealing with an inline-asm and the testcase is x86 specific one
at that. (it does #ifdef __i386__).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30564
More information about the Gcc-bugs
mailing list