------- Comment #3 from reichelt at gcc dot gnu dot org  2005-10-10 16:31 
-------
On the 3.4 branch the situation changed with Giovanni's patch for PR19208:
http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00902.html

We now diagnose none of the arrays without "-pedantic", and all three
arrays with "-pedantic". This matches the behavior for arrays in
non-template structs and outside any struct. So I'd call this fixed on
the 3.4 branch.

The 4.0 branch and mainline still have the problem, though.
Technically these are regressions now.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Inconsistency with zero-    |[4.0/4.1 regression]
                   |sized arrays                |Inconsistency with zero-
                   |                            |sized arrays
   Target Milestone|---                         |4.0.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19989

Reply via email to