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 rtl-optimization/45813] alias analysis problem ?


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2010.09.28 09:17:33
               date|                            |
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-09-28 09:17:33 UTC ---
I can't reproduce this on x86_64-linux with GCC 4.4.4 and -O2 (what options
did you use?).  A cross to arm I still have around for GCC 4.5.0 also doesn't
show the problem.

I used

unsigned short ReadLE16U ( volatile unsigned char *pmem)
{
  unsigned short val;
  unsigned char *bytes = (unsigned char *)&val;
  bytes[0] = pmem[0];
  bytes[1] = pmem[1];
  return val;
}

if that is not enough to reproduce the problem please provide
complete preprocessed source that can be compiled.


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