[Bug c++/20295] zero length array accepted

2005-03-03 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-03-03 17:00 --- That's correct, but that's a dup of PR 16859. W. -- What|Removed |Added Status|REO

[Bug c++/20295] zero length array accepted

2005-03-03 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Last reconfirmed|2005-03-03 0

[Bug c++/20295] zero length array accepted

2005-03-03 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-03 14:45 --- (In reply to comment #3) > I think gcc is right, and icc rejects the code with an almost exact same > error message. But we don't still don't reject the zero sized array which is a bug. -- Wh

[Bug c++/20295] zero length array accepted

2005-03-03 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-03-03 14:39 --- I think gcc is right, and icc rejects the code with an almost exact same error message. W. -- What|Removed |Added ---

[Bug c++/20295] zero length array accepted

2005-03-02 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-03 00:26 --- Yes this is invalid code. Reduced testcase: int a0[] = {}; -- What|Removed |Added