This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23449] vortex fails without -fno-strict-aliasing
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2005 21:07:11 -0000
- Subject: [Bug tree-optimization/23449] vortex fails without -fno-strict-aliasing
- References: <20050817234924.23449.janis@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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