[Bug target/18723] [C] gcc 3.4.4 zeroes inline function argument with "-O2 -march=pentium4"

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 2 08:01:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list