This is the mail archive of the gcc-prs@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++/9356: [3.4 regression] [New parser] internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179


Old Synopsis: internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179
New Synopsis: [3.4 regression] [New parser] internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Jan 17 12:28:16 2003
State-Changed-Why:
    This was actually an easy one: you somewhere have a
    #define abs something
    before you include one of the header files, so after
    preprocessing you get code like this one:
    ----------------------------
    int
    ((int __x) >= 0 ? (int __x) : -(int __x)) throw () __attribute__ ((__const__));
    
    using ::abs;
    ---------------------------
    This of course does not make much sense, but it crashes
    the 3.4 compiler:
    
    x.cc:2: error: expected unqualified-id
    x.cc:2: error: expected `)'
    x.cc:2: error: expected `)'
    x.cc:2: error: expected `,' or `;'
    x.cc:4: internal compiler error: in validate_nonmember_using_decl, at
       cp/decl2.c:4152
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9356


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