From: Jeff Law Date: Sat, 5 Feb 2022 17:17:56 +0000 (-0500) Subject: Fix expected output for s390 tests X-Git-Tag: basepoints/gcc-13~1240 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f49b8d25b1ff96e9cd09326666cc510b3a3accde;p=thirdparty%2Fgcc.git Fix expected output for s390 tests Recent changes in diagnostic outputs have been triggering failures on the s390 testsuite. In particular, capitalization changed in one diagnostic and the range representation changed in another. This patch makes the obvious updates to the s390 testsuite. gcc/testsuite * gcc.target/s390/20150826-1.c: Update expected output. * gcc.target/s390/zvector/imm-range-error-1.c: Likewise. --- diff --git a/gcc/testsuite/gcc.target/s390/20150826-1.c b/gcc/testsuite/gcc.target/s390/20150826-1.c index 1567ced42e1d..67a285ff3675 100644 --- a/gcc/testsuite/gcc.target/s390/20150826-1.c +++ b/gcc/testsuite/gcc.target/s390/20150826-1.c @@ -9,4 +9,4 @@ int foo(void) { char b[100]; return bar(b); -} /* { dg-warning "An unconditional trap is added" } */ +} /* { dg-warning "an unconditional trap is added" } */ diff --git a/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c b/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c index 021c8d297d2d..a627b5408dce 100644 --- a/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c +++ b/gcc/testsuite/gcc.target/s390/zvector/imm-range-error-1.c @@ -17,10 +17,10 @@ main () triggered from s390_expand_builtin. Otherwise they would come from the parser already preventing other errors from showing up. */ - __builtin_s390_vrepb (q, 17); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepb' is out of range \\(0..15\\)" } */ - __builtin_s390_vreph (h, 8); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vreph' is out of range \\(0..7\\)" } */ - __builtin_s390_vrepf (s, 4); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepf' is out of range \\(0..3\\)" } */ - __builtin_s390_vrepg (d, 2); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepg' is out of range \\(0..1\\)" } */ + __builtin_s390_vrepb (q, 17); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepb' is out of range \\(0-15\\)" } */ + __builtin_s390_vreph (h, 8); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vreph' is out of range \\(0-7\\)" } */ + __builtin_s390_vrepf (s, 4); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepf' is out of range \\(0-3\\)" } */ + __builtin_s390_vrepg (d, 2); /* { dg-error "constant argument 2 for builtin '__builtin_s390_vrepg' is out of range \\(0-1\\)" } */ - __builtin_s390_vpdi (d, d, 4); /* { dg-error "constant argument 3 for builtin '__builtin_s390_vpdi' is out of range \\(0..3\\)" } */ + __builtin_s390_vpdi (d, d, 4); /* { dg-error "constant argument 3 for builtin '__builtin_s390_vpdi' is out of range \\(0-3\\)" } */ }