This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/29841] [4.2/4.3 regression] ICE with scheduling and __builtin_trap
- From: "jh at suse dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2006 14:12:13 -0000
- Subject: [Bug rtl-optimization/29841] [4.2/4.3 regression] ICE with scheduling and __builtin_trap
- References: <bug-29841-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from jh at suse dot cz 2006-12-19 14:12 -------
Subject: Re: [4.2/4.3 regression] ICE with scheduling and __builtin_trap
>
> cfgrtl.c: rtl_verify_flow_info () makes the same statement as
> control_flow_insn_p ():
> /* We may have a barrier inside a basic block before dead code
> elimination. There is no BLOCK_FOR_INSN field in a barrier. */
Duh, I would consider HP's patch adding the hunk to verify_flow_info in
2004 as incorrect even if it was commited as obvious. Clearly we don't
want to have barriers within basic blocks, dead code ellimination done
or not, especially not at the scheduling time! (frankly, we don't want
to have barriers at first place)
I would suggest put that hunk in (it was probably just merge omision
from my side) and try to remove the verify_flow_info bit and see if
everything works. I can do it tonight or tomorrow unless you beat me.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29841