This is the mail archive of the gcc-bugs@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 target/12329] x86: local function declared with attribute((regparm(3))) gets corrupted parent frame pointer



------- 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


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