This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: wrong code with -fforce-addr
- From: Olivier Galibert <galibert at pobox dot com>
- To: Manfred Schwarb <manfred99 at gmx dot ch>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 3 Oct 2007 15:03:46 +0200
- Subject: Re: wrong code with -fforce-addr
- References: <5.2.1.1.2.20071003111141.02965df0@mail.netzone.ch>
On Wed, Oct 03, 2007 at 12:24:27PM +0200, Manfred Schwarb wrote:
> I'm in a loss where to search for the real cause. Has anybody a hint
> how to proceed further?
Sounds like weird-but-somewhat-determinist behaviour you can get when
you do out-of-bounds access on the stack or this kind of problems.
Did you try valgrind or your os-of-choice equivalent on the code?
OG.