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]

Re: c++/9786: [3.2/3.3/3.4 regression] Ice in fixup_abnormal_edges with -fnon-call-exceptions -O2


> 
> I traced the -fnon-call-exceptions ICE I reported in PR 9786
> back to the following two checkins:
> 
> Wed Mar  6 10:59:39 CET 2002  Jan Hubicka  <jh at suse dot cz>
> 
> 
>         * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.

This checkin adds sanity check that is trapping.  it does verify that
when there is EH edge in the CFG there is also instruction that can
trap.

> changed the compiler error to:
> 
> pr9786.C: In constructor `B::B(const D2&)':
> pr9786.C:23: Internal compiler error in fixup_abnormal_edges, at 
> reload1.c:9506
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

It looks like someone removes the instruction that traps and forgets to
update the CFG.  Later reload crash when validaing the abnormal edges.
I will try to look into this, but probably it will take few days, as I
can't work much right now.

Honza


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