This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/8449: Ellipsis in 3...5 not recognized properly
- From: "Christian Ehrhardt" <ehrhardt at mathematik dot uni-ulm dot de>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, ehrhardt at mathematik dot uni-ulm dot de, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Mon, 4 Nov 2002 17:51:14 +0100
- Subject: Re: preprocessor/8449: Ellipsis in 3...5 not recognized properly
Hi,
sorry for the self followup but: gcc version 3.3 20021101 (experimental)
gives an ICE after the error (segmentationfault):
$ gcc -Wall t.c
t9.c:1:14: too many decimal points in number
t9.c:1: internal compiler error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
An even worse test case not fixed by the previous patch is with an escaped
newline in the middle of the ellipsis:
int a[2] = {[0 .\
..1] = 2};
regards Christian Ehrhardt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8449
--
THAT'S ALL FOLKS!