This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36303] location list incomplete for spilled registers
- 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: 22 May 2008 22:38:59 -0000
- Subject: [Bug middle-end/36303] location list incomplete for spilled registers
- References: <bug-36303-16216@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 2008-05-22 22:38 -------
>I'm sorry, but I don't understand what you mean.
*((unsigned int *)(&(p1)->data[0])),
You are accessing a char array as an unsigned int which violates C/C++ aliasing
rules and causes undefined code at runtime.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36303