aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2021-10-09 04:17:07 -0500
committerKewen Lin <linkw@linux.ibm.com>2021-10-09 04:17:07 -0500
commit2b3014326fb883a96601a4dde295858d715289a7 (patch)
tree96f78e72243bc769f03afaaead30aacb1a57aa2a /gcc/builtins.c
parentb4e81f6dd48732ace73eebf1d2f46ca1d2533b79 (diff)
downloadgcc-2b3014326fb883a96601a4dde295858d715289a7.zip
gcc-2b3014326fb883a96601a4dde295858d715289a7.tar.gz
gcc-2b3014326fb883a96601a4dde295858d715289a7.tar.bz2
testsuite: Add missing comment for some dg-warning
This fixes the typos introduced by commit r12-4240. The dg-warning format looks like: { dg-warning regexp [comment [{ target/xfail selector } [line] ]] } Some dg-warnings such as: { dg-warning "\\\[-Wstringop-overflow" { target { i?86-*-* x86_64-*-* } } } miss the comment field, it makes target selector not take effect. For targets which are not { i?86-*-* x86_64-*-* }, this kind of cases fail or pass unexpectedly. gcc/testsuite/ChangeLog: * c-c++-common/Wstringop-overflow-2.c: Add missing comment. * gcc.dg/Warray-bounds-51.c: Likewise. * gcc.dg/Warray-parameter-3.c: Likewise. * gcc.dg/Wstringop-overflow-14.c: Likewise. * gcc.dg/Wstringop-overflow-21.c: Likewise. * gcc.dg/Wstringop-overflow-76.c: Likewise.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions