diff options
author | Jason Merrill <jason@redhat.com> | 2020-02-25 13:37:18 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-02-25 23:35:45 -0500 |
commit | a57528b33be33d4428ac62901d04cf39807d624e (patch) | |
tree | 1d2d37bf29ed45ef4c2b1923a99aa75bde0b78cb /gcc/cp/ChangeLog | |
parent | 3d99aab56d7237bb8260653ed07ca8b182fbf975 (diff) | |
download | gcc-a57528b33be33d4428ac62901d04cf39807d624e.zip gcc-a57528b33be33d4428ac62901d04cf39807d624e.tar.gz gcc-a57528b33be33d4428ac62901d04cf39807d624e.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.
gcc/cp/ChangeLog
2020-02-25 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.
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 f070889..3480403 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2020-02-25 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. + 2020-02-25 Alexandre Oliva <aoliva@redhat.com> PR c++/86747 |