From: David Edelsohn Date: Sun, 15 Nov 2020 19:56:47 +0000 (-0500) Subject: testsuite: fix ipa/modref-2.c on ilp32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9243f0fba68339fa6d8bcac35b0df6e88c1ad099;p=gcc.git 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. --- diff --git a/gcc/testsuite/gcc.dg/ipa/modref-2.c b/gcc/testsuite/gcc.dg/ipa/modref-2.c index 5ac2c65aff4..51ac658ef39 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 } } } */