94a073b251
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 |
||
---|---|---|
.. | ||
call.c | ||
cfns.gperf | ||
cfns.h | ||
ChangeLog | ||
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 | ||
config-lang.in | ||
constexpr.c | ||
cp-array-notation.c | ||
cp-cilkplus.c | ||
cp-gimplify.c | ||
cp-lang.c | ||
cp-objcp-common.c | ||
cp-objcp-common.h | ||
cp-tree.def | ||
cp-tree.h | ||
cvt.c | ||
cxx-pretty-print.c | ||
cxx-pretty-print.h | ||
decl2.c | ||
decl.c | ||
decl.h | ||
dump.c | ||
error.c | ||
except.c | ||
expr.c | ||
friend.c | ||
g++spec.c | ||
init.c | ||
lambda.c | ||
lang-specs.h | ||
lex.c | ||
Make-lang.in | ||
mangle.c | ||
method.c | ||
name-lookup.c | ||
name-lookup.h | ||
NEWS | ||
operators.def | ||
optimize.c | ||
parser.c | ||
parser.h | ||
pt.c | ||
ptree.c | ||
repo.c | ||
rtti.c | ||
search.c | ||
semantics.c | ||
tree.c | ||
type-utils.h | ||
typeck2.c | ||
typeck.c | ||
vtable-class-hierarchy.c |