gcc/gcc/c-family
Paolo Carlini 273aa49e2f re PR c++/53184 (Unnecessary anonymous namespace warnings)
2015-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53184
	* doc/invoke.texi ([Wsubobject-linkage]): Document.

/c-family
2015-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53184
	* c.opt ([Wsubobject-linkage]): Add.

/cp
2015-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53184
	* decl2.c (constrain_class_visibility): Use Wsubobject-linkage.

/testsuite
2015-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53184
	* g++.dg/warn/Wsubobject-linkage-1.C: New.
	* g++.dg/warn/Wsubobject-linkage-2.C: Likewise.
	* g++.dg/warn/Wsubobject-linkage-3.C: Likewise.
	* g++.dg/warn/Wsubobject-linkage-4.C: Likewise.

From-SVN: r227593
2015-09-09 16:48:13 +00:00
..
array-notation-common.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
c-ada-spec.c c-ada-spec.h (cpp_operation): Revert latest change. 2015-07-10 19:19:39 +00:00
c-ada-spec.h remove more useless typedefs 2015-08-19 02:48:48 +00:00
c-cilkplus.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
c-common.c re PR c/66516 (missing diagnostic on taking the address of a builtin function) 2015-09-03 10:23:11 -06:00
c-common.def
c-common.h re PR c/66516 (missing diagnostic on taking the address of a builtin function) 2015-09-03 10:23:11 -06:00
c-cppbuiltin.c re PR c++/67160 (static_assert feature test macro) 2015-08-18 14:38:51 +00:00
c-dump.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
c-format.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
c-format.h remove more useless typedefs 2015-08-19 02:48:48 +00:00
c-gimplify.c Fix spawned function with lambda function 2015-09-02 16:59:21 -07:00
c-indentation.c Improve -Wmisleading-indentation heuristics 2015-08-02 17:39:23 +00:00
c-indentation.h Refactor entry point to -Wmisleading-indentation 2015-08-02 17:31:55 +00:00
c-lex.c Fix column location in c_lex_with_flags errors 2015-08-22 12:44:51 +00:00
c-objc.h remove more useless typedefs 2015-08-19 02:48:48 +00:00
c-omp.c c-omp.c (c_omp_declare_simd_clauses_to_numbers): If all clauses are to be removed, return NULL rather than original clauses list. 2015-07-08 22:29:26 +02:00
c-opts.c Add C++ Concepts TS support. 2015-08-07 01:44:49 -04:00
c-pch.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
c-ppoutput.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
c-pragma.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
c-pragma.h remove more useless typedefs 2015-08-19 02:48:48 +00:00
c-pretty-print.c c-pretty-print.c (pp_c_cv_qualifiers): Remove code dealing with whitespaces before qualifier names. 2015-08-17 14:18:04 +00:00
c-pretty-print.h
c-semantics.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
c-target-def.h
c-target.def
c-target.h
c-ubsan.c c-ubsan.c (ubsan_instrument_division): Use unshare_expr throughout. 2015-07-23 17:14:31 +00:00
c-ubsan.h
c.opt re PR c++/53184 (Unnecessary anonymous namespace warnings) 2015-09-09 16:48:13 +00:00
ChangeLog re PR c++/53184 (Unnecessary anonymous namespace warnings) 2015-09-09 16:48:13 +00:00
ChangeLog.gimple-classes
cilk.c Fix spawned function with lambda function 2015-09-02 16:59:21 -07:00
cppspec.c
stub-objc.c flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00