diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-07 15:55:20 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-07 15:55:20 +0000 |
commit | 8b25863e71a1ac1600d931290fb3d36c7c30671a (patch) | |
tree | a5b7680b208ae794f76af4b1d4f4f2e185f2f4a9 /libcpp | |
parent | 305104fdc55b3a2237c6fff6f36545556a28d91c (diff) | |
download | gcc-8b25863e71a1ac1600d931290fb3d36c7c30671a.tar.gz |
PR c++/11094, DR 408
* cp-tree.h (VAR_HAD_UNKNOWN_BOUND, SET_VAR_HAD_UNKNOWN_BOUND): New.
* decl2.c (finish_static_data_member_decl): Set it.
* decl.c (duplicate_decls): Propagate it.
* pt.c (tsubst_decl): Don't substitute the domain of an array
VAR_DECL if it's set.
(regenerate_decl_from_template): Substitute it here.
(type_dependent_expression_p): Return true if it's set.
* semantics.c (finish_decltype_type): Instantiate such a variable.
* typeck.c (cxx_sizeof_expr): Likewise.
(strip_array_domain): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions