gcc/gcc/cp
Jason Merrill 94a073b251 Remove N3639 "array of runtime length" from -std=c++14.
gcc/cp/
	* decl.c (compute_array_index_type): VLAs are not part of C++14.
	(create_array_type_for_decl, grokdeclarator): Likewise.
	* lambda.c (add_capture): Likewise.
	* pt.c (tsubst): Likewise.
	* rtti.c (get_tinfo_decl): Likewise.
	* semantics.c (finish_decltype_type): Likewise.
	* typeck.c (cxx_sizeof_or_alignof_type): Likewise.
	(cp_build_addr_expr_1): Likewise.
	* init.c (build_vec_init): Don't throw bad_array_length.
gcc/c-family/
	* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_runtime_arrays if
	we aren't complaining about VLAs.
libstdc++-v3/
	* libsupc++/new (bad_array_length): Move...
	* bad_array_length.cc: ...here.
	* cxxabi.h, eh_aux_runtime.cc (__cxa_throw_bad_array_new_length): Also
	move to bad_array_length.cc.

	* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_runtime_arrays if
	we aren't complaining about VLAs.

From-SVN: r218655
2014-12-11 22:49:13 -05:00
..
call.c re PR c++/57510 (subobjects not destroyed when exception thrown during list-initialization) 2014-12-11 22:48:55 -05:00
cfns.gperf
cfns.h
ChangeLog Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
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
ChangeLog-2013
ChangeLog.ptr
ChangeLog.tree-ssa
class.c semantics.c (end_maybe_infinite_loop): Use fold_non_dependent_expr. 2014-11-14 16:59:52 +00:00
config-lang.in
constexpr.c re PR c++/64080 ([C++14]ICE in cxx_eval_store_expression) 2014-12-04 15:37:24 -05:00
cp-array-notation.c
cp-cilkplus.c
cp-gimplify.c gimple-expr.h (create_tmp_var_raw, [...]): Add default NULL value to last argument. 2014-11-29 12:35:30 +01:00
cp-lang.c
cp-objcp-common.c convert many if_marked htab to hash_table 2014-11-20 15:10:19 +00:00
cp-objcp-common.h
cp-tree.def
cp-tree.h re PR c++/57510 (subobjects not destroyed when exception thrown during list-initialization) 2014-12-11 22:48:55 -05:00
cvt.c re PR c++/57979 (G++ accepts constant expression defined using floating point non-constexpr glvalue) 2014-11-19 17:06:17 -05:00
cxx-pretty-print.c
cxx-pretty-print.h
decl2.c re PR c++/33911 (attribute deprecated vs. templates) 2014-11-17 17:09:27 -05:00
decl.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
decl.h
dump.c
error.c re PR sanitizer/63956 ([UBSAN] ICE segfault in cxx_eval_call_expression ../../gcc/cp/constexpr.c) 2014-12-01 15:29:11 +00:00
except.c
expr.c
friend.c
g++spec.c
init.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
lambda.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
lang-specs.h
lex.c
Make-lang.in
mangle.c re PR c++/63942 (constexpr conflicts with previous declaration) 2014-11-24 07:49:08 -05:00
method.c
name-lookup.c re PR c++/63942 (constexpr conflicts with previous declaration) 2014-11-21 16:35:09 -05:00
name-lookup.h
NEWS
operators.def
optimize.c
parser.c re PR c++/64248 (Error: declarator-id missing; using reserved word ‘__FUNCTION__’) 2014-12-11 22:49:03 -05:00
parser.h
pt.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
ptree.c
repo.c
rtti.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
search.c
semantics.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
tree.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
type-utils.h
typeck2.c re PR c++/57510 (subobjects not destroyed when exception thrown during list-initialization) 2014-12-11 22:48:55 -05:00
typeck.c Remove N3639 "array of runtime length" from -std=c++14. 2014-12-11 22:49:13 -05:00
vtable-class-hierarchy.c