[Bug tree-optimization/23449] vortex fails without -fno-strict-aliasing
janis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 21:07:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list