diff options
author | Sam James <sam@gentoo.org> | 2024-10-31 01:37:47 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-31 01:41:05 +0000 |
commit | 2dcb174385fd366282bf34bf95adbf918d5befda (patch) | |
tree | 6710dbd69ddeeba87c10f6098e1a2636c713b0ca /gcc/expr.cc | |
parent | b60031e8f9f8fe89ec0cb600d0e3dc5b799c825f (diff) | |
download | gcc-2dcb174385fd366282bf34bf95adbf918d5befda.zip gcc-2dcb174385fd366282bf34bf95adbf918d5befda.tar.gz gcc-2dcb174385fd366282bf34bf95adbf918d5befda.tar.bz2 |
testsuite: fix syntax in Wstringop-overflow-59.c
Fix quoting issues, escaping, and dg directive types.
There were two issues here:
1) The incorrect quoting in an earlier dg-message was covering up that the
syntax in the next part was wrong;
2) Fix dg-warning -> dg-message to correctly pick up the notes. Once 1) was
fixed, this was exposed.
With this, I get:
```
+PASS: gcc.dg/Wstringop-overflow-59.c note (test for warnings, line 192)
+PASS: gcc.dg/Wstringop-overflow-59.c note (test for warnings, line 193)
```
gcc/testsuite/ChangeLog:
PR middle-end/92936
* gcc.dg/Wstringop-overflow-59.c: Fix dg-* syntax.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions