This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18723] [C] gcc 3.4.4 zeroes inline function argument with "-O2 -march=pentium4"
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2005 08:01:31 -0000
- Subject: [Bug target/18723] [C] gcc 3.4.4 zeroes inline function argument with "-O2 -march=pentium4"
- References: <20041129173637.18723.thrall@vss.fsi.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-03-02 08:01 -------
> If -fno-strict-aliasing fixes the problem, then you have an aliasing problem
in > the source. So closing as invalid.
Ugh! If compilers were that simple... -fno-strict-aliasing disables a whole
class of optimizations; in particular, it will hide any stack slot sharing problem.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18723