This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/5040: g++-3.0.2: -O causes variables from different stack frames to overlap
- From: Gwenole Beauchesne <gbeauchesne at mandrakesoft dot com>
- To: rth at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org, jeremy dot barnes at idilia dot com
- Date: Mon, 8 Apr 2002 22:00:57 +0000
- Subject: Re: optimization/5040: g++-3.0.2: -O causes variables from different stack frames to overlap
- Organization: MandrakeSoft
Hi,
Yes, please send me your testcase. I have a few comments so far.
- Your report is against gcc3.0-c++-3.0.2-1mdk under Mandrake Linux 8.1. This
is odd as we never provided any gcc-3.0.2 in any x86 distribution. Mixing
Cooker packages and stable packages is generally not a good idea. Or have you
upgraded to Cooker or MDK 8.2 since ?
- 3.0.2-1mdk is mainly based on RH-3.0.1 release 4. I would have expected
problems with later releases such as 3.0.3-0.1mdk with several other patches
coming in. But your original test case does work gcc-3.0.4.
- 3.1-0.2mdk is a prerelease snapshot as of 2002/04/01 plus the following
patches from Red Hat: compat with older 2.96-RH and binutils, and backport of
the visibility attribute.
Bye,
Gwenole.