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/33705] gcc generates dead struct stores



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


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