configure.ac (ACX_PROG_CXX_WARNING_OPTS): Revert r273311.
authorMartin Sebor <msebor@redhat.com>
Tue, 23 Jul 2019 17:03:13 +0000 (17:03 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 23 Jul 2019 17:03:13 +0000 (11:03 -0600)
gcc/ChangeLog:
* configure.ac (ACX_PROG_CXX_WARNING_OPTS): Revert r273311.

From-SVN: r273742

gcc/ChangeLog
gcc/configure.ac

index 87c56e77e0e12cd5b08d4f97fa26c678db342743..d405921425f637569e86d77fa220bcc82f3345e2 100644 (file)
@@ -1,3 +1,7 @@
+2019-07-23  Martin Sebor  <msebor@redhat.com>
+
+       * configure.ac (ACX_PROG_CXX_WARNING_OPTS): Revert r273311.
+
 2019-07-23  Vladislav Ivanishin <vlad@ispras.ru>
 
        * gdbinit.in (reload-gdbhooks): New command with an attached doc string.
        (ix86_noce_conversion_profitable_p): Same.
        (ix86_init_cost): Same.
        (ix86_simd_clone_usable): Same.
-       * configure.ac: Same.
+       * configure.ac (ACX_PROG_CXX_WARNING_OPTS): Add -Wclass-is-pod and
+       Wstruct-not-pod.
        * coretypes.h: Same.
-       * data-streamer-in.c (string_for_index): Same.
+       * data-streamer-in.c (string_for_index): Change class-key of PODs
+       to struct and others to class.
        (streamer_read_indexed_string): Same.
        (streamer_read_string): Same.
        (bp_unpack_indexed_string): Same.
index c620dd2f44755dac2466952e23568b2b46ba9c96..137d5b469c34af0de68c3cf99bd315df95c85235 100644 (file)
@@ -482,8 +482,7 @@ AC_ARG_ENABLE(build-format-warnings,
 AS_IF([test $enable_build_format_warnings = no],
       [wf_opt=-Wno-format],[wf_opt=])
 ACX_PROG_CXX_WARNING_OPTS(
-       m4_quote(m4_do([-W -Wall -Wclass-is-pod -Wmismatched-tags ],
-                      [-Wno-narrowing -Wstruct-not-pod -Wwrite-strings ],
+       m4_quote(m4_do([-W -Wall -Wno-narrowing -Wwrite-strings ],
                       [-Wcast-qual -Wno-error=format-diag $wf_opt])),
                       [loose_warn])
 ACX_PROG_CC_WARNING_OPTS(