re PR target/12329 (x86: local function declared with attribute((regparm(3))) gets...
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 6 Apr 2008 06:40:47 +0000 (08:40 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 6 Apr 2008 06:40:47 +0000 (08:40 +0200)
commit27183bba6bc249ae4c73bb799c7df702e98a2467
treefab042be595339e8cc2b6a43e033a7b1e7d24655
parent93f14b2fc38a2221142d513151a437ef9f14feb8
re PR target/12329 (x86: local function declared with attribute((regparm(3))) gets corrupted parent frame pointer)

        PR target/12329
        * config/i386/i386.c (ix86_function_regparm): Error if regparm(3)
        attribute is used for nested functions.

testsuite/ChangeLog:

        PR target/12329
        * gcc.target/i386/pr12329.c: New test.

From-SVN: r133954
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr12329.c [new file with mode: 0644]