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]

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


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


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