diff options
author | Jason Merrill <jason@redhat.com> | 2019-04-18 12:50:10 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-04-18 12:50:10 -0400 |
commit | 7f0964e6f146e333b2d97b1f1a8518a733f3cc17 (patch) | |
tree | ac99b51ca4bd9983b3b21fb9ef944874630a6da6 /gcc/tree.h | |
parent | 5f864b980af671c499756848a3d117968d253d4d (diff) | |
download | gcc-7f0964e6f146e333b2d97b1f1a8518a733f3cc17.zip gcc-7f0964e6f146e333b2d97b1f1a8518a733f3cc17.tar.gz gcc-7f0964e6f146e333b2d97b1f1a8518a733f3cc17.tar.bz2 |
PR c++/87554 - ICE with extern template and reference member.
The removed code ended up setting DECL_INITIAL to the INIT_EXPR returned by
split_nonconstant_init, which makes no sense. This code was added back in
1996, so any rationale is long lost.
* decl.c (cp_finish_decl): Don't set DECL_INITIAL of external vars.
From-SVN: r270445
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions