public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36489]  New: Warning "initialized field overwritten" wrongly triggers with multidimensional arrays
@ 2008-06-10 16:26 smeuuh at gmail dot com
  2008-12-28  1:21 ` [Bug c/36489] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: smeuuh at gmail dot com @ 2008-06-10 16:26 UTC (permalink / raw)
  To: gcc-bugs

Hi,
This code :
int t[10][10] = {
                [1][2] = 1,
                [1][3] = 2
        };
warns with "initialized field overwritten" under -Wextra with gcc 4.3.0,
although it's perfectly valid.
Antoine Levitt


-- 
           Summary: Warning "initialized field overwritten" wrongly triggers
                    with multidimensional arrays
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: smeuuh at gmail dot com
 GCC build triplet: i386-pc-linux
  GCC host triplet: i386-pc-linux
GCC target triplet: i386-pc-linux


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


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <bug-36489-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-08-19 23:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-10 16:26 [Bug c/36489] New: Warning "initialized field overwritten" wrongly triggers with multidimensional arrays smeuuh at gmail dot com
2008-12-28  1:21 ` [Bug c/36489] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-12-29 16:42 ` jakub at gcc dot gnu dot org
2008-12-29 21:51 ` rguenth at gcc dot gnu dot org
2009-01-01 19:42 ` jakub at gcc dot gnu dot org
2009-01-01 19:46 ` [Bug c/36489] [4.3 " jakub at gcc dot gnu dot org
2009-01-24 10:25 ` rguenth at gcc dot gnu dot org
2009-08-04 12:41 ` rguenth at gcc dot gnu dot org
2010-05-22 18:31 ` rguenth at gcc dot gnu dot org
     [not found] <bug-36489-4@http.gcc.gnu.org/bugzilla/>
2010-11-09 15:52 ` ian at linux dot vnet.ibm.com
2011-06-27 11:55 ` rguenth at gcc dot gnu.org
2011-08-19 23:20 ` visionofarun at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).