This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Feb 2017 13:57:17 +0000
- Subject: [Bug c++/79420] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in tsubst_copy, at cp/pt.c:14573
- Auto-submitted: auto-generated
- References: <bug-79420-4@http.gcc.gnu.org/bugzilla/>
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?