------- Additional Comments From cnewbold at mathworks dot com  2005-06-21 
15:50 -------
Subject: Re:  [3.4 only] Optimization stomps
        const, initialized local array

On Mon, 2005-06-20 at 20:48 +0000, pinskia at gcc dot gnu dot org wrote:

> Also note this is not a full testcase and cannot just run, so is there way to 
> get one which is self 
> contained?

I have not had any success limiting the scope of the source required for
an executable example. The code in question comes from the
self-validation code for the open-source Crypto++ library, a C++ class
library of cryptographic primitives, version 4.2. Let me know what would
be most useful for you at this point.

One additional note, it appears that removing "-fno-strict-aliasing"
from the compiler command line also makes the problem go away even with
-O2 or -O3. I doubt this is safe, however.

-Chris



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22129

Reply via email to