diff options
author | Marek Polacek <polacek@redhat.com> | 2019-09-05 15:37:52 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-09-05 15:37:52 +0000 |
commit | bb64bef659dc5b11fe1f8ff1f7df65603c9d8876 (patch) | |
tree | 4915ab25b64bdbc9959c1361e1c0ad9dc63ec1d2 /gcc/fortran/parse.c | |
parent | b2c113aed6f2ae2fca28cd5a8fab9c857b97dd2b (diff) | |
download | gcc-bb64bef659dc5b11fe1f8ff1f7df65603c9d8876.zip gcc-bb64bef659dc5b11fe1f8ff1f7df65603c9d8876.tar.gz gcc-bb64bef659dc5b11fe1f8ff1f7df65603c9d8876.tar.bz2 |
PR c++/91644 - ICE with constinit in function template.
* decl.c (start_decl): Call retrofit_lang_decl for constinit variables.
* pt.c (tsubst_expr): Pass LOOKUP_CONSTINIT down to cp_finish_decl for
constinit variables.
* g++.dg/cpp2a/constinit13.C: New test.
From-SVN: r275421
Diffstat (limited to 'gcc/fortran/parse.c')
0 files changed, 0 insertions, 0 deletions