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 rtl-optimization/29841] [4.2/4.3 regression] ICE with scheduling and __builtin_trap



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


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