[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 14 13:57:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79420

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Given PR79463 and Comment 4, it seems that we shouldn't change at least
VAR_DECLs and OVERLOADs back to dependent.  Maybe limit what kind of object
expressions we want to treat dependent.

Anybody have a suggestion?


More information about the Gcc-bugs mailing list