This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17455] syscall_linkage attribute problem with sibling call optimization
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2004 20:01:25 -0000
- Subject: [Bug target/17455] syscall_linkage attribute problem with sibling call optimization
- References: <20040913112922.17455.eranian@hpl.hp.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From wilson at gcc dot gnu dot org 2004-09-13 20:01 -------
Created an attachment (id=7124)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7124&action=view)
Disable sibcalls from syscall_linkage functions.
This fixes the bug for me. I will do the usual testing, and then check it in.
Since this is a kernel miscompilation problem, I will add the patch to mainline
and gcc-3.4, and also try to get it into gcc-3.3. The testing will take a few
days. I will try building a kernel to see what happens, but I won't try
booting it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17455