gcc/libstdc++-v3
Jason Merrill 0138d6b24f N3639 C++1y VLA support
gcc/
	* gimplify.c (gimplify_vla_decl): Don't touch an existing
	DECL_VALUE_EXPR.
gcc/cp/
	* decl.c (compute_array_index_type): Allow VLAs in C++1y mode.
	(check_array_initializer): Allow VLA init.
	(reshape_init_array_1): Adjust.
	(cp_finish_decl): Check for invalid VLA length.
	* typeck2.c (process_init_constructor_array): Adjust.
	(store_init_value): Use build_vec_init for VLAs.
	* semantics.c (add_capture): Capture VLA as ptr+len.
	(vla_capture_type): New.
	(build_capture_proxy): Rebuild the VLA.
	* typeck.c (build_simple_component_ref): Split out from...
	(build_ptrmemfunc_access_expr): ...here.
	* tree.c (array_of_runtime_bound_p): New.
	* init.c (throw_bad_array_length): New.
	(build_vec_init): Use it.
	* parser.c (cp_convert_range_for): When iterating over a VLA,
	use it directly rather than bind a reference.
	* cp-tree.h: Declare new functions.
libstdc++-v3/
	* libsupc++/new: Add std::bad_array_length.
	* libsupc++/bad_array_length.cc: New.
	* libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
	* libsupc++/Makefile.in: Build them.
	* config/abi/pre/gnu.ver: Add new symbols.
	* config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.

From-SVN: r198745
2013-05-09 12:43:36 -04:00
..
config N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
doc * doc/xml/manual/extensions.xml: Fix anachronism. 2013-04-20 20:40:28 +01:00
include Mark all member functions with memory models always inline v2 2013-05-09 04:22:11 +00:00
libsupc++ N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
po
python
scripts Filter out basever symbols on Solaris 2013-03-06 13:34:35 +00:00
src * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h. 2013-04-22 21:31:27 -04:00
testsuite unordered_base.h: New. 2013-05-07 20:26:15 +00:00
acinclude.m4 configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
aclocal.m4
ChangeLog N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
config.h.in configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
configure configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
configure.ac configure, [...]: Rebuild. 2013-04-09 20:55:17 +00:00
configure.host
crossconfig.m4 crossconfig.m4: Add support for cygwin x64 target. 2013-03-27 22:56:57 +01:00
fragment.am
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05:00
Makefile.am
Makefile.in
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.