This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12093] [3.4 Regression] inconstitent error with templates/non-templates
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Aug 2003 13:59:15 -0000
- Subject: [Bug c++/12093] [3.4 Regression] inconstitent error with templates/non-templates
- References: <20030828132646.12093.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12093
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-08-28 13:59:14
date| |
------- Additional Comments From bangerth at dealii dot org 2003-08-28 13:59 -------
Clearly a bug. I thought at first that we should have an instantiation of g(), but
that doesn't change a thing. In fact, the error message already is in the template
function, which is reasonable since the call to temp() is in a non-dependent context,
so the error should be detected at definition time, not at instantiation time.
W.