This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12329] x86: local function declared with attribute((regparm(3))) gets corrupted parent frame pointer
- From: "hjl 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 Mar 2008 16:04:44 -0000
- Subject: [Bug target/12329] x86: local function declared with attribute((regparm(3))) gets corrupted parent frame pointer
- References: <bug-12329-1068@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hjl at gcc dot gnu dot org 2008-03-22 16:04 -------
Subject: Bug 12329
Author: hjl
Date: Sat Mar 22 16:03:57 2008
New Revision: 133448
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133448
Log:
gcc/
2008-03-22 Uros Bizjak <ubizjak@gmail.com>
H.J. Lu <hongjiu.lu@intel.com>
PR target/12329
* config/i386/i386.c (ix86_function_regparm): Limit the number of
register passing arguments to 2 for nested functions.
gcc/testsuite/
2008-03-22 Uros Bizjak <ubizjak@gmail.com>
PR target/12329
* gcc.target/i386/pr12329.c: New test.
Added:
branches/stack/gcc/testsuite/gcc.target/i386/pr12329.c
Modified:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/config/i386/i386.c
branches/stack/gcc/testsuite/ChangeLog.stackalign
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12329