testsuite: fix ipa/modref-2.c on ilp32
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 15 Nov 2020 19:56:47 +0000 (14:56 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 15 Nov 2020 20:04:32 +0000 (15:04 -0500)
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

index 5ac2c65aff49ee08b7506f0ba087b89f916123e3..51ac658ef397f98a87caa46bfb8f5895dee0156b 100644 (file)
@@ -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 } } } */