This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32602] Sibcall optimization fails to detect overlap
- From: "jconner at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2007 23:19:24 -0000
- Subject: [Bug middle-end/32602] Sibcall optimization fails to detect overlap
- References: <bug-32602-10413@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jconner at apple dot com 2007-07-02 23:19 -------
The problem is that the sibcall optimization incorrectly believes that the
incoming arr16_t parameter to func1 is located at the same location on the
stack as the outgoing arr16_t parameter to func2, and so incorrectly allows a
sibcall to occur.
I have a patch for this that I will submit shortly.
--
jconner at apple dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jconner at apple dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32602