public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/5746: 0220 cvs crashes using undeclared type
@ 2002-02-21  8:37 jdonner
  0 siblings, 0 replies; 2+ messages in thread
From: jdonner @ 2002-02-21  8:37 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5746
>Category:       other
>Synopsis:       0220 cvs crashes using undeclared type
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 21 08:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Donner
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
jdonner@deathstar Common/Database> g++ -v -save-temps cvscrash.cpp
Reading specs from /usr/local/gcc31cvs/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /home/jdonner/cvsgcc31/gcc/configure --enable-threads=posix --enable-languages=c,c++ --prefix=/usr/local/gcc31cvs
Thread model: posix
gcc version 3.1 20020220 (experimental)
 /usr/local/gcc31cvs/lib/gcc-lib/i686-pc-linux-gnu/3.1/cpp0 -lang-c++ -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ cvscrash.cpp cvscrash.ii
GNU CPP version 3.1 20020220 (experimental) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/gcc31cvs/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/gcc31cvs/include/g++-v3
 /usr/local/gcc31cvs/include/g++-v3/i686-pc-linux-gnu
 /usr/local/gcc31cvs/include/g++-v3/backward
 /usr/local/include
 /usr/local/gcc31cvs/include
 /usr/local/gcc31cvs/lib/gcc-lib/i686-pc-linux-gnu/3.1/include
 /usr/include
End of search list.
 /usr/local/gcc31cvs/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1plus -fpreprocessed cvscrash.ii -quiet -dumpbase cvscrash.cpp -version -o cvscrash.s
GNU CPP version 3.1 20020220 (experimental) (cpplib) (i386 Linux/ELF)
GNU C++ version 3.1 20020220 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.1 20020220 (experimental).
cvscrash.cpp: In function `int main()':
cvscrash.cpp:5: `unknowntype' undeclared (first use this function)
cvscrash.cpp:5: (Each undeclared identifier is reported only once for each 
   function it appears in.)
cvscrash.cpp:5: parse error before `;' token
cvscrash.cpp:7: `foo' undeclared (first use this function)
cvscrash.cpp:7: tree check: expected class 't', have 'x' (error_mark) in 
   get_unwidened, at tree.c:4119
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

// Here's the .ii (were no headers)

# 1 "cvscrash.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "cvscrash.cpp"


int main()
{
  unknowntype foo;

  switch (foo)
  {
      case 1:
        break;
  }
}

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: other/5746: 0220 cvs crashes using undeclared type
@ 2002-02-22 12:16 jakub
  0 siblings, 0 replies; 2+ messages in thread
From: jakub @ 2002-02-22 12:16 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jdonner, nobody

Synopsis: 0220 cvs crashes using undeclared type

State-Changed-From-To: open->closed
State-Changed-By: jakub
State-Changed-When: Fri Feb 22 09:47:40 2002
State-Changed-Why:
    Fixed.

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


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

end of thread, other threads:[~2002-02-22 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-21  8:37 other/5746: 0220 cvs crashes using undeclared type jdonner
2002-02-22 12:16 jakub

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).