diff options
author | Jason Merrill <jason@redhat.com> | 2011-10-13 17:23:47 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-10-13 17:23:47 -0400 |
commit | 2598165f09a96f60aa53abebf931718a769b7cf2 (patch) | |
tree | 6bfe09b345ceaed634c1718cf2d97aba8fa3b824 /gcc/genopinit.c | |
parent | 0e81aa85294d479dea3fb9b5a71e6f7242770af6 (diff) | |
download | gcc-2598165f09a96f60aa53abebf931718a769b7cf2.zip gcc-2598165f09a96f60aa53abebf931718a769b7cf2.tar.gz gcc-2598165f09a96f60aa53abebf931718a769b7cf2.tar.bz2 |
re PR c++/50614 ([C++0x] ICE: tree check: expected field_decl, have identifier_node in component_ref_field_offset, at expr.c:6697 with -fcompare-debug and a non-static initializer)
PR c++/50614
* cp-tree.h (VAR_TEMPL_TYPE_FIELD_OR_FUNCTION_DECL_CHECK): New.
(DECL_TEMPLATE_INFO): Use it.
* pt.c (tsubst_decl) [FIELD_DECL]: Set DECL_TEMPLATE_INFO
if the decl has an NSDMI.
* init.c (perform_member_init): Use it.
From-SVN: r179945
Diffstat (limited to 'gcc/genopinit.c')
0 files changed, 0 insertions, 0 deletions