[Bug c/25805] [3.4/4.0 Regression] Incorrect handling of zero-initialized flexible arrays

rsandifo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 19 07:48:00 GMT 2006



------- Comment #4 from rsandifo at gcc dot gnu dot org  2006-01-19 07:48 -------
I've checked in the fix for 4.1 and 4.2.  It doesn't apply directly
to earlier branches because they used TREE_LISTs for CONSTRUCTORs.
A straight-forward conversion would introduce a linear walk over
the list, which is probably not acceptable.  I'm leaving this is
a 3.4 and 4.0 regression for now.

(The original commit wasn't added to bugzilla because I used
-m rather than -F to specify the log message.  Ooops.  Now fixed
with svn propset.)


-- 

rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu dot
                   |                            |org
         AssignedTo|rsandifo at gcc dot gnu dot |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW
      Known to fail|4.1.0 4.0.0 3.3.3 3.4.0     |4.0.0 3.3.3 3.4.0
                   |4.2.0                       |
      Known to work|3.2.3                       |3.2.3 4.1.0 4.2.0
            Summary|[3.4/4.0/4.1/4.2 Regression]|[3.4/4.0 Regression]
                   |Incorrect handling of zero- |Incorrect handling of zero-
                   |initialized flexible arrays |initialized flexible arrays


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



More information about the Gcc-bugs mailing list