Handle 16 bit targets in diagnostic pruning

gcc/testsuite
	* gcc.dg/Wbuiltin-declaration-mismatch-9.c: Improve pruning of
	invalid scanf call messages.
This commit is contained in:
Jeff Law 2020-10-20 17:28:34 -06:00
parent 292c92715b
commit deb1365e5c

View file

@ -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" } */