This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24278] ICE while trying to print out error
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2005 01:58:46 -0000
- Subject: [Bug c++/24278] ICE while trying to print out error
- References: <bug-24278-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-09 01:58 -------
Confirmed, reduced testcase:
template<typename T> struct throwInfo { throwInfo(T v) : T(v) {
} };
void format(int r) {
throwInfo<char*>("");
}
This is invalid code as T(v) is invalid, not a regression.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-10-09 01:58:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24278