c++/4512: New ICE in loop_iterations at unroll.c:3510, regression vs. 3.0.1

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Thu Oct 11 09:08:00 GMT 2001


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc3-loop-3.patch
Type: text/x-diff
Size: 895 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20011011/71b69a7e/attachment.bin>


More information about the Gcc-bugs mailing list