diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2019-04-18 16:50:10 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2019-04-18 16:50:10 +0000 |
commit | 849a7926848082c390a6d4bdc1b02f672fea5ed9 (patch) | |
tree | ac99b51ca4bd9983b3b21fb9ef944874630a6da6 /gcc/cp/ChangeLog | |
parent | dec23fe5814ee585d3ba367465abfae0373613bc (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bfaf355ebb7..7bb464f8aa7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2019-04-18 Jason Merrill <jason@redhat.com> + + PR c++/87554 - ICE with extern template and reference member. + * decl.c (cp_finish_decl): Don't set DECL_INITIAL of external vars. + 2019-04-17 Jason Merrill <jason@redhat.com> PR c++/90047 - ICE with enable_if alias template. |