re PR rtl-optimization/34312 (spill failure with -O2 -fPIC -march=pentium-m on i386)
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 5 Dec 2007 16:01:22 +0000 (17:01 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 5 Dec 2007 16:01:22 +0000 (17:01 +0100)
commite37ab97325aa1b4d5d3799d3bdf05fa157e8fa68
tree8e7050f0086c5ec71f9a1c917509990e4bad3042
parente8f34bc9852f7c71a3a7b723404752b7b4503509
re PR rtl-optimization/34312 (spill failure with -O2 -fPIC -march=pentium-m on i386)

        PR target/34312
        * config/i386/i386.c (ix86_function_regparm): Also check for fixed
        registers when checking that regparm registers are available.
        Lower regparm value due to fixed registers usage in addition to
        global regs usage.

testsuite/ChangeLog:

        PR target/34312
        * gcc.target/i386/pr34312.c: New test.

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