diff options
author | Jason Merrill <jason@redhat.com> | 2010-04-07 11:55:20 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-04-07 11:55:20 -0400 |
commit | 483264879c177c32f0197992f4625dbca09d444b (patch) | |
tree | a5b7680b208ae794f76af4b1d4f4f2e185f2f4a9 /gcc/reorg.c | |
parent | ae099258d3654e328fca96e0ebd457487a70a685 (diff) | |
download | gcc-483264879c177c32f0197992f4625dbca09d444b.zip gcc-483264879c177c32f0197992f4625dbca09d444b.tar.gz gcc-483264879c177c32f0197992f4625dbca09d444b.tar.bz2 |
PR c++/11094, DR 408
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.
From-SVN: r158075
Diffstat (limited to 'gcc/reorg.c')
0 files changed, 0 insertions, 0 deletions