[Bug optimization/12215] [3.3 regression] ICE in make_label_edge with -fnon-call-exceptions -fno-gcse -O2

mark at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 5 18:27:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12215



------- Additional Comments From mark at codesourcery dot com  2003-10-05 18:27 -------
Subject: Re:  [3.3 regression] ICE in
	make_label_edge with -fnon-call-exceptions -fno-gcse -O2

On Fri, 2003-10-03 at 23:17, ebotcazou at gcc dot gnu dot org wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12215

Let's call the possibly-trapping insn I.  Let's call the next nonnote
insn after I N.

This patch changes the compiler to emit the new instruction (X) right
before N, rather than right after I.  Now, N and I are in different
basic blocks.  So, X will be executed any time control enters the block
containing N, even if not falling through from I.  Won't that be wrong?

Thanks,



More information about the Gcc-bugs mailing list