This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33705] gcc generates dead struct stores
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2007 10:30:43 -0000
- Subject: [Bug tree-optimization/33705] gcc generates dead struct stores
- References: <bug-33705-10175@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-10-09 10:30 -------
> I don't know if there are aliasing issues, but marking it __restrict doesn't affect it.
It is as changing state to be uint32_t and add restrict to both arguments makes
it work correctly.
The issue here is that we say character types alias everything even stuff which
have restrict on them.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i386-apple-darwin8.10.1 |
GCC host triplet|i386-apple-darwin8.10.1 |
GCC target triplet|i386-apple-darwin8.10.1 |x86_64-*-*
Keywords| |alias
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33705