OSDN Git Service

PR target/39496
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Mar 2009 10:25:43 +0000 (10:25 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Mar 2009 10:25:43 +0000 (10:25 +0000)
commit99198adddff91b8080de755c207e20904cfd3594
treea5b73d6503686d01c52cb3b15d4e6c90a0c47c9f
parent63ca89342ed00ad8d92a6dce5908285dc92c7d9f
PR target/39496
* config/i386/i386.c (ix86_function_regparm): Don't optimize local
functions using regparm calling conventions when not optimizing.
(ix86_function_sseregparm): Similarly for sseregparm calling
conventions.

* gcc.target/i386/pr39496.c: New test.
* g++.dg/other/pr39496.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144955 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr39496.C [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr39496.c [new file with mode: 0644]