gcc/libstdc++-v3/libsupc++
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
..
array_type_info.cc
atexit_arm.cc
atexit_thread.cc
atomic_lockfree_defines.h
bad_alloc.cc
bad_array_length.cc N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
bad_array_new.cc Core 624/N2932: Throw bad_array_new_length on overflow 2013-05-08 23:58:00 -04:00
bad_cast.cc
bad_typeid.cc
class_type_info.cc
cxxabi_forced.h
cxxabi.h N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
del_op.cc
del_opnt.cc
del_opv.cc
del_opvnt.cc
dyncast.cc
eh_alloc.cc
eh_arm.cc
eh_aux_runtime.cc N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
eh_call.cc
eh_catch.cc
eh_exception.cc
eh_globals.cc
eh_personality.cc
eh_ptr.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
eh_term_handler.cc
eh_terminate.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
eh_throw.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
eh_tm.cc
eh_type.cc
eh_unex_handler.cc
enum_type_info.cc
exception exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
exception_defines.h
exception_ptr.h re PR libstdc++/56905 ([C++11][DR 1130] std::copy_exception should be removed or no longer be used) 2013-04-24 23:00:16 +01:00
function_type_info.cc
fundamental_type_info.cc
guard_error.cc
guard.cc
hash_bytes.cc
hash_bytes.h
initializer_list * libsupc++/initializer_list: Fix typos. 2013-04-24 11:04:33 -04:00
Makefile.am exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
Makefile.in N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
nested_exception.cc
nested_exception.h
new N3639 C++1y VLA support 2013-05-09 12:43:36 -04:00
new_handler.cc re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o]) 2013-04-05 11:03:04 +01:00
new_op.cc exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
new_opnt.cc exception (get_terminate(), [...]): Declare. 2013-04-03 01:08:54 +01:00
new_opv.cc
new_opvnt.cc
pbase_type_info.cc
pmem_type_info.cc
pointer_type_info.cc
pure.cc
si_class_type_info.cc
tinfo2.cc
tinfo.cc
tinfo.h
typeinfo
unwind-cxx.h
vec.cc
vmi_class_type_info.cc
vterminate.cc