From 9243f0fba68339fa6d8bcac35b0df6e88c1ad099 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 15 Nov 2020 14:56:47 -0500 Subject: [PATCH] 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. --- gcc/testsuite/gcc.dg/ipa/modref-2.c | 5 +++-- 1 file 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 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 } } } */ -- 2.11.4.GIT