c++/3880: Problem with global int [][] arrays

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Sat Dec 15 09:59:00 GMT 2001


Synopsis: Problem with global int [][] arrays

State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Dec 15 09:26:13 2001
State-Changed-Why:
    Not a bug.  You forgot a comma in your
    testcase:
    
    --- test.cpp.orig       Sat Dec 15 12:25:08 2001
    +++ test.cpp    Sat Dec 15 12:25:15 2001
    @@ -3,7 +3,7 @@
       {      0,  -1,  -1,      1,   -1,  2,  3, -1, -1, -1, -1},
       {      1,  -1,  -1,    259,    4, -1, -1, -1, -1, -1, -1},
       {      2,  -2,  -1,     -1,   -1, -1, -1, -1, -1, -1, -1},
    -  {      3,  -1,  -1,      5    -1, -1, -1,  6, -1, -1, -1},
    +  {      3,  -1,  -1,      5,   -1, -1, -1,  6, -1, -1, -1},
       {      4,  -1,  -1,      1,   -1, -1,  7, -1, -1, -1, -1},
       {      5, 261, 261,    261,  261, -1, -1, -1, -1, -1, -1},
       {      6,  -1,   8,     -1,    9, -1, -1, -1, 10, 11, -1},

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



More information about the Gcc-bugs mailing list