This is the mail archive of the gcc-prs@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: c++/5447: GCC/G++ 3.0.3 will segfault given the following file.


Synopsis: GCC/G++ 3.0.3 will segfault given the following file.

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Mon Jan 21 16:25:00 2002
State-Changed-Why:
    segfault reproduced with gcc 3.0.3.
    
    With gcc 3.1 in CVS, no segfault, but the following compilation error, when compiled with g++:
    seg3.cpp:2: multidimensional array must have bounds for all dimensions except
       the first
    seg3.cpp:8: declaration of `arr' as multidimensional array must have bounds for
       all dimensions except the first
    
    Putting it in a seg3.c file and compiling with gcc -pedantic
    yields warnings:
    seg3.c:2: warning: array type has incomplete element type
    seg3.c:8: warning: array type has incomplete element type

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


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