re PR c++/8586 (-Wwrite-strings should be included in -Wall)
commit7f420d0d6459fdef0017363d95837cdaee9384fa
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Mon, 20 Nov 2006 01:03:49 +0000 (20 01:03 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 20 Nov 2006 01:03:49 +0000 (20 01:03 +0000)
tree6684737f9050acf56dc8122efce5e084fa2b8824
parente5dfa5b1bec2b9188d049b855077267bfa52b365
re PR c++/8586 (-Wwrite-strings should be included in -Wall)

2006-11-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        PR c++/8586
        * c-opts.c (c_common_handle_option): Enable -Wwrite-strings if
        -Wall.

testsuite/
2006-11-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        PR c++/8586
        * g++.dg/warn/Wall-write-strings.C: New.

From-SVN: r119009
gcc/ChangeLog
gcc/c-opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wall-write-strings.C [new file with mode: 0644]