From: Eric Botcazou Date: Thu, 31 May 2018 11:20:34 +0000 (+0000) Subject: store_merging_10.c: Turn dg-do compile into dg-do run. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78668dd094708c0a3d8c7c6eadc9ef5b44360cc4;p=gcc.git store_merging_10.c: Turn dg-do compile into dg-do run. * gcc.dg/store_merging_10.c: Turn dg-do compile into dg-do run. * gcc.dg/store_merging_11.c: Likewise. * gcc.dg/store_merging_13.c: Likewise. * gcc.dg/store_merging_14.c: Likewise. * gcc.dg/store_merging_15.c: Likewise. * gcc.dg/store_merging_16.c: Likewise. Remove local variable. From-SVN: r261019 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a1921f1df1f..297141ff8d2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2018-05-31 Eric Botcazou + + * gcc.dg/store_merging_10.c: Turn dg-do compile into dg-do run. + * gcc.dg/store_merging_11.c: Likewise. + * gcc.dg/store_merging_13.c: Likewise. + * gcc.dg/store_merging_14.c: Likewise. + * gcc.dg/store_merging_15.c: Likewise. + * gcc.dg/store_merging_16.c: Likewise. Remove local variable. + 2018-05-31 Ed Schonberg * gnat.dg/limited1.adb, gnat.dg/limited1_inner.adb, diff --git a/gcc/testsuite/gcc.dg/store_merging_10.c b/gcc/testsuite/gcc.dg/store_merging_10.c index 440f6e1f6c3..53a6a74c56f 100644 --- a/gcc/testsuite/gcc.dg/store_merging_10.c +++ b/gcc/testsuite/gcc.dg/store_merging_10.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do run } */ /* { dg-require-effective-target store_merge } */ /* { dg-options "-O2 -fdump-tree-store-merging" } */ diff --git a/gcc/testsuite/gcc.dg/store_merging_11.c b/gcc/testsuite/gcc.dg/store_merging_11.c index 399538e522e..2ec2394afb9 100644 --- a/gcc/testsuite/gcc.dg/store_merging_11.c +++ b/gcc/testsuite/gcc.dg/store_merging_11.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do run } */ /* { dg-require-effective-target store_merge } */ /* { dg-options "-O2 -fdump-tree-store-merging" } */ diff --git a/gcc/testsuite/gcc.dg/store_merging_13.c b/gcc/testsuite/gcc.dg/store_merging_13.c index 6ee0a9c2c80..a053f210622 100644 --- a/gcc/testsuite/gcc.dg/store_merging_13.c +++ b/gcc/testsuite/gcc.dg/store_merging_13.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do run } */ /* { dg-require-effective-target store_merge } */ /* { dg-options "-O2 -fdump-tree-store-merging" } */ diff --git a/gcc/testsuite/gcc.dg/store_merging_14.c b/gcc/testsuite/gcc.dg/store_merging_14.c index 3885acb10a2..9310aaf3489 100644 --- a/gcc/testsuite/gcc.dg/store_merging_14.c +++ b/gcc/testsuite/gcc.dg/store_merging_14.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do run } */ /* { dg-require-effective-target store_merge } */ /* { dg-options "-O2 -fdump-tree-store-merging" } */ diff --git a/gcc/testsuite/gcc.dg/store_merging_15.c b/gcc/testsuite/gcc.dg/store_merging_15.c index 57075ebea28..acd7de571f8 100644 --- a/gcc/testsuite/gcc.dg/store_merging_15.c +++ b/gcc/testsuite/gcc.dg/store_merging_15.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do run } */ /* { dg-require-effective-target store_merge } */ /* { dg-options "-O2 -fdump-tree-store-merging" } */ diff --git a/gcc/testsuite/gcc.dg/store_merging_16.c b/gcc/testsuite/gcc.dg/store_merging_16.c index e2101bc78b8..9545dcce3de 100644 --- a/gcc/testsuite/gcc.dg/store_merging_16.c +++ b/gcc/testsuite/gcc.dg/store_merging_16.c @@ -1,6 +1,6 @@ /* Only test on some 64-bit targets which do have bswap{si,di}2 patterns and are either big or little endian (not pdp endian). */ -/* { dg-do compile { target { lp64 && { i?86-*-* x86_64-*-* powerpc*-*-* aarch64*-*-* } } } } */ +/* { dg-do run { target { lp64 && { i?86-*-* x86_64-*-* powerpc*-*-* aarch64*-*-* } } } } */ /* { dg-require-effective-target store_merge } */ /* { dg-options "-O2 -fdump-tree-store-merging" } */ @@ -114,7 +114,7 @@ main () { unsigned char a[8]; int i; - struct S b, c, d; + struct S c, d; f1 (a, 0x0102030405060708ULL); for (i = 0; i < 8; ++i) if (a[i] != 8 - i)