optimization/5040: g++-3.0.2: -O causes variables from different stack frames to overlap

Richard Henderson rth@redhat.com
Wed Apr 3 10:36:00 GMT 2002


The following reply was made to PR optimization/5040; it has been noted by GNATS.

From: Richard Henderson <rth@redhat.com>
To: Jeremy Barnes <jeremy.barnes@idilia.com>
Cc: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: optimization/5040: g++-3.0.2: -O causes variables from different stack frames to overlap
Date: Wed, 3 Apr 2002 10:32:19 -0800

 On Wed, Apr 03, 2002 at 11:22:59AM -0500, Jeremy Barnes wrote:
 > I don't have the time currently to bootstrap a CVS version of 3.1.  I do have 
 > some code (the relevent parts of our app distilled into a single source file) 
 > that still reproduces the problem under 3.0.3.  I can send it to an 
 > individual developer, but would prefer not to send it to a public mailing 
 > list.  Respond if you are interested.
 
 I'd like to look at it.
 
 > My suspicion is that it won't show up in 3.1 using this source file, as the 
 > example is extremely brittle.  If this is the case, then the only way to be 
 > sure it is fixed and not hiding, would be to diagnose it back on the 3.0.2 
 > branch, figure out where the problem was, and then look to see if it was 
 > fixed in 3.1.  Sounds arduous...
 
 Hmm, yes...
 
 
 r~



More information about the Gcc-prs mailing list