This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47125] [4.5/4.6 Regression] ICE occurs in combination with partial specialization and invalid template function.
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 13 Mar 2011 01:17:31 +0000
- Subject: [Bug c++/47125] [4.5/4.6 Regression] ICE occurs in combination with partial specialization and invalid template function.
- Auto-submitted: auto-generated
- References: <bug-47125-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47125
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-13 01:17:17 UTC ---
Author: jason
Date: Sun Mar 13 01:17:14 2011
New Revision: 170919
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170919
Log:
PR c++/47125
* pt.c (tsubst) [TYPENAME_TYPE]: Only give errors if tf_error.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/error45.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/pt.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog