bug with -O2 optimization

Dmitry Sivachenko dima@Chg.RU
Wed Mar 29 00:54:00 GMT 2000


>
> > I am trying to compile and run squid-2.3-stable2. ( http://squid.nlanr.net ).
> > It compiles but crashes just after startup.
> [snip]
> > This is considered to be a bug in gcc.
>
> > Do you know about it?
>
> I don't think so.
>
> > Do you plan to fix it?
>
> Certainly, but if you can investigate the problem and find what piece
> of code GCC is miscompiling, it would certainly help.  Bonus points if
> you can also test it with development snapshots of GCC, since it is
> possible that the bug has already been fixed.
>
> -- 

I can state, that the latest stable squid-2.2 works fine with gcc-2.95.2.
But squid-2.3-stable-2 crashes...

I hope this will help you to localize the problem.
As far as I know, gcc in FreeBSD was updated at the beginning of March.

--dima


More information about the Gcc-bugs mailing list