------- Comment #1 from rguenth at gcc dot gnu dot org 2007-03-07 10:07 -------
Confirmed. For reference:
struct Dummy
{
int operator&(signed int &) { return 4; }
};
struct ICE
{
template <typename T>
void aj(void)
{
signed int kalle = 9;
int size = Dummy() & kalle;
char buffer[size];
}
};
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |rejects-valid
Known to fail| |3.4.6 4.0.4 4.1.2
Known to work| |3.3.6
Last reconfirmed|0000-00-00 00:00:00 |2007-03-07 10:07:21
date| |
Summary|Internal Compiler Error when|[4.1/4.2/4.3 Regression]
|using operator& from |Internal Compiler Error when
|template function |using operator& from
| |template function
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31064