[Bug c++/82360] [8 Regression] tree check fail in get_inner_reference, at expr.c:6996
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 13 21:49:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82360
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Nov 13 21:49:16 2017
New Revision: 254710
URL: https://gcc.gnu.org/viewcvs?rev=254710&root=gcc&view=rev
Log:
PR c++/82360 - ICE with static_cast in template.
* call.c (perform_direct_initialization_if_possible): Check
processing_template_decl.
* typeck.c (build_static_cast_1): Likewise.
Added:
trunk/gcc/testsuite/g++.dg/template/cast5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/typeck.c
More information about the Gcc-bugs
mailing list