public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9356: [3.4 regression] [New parser] internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179
@ 2003-01-17 20:28 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-01-17 20:28 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mcgahan, nobody, rmoseley

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9356: [3.4 regression] [New parser] internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179
@ 2003-01-22 18:48 mmitchel
  0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2003-01-22 18:48 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mcgahan, nobody, rmoseley

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

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Jan 22 18:48:15 2003
State-Changed-Why:
    Duplicate of PR 9384.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9356: [3.4 regression] [New parser] internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179
@ 2003-01-17 20:56 Wolfgang Bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Bangerth @ 2003-01-17 20:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9356; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Rick Moseley <rmoseley@redhat.com>
Cc: gcc-bugs@gcc.gnu.org, <gcc-prs@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>
Subject: Re: c++/9356: [3.4 regression] [New parser] internal compiler error
 in validate_nonmember_using_decl, at cp/delc2.c:4179
Date: Fri, 17 Jan 2003 14:49:18 -0600 (CST)

 > You are right sir.  I have a header file that had the following 2 includes:
 > 
 > #include <g2c.h>
 > #include <iostream>
 > 
 > Reversing the order of those includes fixed the problem.
 
 But it's still a bug that we get an internal compiler error on the code, 
 however bogus it may be. (Which reminds me that I forgot to set 
 ice-on-illegal for this report... Will fix.)
 
 W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth             email:            bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth/
 
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9356: [3.4 regression] [New parser] internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179
@ 2003-01-17 20:56 Rick Moseley
  0 siblings, 0 replies; 4+ messages in thread
From: Rick Moseley @ 2003-01-17 20:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9356; it has been noted by GNATS.

From: Rick Moseley <rmoseley@redhat.com>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   mcgahan@huntsville.sparta.com, nobody@gcc.gnu.org, rmoseley@redhat.com,
   gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/9356: [3.4 regression] [New parser] internal compiler error
 in validate_nonmember_using_decl, at cp/delc2.c:4179
Date: Fri, 17 Jan 2003 14:47:49 -0600

 You are right sir.  I have a header file that had the following 2 includes:
 
 #include <g2c.h>
 #include <iostream>
 
 Reversing the order of those includes fixed the problem.
 
 Thanks a lot.
 
 Rick
 
 bangerth@dealii.org wrote:
 
 >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
 >  
 >
 
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-22 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 20:28 c++/9356: [3.4 regression] [New parser] internal compiler error in validate_nonmember_using_decl, at cp/delc2.c:4179 bangerth
2003-01-17 20:56 Wolfgang Bangerth
2003-01-17 20:56 Rick Moseley
2003-01-22 18:48 mmitchel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).