diff options
author | Jeff Law <law@redhat.com> | 2020-10-20 17:28:34 -0600 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-10-20 17:29:32 -0600 |
commit | deb1365e5cbb9c76b721a41ba53d8e63dc8de9f0 (patch) | |
tree | 637378e20732d79c04264729c9bef7fa968793a0 /gcc | |
parent | 292c92715b282f7c6617c94351d3e38ec027d637 (diff) | |
download | gcc-deb1365e5cbb9c76b721a41ba53d8e63dc8de9f0.zip gcc-deb1365e5cbb9c76b721a41ba53d8e63dc8de9f0.tar.gz gcc-deb1365e5cbb9c76b721a41ba53d8e63dc8de9f0.tar.bz2 |
Handle 16 bit targets in diagnostic pruning
gcc/testsuite
* gcc.dg/Wbuiltin-declaration-mismatch-9.c: Improve pruning of
invalid scanf call messages.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-9.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-9.c b/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-9.c index 56a827a..82db8fe 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" } */ |