This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bug 17455: ia64.c patch for IA-64 linux kernel miscompile


This patch just disables sibcall optimizations from functions with the
syscall_linkage attribute, as sibcall opts break the guarantees made by
the syscall_linkage attribute.  Particularly, that the input argument
registers won't be modified.

This was tested with a gcc-3_4-branch bootstrap and make check.  There
were no regressions.  It was also tested with a linux kernel build and
disassemble, to verify that it had the intended affect.

This has been added to the gcc-3.4 branch and mainline.  This has also
been proposed for the gcc-3.3 branch.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

Attachment: patch.sibcall.syscall
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]