diff mbox series

Trivial testsuite fix for 16bit targets

Message ID cbb3295e-42a4-c3e1-707f-f4898eff9520@redhat.com
State New
Headers show
Series Trivial testsuite fix for 16bit targets | expand

Commit Message

Jeff Law Oct. 20, 2020, 11:31 p.m. UTC
cr16-elf regressed this test:


cr16-sim: gcc.dg/Wbuiltin-declaration-mismatch-9.c (test for excess errors)



There's a dg-prune in the test which stripped out some messages, but it
wasn't sufficient to cover the 16 bit targets.  This patch adds another
string to prune.  Committed.


Jeff
gcc/testsuite
	* gcc.dg/Wbuiltin-declaration-mismatch-9.c: Improve pruning of
	invalid scanf call messages.
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-9.c b/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-9.c
index 56a827ab527..82db8fe33d1 100644
--- a/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-9.c
+++ b/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-9.c
@@ -12,4 +12,5 @@  void a (void)
 }
 
 /* The invalid scanf call may also trigger:
-   { dg-prune-output "accessing 4 bytes in a region of size 1" } */
+   { dg-prune-output "accessing 4 bytes in a region of size 1" }
+   { dg-prune-output "accessing 2 bytes in a region of size 1" } */