diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2020-11-15 14:56:47 -0500 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2020-11-15 15:04:32 -0500 |
commit | 9243f0fba68339fa6d8bcac35b0df6e88c1ad099 (patch) | |
tree | 44d01f34c01d6d0fc3cd2a22df663ef4fd760ca7 /gcc | |
parent | 6403e02510fe84c72c515247a9dfdb6e05d977fe (diff) | |
download | gcc-9243f0fba68339fa6d8bcac35b0df6e88c1ad099.zip gcc-9243f0fba68339fa6d8bcac35b0df6e88c1ad099.tar.gz gcc-9243f0fba68339fa6d8bcac35b0df6e88c1ad099.tar.bz2 |
testsuite: fix ipa/modref-2.c on ilp32
ipa/modref-2.c output for Parm 1 depends on the word size. This patch
updates the testcase to expect the appropriate result for ilp32 and lp64.
gcc/testsuite/ChangeLog:
* gcc.dg/ipa/modref-2.c: Add ilp32 expected result.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/modref-2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/ipa/modref-2.c b/gcc/testsuite/gcc.dg/ipa/modref-2.c index 5ac2c65..51ac658 100644 --- a/gcc/testsuite/gcc.dg/ipa/modref-2.c +++ b/gcc/testsuite/gcc.dg/ipa/modref-2.c @@ -11,5 +11,6 @@ test2 (double x, double *y) __builtin_modf (x,y); } /* 321*8 */ -/* { dg-final { scan-ipa-dump "Parm 0 param offset:0 offset:0 size:-1 max_size:2568" "modref" } } */ -/* { dg-final { scan-ipa-dump "Parm 1 param offset:0 offset:0 size:-1 max_size:64" "modref" } } */ +/* { dg-final { scan-ipa-dump "Parm 0 param offset:0 offset:0 size:-1 max_size:2568" "modref" } } */ +/* { dg-final { scan-ipa-dump "Parm 1 param offset:0 offset:0 size:-1 max_size:64" "modref" { target lp64 } } } */ +/* { dg-final { scan-ipa-dump "Parm 1 param offset:0 offset:0 size:-1 max_size:32" "modref" { target ilp32 } } } */ |