This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]