c++/9960: g++ 3.2
bangerth@dealii.org
bangerth@dealii.org
Wed Mar 5 15:06:00 GMT 2003
Synopsis: g++ 3.2
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed Mar 5 14:57:19 2003
State-Changed-Why:
Confirmed. A reduced testcase is this:
----------------------
struct Base {
void foo();
template<class I>
void foo();
};
struct Derived : Base {
void (*funcptr)();
void bar() {
funcptr == foo;
}
};
----------------------------
It fails with 2.95, 3.0 and 3.2:
g/x> /home/bangerth/bin/gcc-3.2.2-pre/bin/c++ -c y.cc
y.cc: In member function `void Derived::bar()':
y.cc:12: Internal compiler error in decay_conversion, at cp/typeck.c:1679
However, it is already fixed in 3.3 and 3.4
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9960
More information about the Gcc-bugs
mailing list