This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/10642: Internal compiler error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]