preprocessor/8449: Ellipsis in 3...5 not recognized properly

Christian Ehrhardt ehrhardt@mathematik.uni-ulm.de
Mon Nov 4 08:51:00 GMT 2002


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!



More information about the Gcc-bugs mailing list