gcc/libstdc++-v3
Jason Merrill 7cb7357360 re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types)
PR c++/65046
	Automatically propagate ABI tags to variables and functions
	from their (return) type.
	* class.c (check_tag): Handle variables and functions.
	(mark_or_check_attr_tags): Split out from find_abi_tags_r.
	(mark_or_check_tags): Likewise.
	(mark_abi_tags): Use it.  Rename from mark_type_abi_tags.
	(check_abi_tags): Add single argument overload for decls.
	Handle inheriting tags for decls.
	* mangle.c (write_mangled_name): Call it.
	(mangle_return_type_p): Split out from write_encoding.
	(unmangled_name_p): Split out from write_mangled_name.
	(write_mangled_name): Ignore abi_tag on namespace.
	* cp-tree.h (NAMESPACE_IS_INLINE): Replace NAMESPACE_ABI_TAG.
	* parser.c (cp_parser_namespace_definition): Set it.
	* name-lookup.c (handle_namespace_attrs): Use arguments. Warn
	about abi_tag attribute on non-inline namespace.
	* tree.c (check_abi_tag_args): Split out from handle_abi_tag_attribute.
	(handle_abi_tag_attribute): Allow tags on variables.

From-SVN: r221521
2015-03-19 15:31:48 -04:00
..
config re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types) 2015-03-19 15:31:48 -04:00
doc status_cxx2011.xml: Remove duplicated information. 2015-02-22 13:20:32 +00:00
include re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types) 2015-03-19 15:31:48 -04:00
libsupc++ nested_exception.h: Do not try to derive from final classes. 2015-03-17 14:24:55 +00:00
po Update copyright years. 2015-01-05 13:33:28 +01:00
python re PR libstdc++/65246 (libstdc++ pretty printers don't work anymore with Python3) 2015-02-28 09:22:43 +00:00
scripts Update copyright years. 2015-01-05 13:33:28 +01:00
src re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types) 2015-03-19 15:31:48 -04:00
testsuite 1.cc: Remove name of unused exception variable. 2015-03-17 16:36:32 +00:00
acinclude.m4 acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t. 2015-03-18 10:53:38 +00:00
aclocal.m4 acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL. 2012-09-28 19:48:27 +00:00
ChangeLog re PR c++/65046 (-Wabi-tag doesn't warn about variables or function return types) 2015-03-19 15:31:48 -04:00
ChangeLog-1998 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-1999 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2000 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2001 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2002 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2003 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2004 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2005 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2006 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2007 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2008 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2009 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2010 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2011 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2013 * ChangeLog-2013: Correct an old entry. 2014-05-26 23:49:19 +02:00
ChangeLog-2014 Rotate libstdc++-v3/ChangeLog 2015-01-02 16:50:36 +00:00
config.h.in acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t. 2015-03-18 10:53:38 +00:00
configure acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t. 2015-03-18 10:53:38 +00:00
configure.ac New std::string implementation. 2014-12-19 18:16:39 +00:00
configure.host configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
crossconfig.m4 Remove obsolete Solaris 9 support 2014-04-22 12:30:59 +00:00
fragment.am Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05:00
Makefile.am Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.in New std::string implementation. 2014-12-19 18:16:39 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.