gcc/include
Mark Wielaard 5d45c9c04e PR debug/38757 continued. Handle C11, C++11 and C++14.
Add experimental (minimal) DWARFv5 support.

This change depends on the new DWARFv5 constants mentioned in the
following draft: http://dwarfstd.org/doc/dwarf5.20141029.pdf

gcc/ChangeLog

	* doc/invoke.texi (-gdwarf-@{version}): Mention experimental DWARFv5.
	* opts.c (common_handle_option): Accept -gdwarf-5.
	* dwarf2out.c (is_cxx): Add DW_LANG_C_plus_plus_11 and
	DW_LANG_C_plus_plus_14.
	(lower_bound_default): Likewise. Plus DW_LANG_C11.
	(gen_compile_unit_die): Output DW_LANG_C_plus_plus_11,
	DW_LANG_C_plus_plus_14 or DW_LANG_C11.
	(output_compilation_unit_header): Output at most a DWARFv4 header.
	(output_skeleton_debug_sections): Likewise.
	(output_line_info): Likewise.
	(output_aranges): Document header version number.

gcc/testsuite/ChangeLog

	* gcc.dg/debug/dwarf2/lang-c11.c: New test.
	* gcc.dg/debug/dwarf2/lang-c11-d4-strict.c: Likewise.
	* g++.dg/debug/dwarf2/lang-cpp11.C: Likewise.
	* g++.dg/debug/dwarf2/lang-cpp14.C: Likewise.
	* g++.dg/debug/dwarf2/lang-cpp98.C: Likewise.

include/ChangeLog

	* dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
	DW_LANG_C_plus_plus_14.

From-SVN: r218077
2014-11-26 11:05:20 +00:00
..
gdb gdb-index.h: Merge from gdb tree. 2013-10-22 18:12:28 +00:00
ansidecl.h include 2014-01-21 15:09:10 +00:00
ChangeLog PR debug/38757 continued. Handle C11, C++11 and C++14. 2014-11-26 11:05:20 +00:00
ChangeLog-9103
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
COPYING
COPYING3
demangle.h demangle.h (DMGL_DLANG): New macro. 2014-09-23 18:36:14 +00:00
dwarf2.def DWARF add DW_AT_noreturn on noreturn function subprogram. 2014-11-26 10:10:27 +00:00
dwarf2.h PR debug/38757 continued. Handle C11, C++11 and C++14. 2014-11-26 11:05:20 +00:00
dyn-string.h
fibheap.h
filenames.h re PR driver/36312 (should refuse to overwrite input file with output file) 2014-11-11 23:33:25 +00:00
floatformat.h floatformat.h (floatformat_ibm_long_double): Delete. 2013-08-20 15:01:41 +09:30
fnmatch.h
gcc-c-fe.def Let GDB reuse GCC's parser. 2014-10-27 17:21:42 +00:00
gcc-c-interface.h Let GDB reuse GCC's parser. 2014-10-27 17:21:42 +00:00
gcc-interface.h Let GDB reuse GCC's parser. 2014-10-27 17:21:42 +00:00
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 Add strtoll and strtoull to libiberty. 2014-10-28 09:43:20 +00:00
longlong.h longlong.h: Disable alpha umul_ppmm for old g++ 2014-10-28 13:22:40 -07:00
lto-symtab.h
md5.h re PR other/54620 (sha1.c has incorrect math if sizeof(size_t) is 8) 2013-01-30 17:50:49 +01: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 the copy in binutils. Please see: 2013-02-11 19:42:25 +00:00
safe-ctype.h
sha1.h re PR other/54620 (sha1.c has incorrect math if sizeof(size_t) is 8) 2013-01-30 17:50:49 +01: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
vtv-change-permission.h Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
xregex2.h
xregex.h system.h [...]: Wrap C function declarations in extern "C". 2011-07-25 14:24:59 +00:00
xtensa-config.h Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00