purify 4.1 and egcs still appear to be incompatible.
Brad M. Garcia
bgarcia@fore.com
Mon Feb 16 09:41:00 GMT 1998
On 16 Feb 1998, Laurent Bonnaud wrote:
> Brad> When running, purify reports a number of Uninitialized memory reads.
> Brad> They all appear to have something to do with STL vectors, and each
> Brad> one reports trying to read an address that is 17 bytes below the frame
> Brad> pointer.
>
> It works for me.
<snip!>
> I tried on solaris 2.6, with purify 4.1, both with egcs 1.0.1 and the
> 02-05 snapshot. I'm using options -mcpu=ultrasparc -g -O2.
The difference appears to be the '-O2' option. If you compile my
test program with _no_ optimization, you get the Uninitialized Memory
Read errors. Compiling with '-O' also gets rid of the problem.
Laurent, can you confirm this behavior?
Brad Garcia
___/ __ / __ / ___/ "Being the Linux of digital media
__/ / / / _/ __/ would be a very good life."
_/ ____/ _/ _| ____/ - Jean-Louis Gassee, CEO of Be, Inc.
More information about the Gcc-bugs
mailing list