c++/2744: @ causes ice in read_token
Peter Schmid
schmid@snake.iap.physik.tu-darmstadt.de
Sat May 5 06:06:00 GMT 2001
>Number: 2744
>Category: c++
>Synopsis: @ causes ice in read_token
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Sat May 05 06:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Peter Schmid
>Release: 3.0 20010503 (prerelease)
>Organization:
TU Darmstadt
>Environment:
System: Linux kiste 2.4.3 #35 Sat Mar 31 22:08:25 CEST 2001 i686 unknown
Architecture: i686
SuSE 7.1
Glibc 2.2
GNU ld version 2.11.90.0.4 (with BFD 2.11.90.0.4)
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-long-long --enable-languages=c,c++,f77,objc : (reconfigured) ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-long-long --enable-languages=c,c++,f77,objc : (reconfigured)
>Description:
A stray @ causes an ice in read_token, at cp/spew.c:363. If I put a
@ in a c file, gcc does not crash.
>How-To-Repeat:
Source code t.C
@
Compiling t.C
g++ -c -W -Wall t.C -save-temps
t.C:1: Internal compiler error in read_token, at cp/spew.c:363
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
cp t.C t.c
Compiling t.c
gcc -c -W -Wall t.c
t.c:1: syntax error at '@' token
Preprocessed source code t.ii
# 1 "t.C"
@
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list