This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: purify 4.1 and egcs still appear to be incompatible.
- To: Laurent Bonnaud <bonnaud at irisa dot fr>
- Subject: Re: purify 4.1 and egcs still appear to be incompatible.
- From: "Brad M. Garcia" <bgarcia at fore dot com>
- Date: Mon, 16 Feb 1998 12:42:48 -0500 (EST)
- cc: egcs-bugs at cygnus dot com, Bob Sidebotham <rns at fore dot com>
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.