This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/23449] vortex fails without -fno-strict-aliasing


------- Additional Comments From janis at gcc dot gnu dot org  2005-09-07 21:07 -------
The code in mem*.[ch] is much messier than I originally thought.  There are
lots of casts in assignments of pointer variables.  The macros in mem00.h
starting with Unit_Size, which are used in both lvalues and rvalues,
dereference through pointer casts.

I'm no longer planning to suggest a fix to SPEC.  The code in vortex violates
aliasing rules and any fix would not be portable C; we'll need to work around
it by compiling with -fno-strict-aliasing until someone comes up with a better
solution.

Closing this PR as INVALID.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23449


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]