This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/30564] [4.3 Regression] ice for legal code with -O3



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]