testsuite: AIX fixes

gcc/testsuite/ChangeLog:

	* gcc.dg/Wstringop-overflow-69.c: Add -Wno-psabi.
	* gcc.dg/loop-unswitch-6.c: Omit -fcompare-debug on AIX.
This commit is contained in:
David Edelsohn 2022-02-09 10:10:45 -05:00
parent 354349e7d5
commit f0caa45aa7
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
a larger scalar into a smaller array
Verify overflow by vector stores.
{ dg-do compile }
{ dg-options "-O2" } */
{ dg-options "-O2 -Wno-psabi" } */
#define V(N) __attribute__ ((vector_size (N)))
#define C1 (VC1){ 0 }

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -funswitch-loops -g -fcompare-debug -fdump-tree-unswitch-details" } */
/* { dg-options "-O2 -funswitch-loops -g -fdump-tree-unswitch-details" } */
/* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */
short a, d;
int b, c;