This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17510] [4.0 Regression] -fstrict-aliasing triggers miscompilation
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2004 08:35:56 -0000
- Subject: [Bug tree-optimization/17510] [4.0 Regression] -fstrict-aliasing triggers miscompilation
- References: <20040915205139.17510.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2004-09-16 08:35 -------
Subject: Re: [4.0 Regression] -fstrict-aliasing
triggers miscompilation
> -fno-tree-loop-optimizate is meta-flag, so does -fno-tree-loop-im works then as this is more likely
> the problem.
Yes, -fno-tree-loop-im fixes the problem, too.
I guessed the failure may be stack allocation related because if I
remove the call before the call to the faulting function the failure
goes away (but only with leafify, not with the weird inlining parameters).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17510