This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/45813] alias analysis problem ?
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Sep 2010 09:17:39 +0000
- Subject: [Bug rtl-optimization/45813] alias analysis problem ?
- Auto-submitted: auto-generated
- References: <bug-45813-4@http.gcc.gnu.org/bugzilla/>
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.