This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4512: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1
- To: Wolfgang Bangerth <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>
- Subject: Re: c++/4512: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Thu, 11 Oct 2001 18:08:12 +0200
- Cc: sirl at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org,mark at codesourcery dot com,Diego Novillo <dnovillo at redhat dot com>
- References: <20011010213533.3907.qmail@sourceware.cygnus.com>
At 16:19 11.10.2001, Wolfgang Bangerth wrote:
> > Synopsis: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1
> > State-Changed-From-To: open->closed
>
>Thanks for looking into it, but then there must be a different bug lurking
>somewhere: while your patch fixes the testcase it still does not fix
>compilation of my library. I unfortunately don't have the time today to
>reduce it again from the original code, so I can only send you the
>preprocessed source which is somewhat largish, but I hope you can still
>figure out what is going on.
Yes, I can figure out what's going wrong, basically I'm
stupidstupidstupid... :-(
When I was thinking about how to solve the bug, I had the right solution in
mind but somehow typed in something different. Argh!
I meant to test INSN_UID(JUMP_LABEL(temp)), not INSN_UID(temp).
The appended patch fixes that and makes the code compile. Currently
bootstrapping on PPC and x86.
Sorry for the trouble,
Franz.
* unroll.c (loop_iterations): Fix last patch.
gcc3-loop-3.patch