configure.ac (ACX_PROG_CXX_WARNING_OPTS): Revert r273311.

gcc/ChangeLog:
	* configure.ac (ACX_PROG_CXX_WARNING_OPTS): Revert r273311.

From-SVN: r273742
This commit is contained in:
Martin Sebor 2019-07-23 17:03:13 +00:00 committed by Martin Sebor
parent d894bafc5b
commit 9bf4008473
2 changed files with 9 additions and 4 deletions

View 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.
@ -1364,9 +1368,11 @@
(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.

View 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(