Weird optimization bug...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have this crash bug in a templatized 2d blurring function.  It does
not occur in debug mode and if I put a print statement in the loop to
tell me what iteration it is on, it does not occur either.  I cannot see
any reason it seg faults when looking at dumped core or using gdb
manually, both using debug info + optimizations.  It seems like an
optimization issue (i.e. when I force the print statement it doesn't do
the optimization that borks it...).

I just upgraded to gcc 3.3.2 (most recent "stable" version on gentoo)
and have been trying to get a company project to build correctly.

My first inclination is to upgrade to the lastest "unstable" gcc version
on portage (3.3.3 I think).

Any suggestions?
Adruab


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux