Question on Taming the Optimizer

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

 



Hi All,

What is the preferred way to tame the optimizer when two class
functions are producing incorrect results?

There's not much to the class - its a vector with copy semantics. So
it mirrors all vector's public functions, and forwards calls through
the internal vector pointer. The pointer is a boost shared_ptr.

-O2 is giving problems. -O0 is OK, Intel ICC is OK, and Visual Studio is OK.

Jeff


[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