This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29907] ARM Optimization Bug
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2006 16:27:13 -0000
- Subject: [Bug target/29907] ARM Optimization Bug
- References: <bug-29907-13594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rearnsha at gcc dot gnu dot org 2006-11-20 16:27 -------
Not a bug. The value in IP is the value of rdy->last at the time that
old_last_node = rdy->last;
was *conceptually* executed (note that instruction scheduling has moved the
loads and stores around, but that doesn't affect the final result).
I would note, however, that
a->next = (Chain_Node*)&rdy->permanent_null;
creats a potential aliasing violation in your code, which is most likely the
source of your real problem. See discussions aliasing in a good C book.
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29907