This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification
- 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: 15 May 2005 20:57:08 -0000
- Subject: [Bug c++/21592] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification
- References: <20050515201741.21592.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-15 20:57 -------
Confirmed, reduced testcase:
class cl
{
int str();
void str(const int& __s);
};
template <typename T>
int &f(const T& t);
template<int s>
void g()
{
cl str;
f(str.str);
}
-------
I don't know if this is valid code or not, 3.3.3 accepted it and so does ICC even in strict mode.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.4.0 4.0.0 4.1.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-05-15 20:57:07
date| |
Summary|ICE |[3.4/4.0/4.1 Regression] ICE
| |in
| |resolve_overloaded_unificati
| |on
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21592