------- 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