This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13534] Invalid offset generated for loading 64-bit GPR on PPC64
- 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: 1 Jan 2004 00:42:20 -0000
- Subject: [Bug target/13534] Invalid offset generated for loading 64-bit GPR on PPC64
- References: <20031231213447.13534.lucier@math.purdue.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-01 00:42 -------
You are too violating aliasing rules:
(*((double*)((((int*)((___r1)-(1)))+1))));
converted from an int to an pointer and then to a double pointer is violating aliasing rules
even though you do not access the int pointer, does not matter if ___r1 is allocated from
malloc or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13534