]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/103515 - adjust gcc.target/powerpc/pr103515.c
authorRichard Biener <rguenther@suse.de>
Mon, 16 Feb 2026 09:20:52 +0000 (10:20 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 16 Feb 2026 10:34:53 +0000 (11:34 +0100)
The following marks the loop in foo1 as to not be vectorized to
restore old -O2 behavior and restore what the testcase was supposed
to verify.

PR testsuite/103515
* gcc.target/powerpc/pr103515.c: Mark the loop in foo1
with #pramga GCC novector.

gcc/testsuite/gcc.target/powerpc/pr103515.c

index 698b9a930370ace13f0eb3cb2c073b90be03417e..20cf9ebd6eac20ddd80f05eb37ee01383ed19773 100644 (file)
@@ -13,6 +13,7 @@ void
 foo1 ()
 {
   int i;
+#pragma GCC novector
   for (i = 0; i < n; i++)
     c1[i] += a1[i] + b1[i];
 }