This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9786: [3.2/3.3/3.4 regression] Ice in fixup_abnormal_edges with -fnon-call-exceptions -O2
- From: Jan Hubicka <jh at suse dot cz>
- To: Nick Rasmussen <nick at ilm dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 2 Mar 2003 11:23:17 +0100
- Subject: Re: c++/9786: [3.2/3.3/3.4 regression] Ice in fixup_abnormal_edges with -fnon-call-exceptions -O2
- References: <3E615ED8.7060104@ilm.com>
>
> 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