diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-31 22:35:01 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-31 22:35:01 +0000 |
commit | 0313ba85b057b73281bf6afbb480a9d113cdff50 (patch) | |
tree | 7e3e5839360050a8bc148bad78f055062095f165 /gcc/testsuite/gcc.dg/pr31507-2.c | |
parent | 36fb56854445bf8cb665c92ab45c671062681360 (diff) | |
download | gcc-0313ba85b057b73281bf6afbb480a9d113cdff50.tar.gz |
PR target/31507
* config/i386/i386.md (pushsf_rex64): Use X instead of < constraints
for the first push_operand.
* gcc.dg/pr31507-1.c: New test.
* gcc.dg/pr31507-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129807 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr31507-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr31507-2.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr31507-2.c b/gcc/testsuite/gcc.dg/pr31507-2.c new file mode 100644 index 00000000000..ee2388b7e2f --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr31507-2.c @@ -0,0 +1,14 @@ +/* PR target/31507 */ +/* { dg-do compile } */ +/* { dg-options "-Os -fno-omit-frame-pointer" } */ + +typedef int (*closure_test_type3)(float, float, float, float, float, float, + float, float, double, int, float, float, int, + float, float, int); +int f (closure_test_type3 pcl) +{ + int res; + res = (pcl) + (1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9, 10, 11.11, 12.0, 13, + 19.19, 21.21, 1); +} |