diff options
author | Marek Polacek <polacek@redhat.com> | 2017-03-03 09:58:10 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-03-03 09:58:10 +0000 |
commit | 7278b0a266909c8558e83a4fa91fd0588e92fa1c (patch) | |
tree | 62c4a90250b01b8e44129773e8e4494d655f637f /gcc/tree-ssa-loop-prefetch.c | |
parent | 5719c938be12a48749833d6fa29c7a9a7724f37e (diff) | |
download | gcc-7278b0a266909c8558e83a4fa91fd0588e92fa1c.zip gcc-7278b0a266909c8558e83a4fa91fd0588e92fa1c.tar.gz gcc-7278b0a266909c8558e83a4fa91fd0588e92fa1c.tar.bz2 |
re PR c++/79791 (-Werror=write-strings ignored with -Wpedantic)
PR c++/79791
* typeck.c (string_conv_p): In C++11, always call pedwarn with
OPT_Wwrite_strings.
* g++.dg/warn/Wwrite-strings-1.C: New test.
* g++.dg/warn/Wwrite-strings-2.C: New test.
* g++.dg/warn/Wwrite-strings-3.C: New test.
* g++.dg/warn/Wwrite-strings-4.C: New test.
* g++.dg/warn/Wwrite-strings-5.C: New test.
* g++.dg/warn/Wwrite-strings-6.C: New test.
* g++.dg/warn/Wwrite-strings-7.C: New test.
* g++.dg/warn/Wwrite-strings-8.C: New test.
* g++.dg/warn/Wwrite-strings-9.C: New test.
* g++.dg/warn/Wwrite-strings-10.C: New test.
* g++.dg/warn/Wwrite-strings-11.C: New test.
* g++.dg/warn/Wwrite-strings-12.C: New test.
From-SVN: r245864
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions