diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-07-22 23:09:24 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-07-22 23:09:24 -0300 |
commit | ad65caa332bc7600caff6b9b5b29175b40d91e67 (patch) | |
tree | 6e0bbb12b51508e62e9ef4db3226d764aafb911f | |
parent | 7c5a9bf1d206fe20cb050200d4a30f11c76b1b19 (diff) | |
download | gcc-ad65caa332bc7600caff6b9b5b29175b40d91e67.zip gcc-ad65caa332bc7600caff6b9b5b29175b40d91e67.tar.gz gcc-ad65caa332bc7600caff6b9b5b29175b40d91e67.tar.bz2 |
[powerpc] [testsuite] reorder dg directives [PR106069]
The dg-do directive appears after dg-require-effective-target in
g++.target/powerpc/pr106069.C. That doesn't work the way that was
presumably intended. Both of these directives set dg-do-what, but
dg-do does so fully and unconditionally, overriding any decisions
recorded there by earlier directives. Reorder the directives more
canonically, so that both take effect.
for gcc/testsuite/ChangeLog
PR target/106069
* g++.target/powerpc/pr106069.C: Reorder dg directives.
-rw-r--r-- | gcc/testsuite/g++.target/powerpc/pr106069.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.target/powerpc/pr106069.C b/gcc/testsuite/g++.target/powerpc/pr106069.C index 537207d..826379a 100644 --- a/gcc/testsuite/g++.target/powerpc/pr106069.C +++ b/gcc/testsuite/g++.target/powerpc/pr106069.C @@ -1,6 +1,6 @@ +/* { dg-do run } */ /* { dg-options "-O -fno-tree-forwprop -maltivec" } */ /* { dg-require-effective-target vmx_hw } */ -/* { dg-do run } */ typedef __attribute__ ((altivec (vector__))) unsigned native_simd_type; |