[Bug c++/89512] [7/8 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:882
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 30 20:43:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89512
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 30 20:43:07 2019
New Revision: 270728
URL: https://gcc.gnu.org/viewcvs?rev=270728&root=gcc&view=rev
Log:
Backported from mainline
2019-03-14 Jakub Jelinek <jakub@redhat.com>
PR c++/89512
* semantics.c (finish_qualified_id_expr): Reject variable templates.
* g++.dg/cpp1y/var-templ61.C: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1y/var-templ61.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/semantics.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list