gcc/include
Jason Merrill 7dbb85a793 Add C++ attribute abi_tag and -Wabi-tag option.
gcc/
	* attribs.c (lookup_attribute_spec): Handle getting a TREE_LIST.
gcc/c-family/
	* c.opt (Wabi-tag): New.
gcc/cp/
	* tree.c (cxx_attribute_table): Add abi_tag attribute.
	(check_abi_tag_redeclaration, handle_abi_tag_attribute): New.
	* class.c (find_abi_tags_r, check_abi_tags): New.
	(check_bases, check_field_decl): Call check_abi_tags.
	* decl.c (redeclaration_error_message): Call
	check_abi_tag_redeclaration.
	* mangle.c (tree_string_cmp, write_abi_tags): New.
	(write_unqualified_name): Call write_abi_tags.
include/
	* demangle.h (enum demangle_component_type): Add
	DEMANGLE_COMPONENT_TAGGED_NAME.
libiberty/
	* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
	(d_make_comp, d_find_pack, d_print_comp): Likewise.
	(d_abi_tags): New.
	(d_name): Call it.

From-SVN: r193367
2012-11-09 11:14:37 -05:00
..
COPYING
COPYING3
ChangeLog Add C++ attribute abi_tag and -Wabi-tag option. 2012-11-09 11:14:37 -05:00
ChangeLog-9103 Convert ChangeLog files to UTF-8. 2008-09-05 13:07:45 +02:00
ansidecl.h obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-21 21:35:29 -04:00
demangle.h Add C++ attribute abi_tag and -Wabi-tag option. 2012-11-09 11:14:37 -05:00
dwarf2.def dwarf2.def: Edit comment. 2012-09-06 16:32:59 -07:00
dwarf2.h common.opt (gno-split-dwarf, [...]): New switches. 2012-11-06 23:15:25 +00:00
dyn-string.h ansidecl.h: Add extern "C" when compiling with C++. 2009-06-01 05:47:20 +00:00
fibheap.h ansidecl.h: Add extern "C" when compiling with C++. 2009-06-01 05:47:20 +00:00
filenames.h filenames.h: #include "hashtab.h". 2012-07-13 22:12:28 +00:00
floatformat.h Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
fnmatch.h
getopt.h
hashtab.h utils.c (init_gnat_to_gnu): Use typed GC allocation. 2010-06-08 07:25:24 +00:00
leb128.h leb128.h: #include stdint.h, inttypes.h. 2012-05-23 23:42:25 +00:00
libiberty.h libiberty.h (countargv): Declare. 2011-09-28 19:04:30 +00:00
lto-symtab.h Merge lto branch into trunk. 2009-10-03 17:10:11 -04:00
md5.h Fix this patch: 2008-03-25 00:19:55 +00:00
objalloc.h PR other/54411: integer overflow in objalloc_alloc 2012-09-18 10:34:05 +02:00
obstack.h obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-21 21:35:29 -04:00
partition.h
plugin-api.h Sync plugin-api.h with gold patch : http://sourceware.org/ml/binutils/2012-08/msg00447.html 2012-08-24 19:07:28 +00:00
safe-ctype.h safe-ctype.h: Add #include of ctype.h before redefining the ctype.h macros. 2008-07-07 17:08:21 +00:00
sha1.h Update copyright notice to use GPLv3. 2010-04-20 08:36:39 +00:00
simple-object.h simple-object.h (simple_object_attributes_merge): Declare, replacing simple_object_attributes_compare. 2010-11-17 01:03:06 +00:00
sort.h
splay-tree.h gengtype.c (main): Make uintptr_t a known type. 2012-04-10 08:32:23 +00:00
symcat.h * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define. 2010-03-23 15:58:01 +00:00
timeval-utils.h timeval-utils.h: New file. 2011-09-28 19:09:50 +00:00
xregex.h system.h [...]: Wrap C function declarations in extern "C". 2011-07-25 14:24:59 +00:00
xregex2.h
xtensa-config.h Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00