https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82360
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org --- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #9) > 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 Aw, my latest gcc was built just 2 days before this... guess I'll have to rebuild...