c++/10642: Internal compiler error
bangerth@dealii.org
bangerth@dealii.org
Tue May 6 14:59:00 GMT 2003
Synopsis: Internal compiler error
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Tue May 6 14:51:58 2003
State-Changed-Why:
Already fixed. The code is illegal and boils down to
something like this:
-----------------------
namespace boost { namespace dynamic_any {}}
struct X
: boost::dynamic_any<X, void (int,int)>
{
};
------------------------
This crashes gcc from 2.95 to 3.3, but 3.4 now gives
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c y.cc
y.cc:4: error: expected template-name
y.cc:4: error: expected `{'
y.cc:4: error: expected unqualified-id
y.cc:4: error: expected `,' or `;'
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10642
More information about the Gcc-bugs
mailing list