This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24010] [4.0/4.1/4.2 Regression] Duplicate C99 dot initializer warning missing
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2006 16:20:22 -0000
- Subject: [Bug c/24010] [4.0/4.1/4.2 Regression] Duplicate C99 dot initializer warning missing
- References: <bug-24010-11397@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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