This is the mail archive of the gcc-bugs@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]

[Bug c/24010] [4.0/4.1/4.2 Regression] Duplicate C99 dot initializer warning missing



------- Comment #4 from jsm28 at gcc dot gnu dot org  2006-09-30 16:20 -------
Working on a fix.  In view of legitimate uses for this in conjunction with GNU
extensions, such as

int a[10000] = { [0 ... 9999] = 10, [5] = 0, [1000] = 0 };

(giving an array a non-0 default value), the new warning will be covered by its
own option, in -Wextra but not -Wall.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jsm28 at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-12-23 00:04:07         |2006-09-30 16:20:22
               date|                            |


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


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