public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/24010] New: Duplicate dot initializer warning
@ 2005-09-22 12:44 agruen at suse dot de
  2005-09-22 12:50 ` [Bug c/24010] Duplicate C99 dot initializer warning missing rguenth at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: agruen at suse dot de @ 2005-09-22 12:44 UTC (permalink / raw)
  To: gcc-bugs

Compiling a program like this with -Wall doesn't generate a warning, even 
though the result very likely is not intended: 
 
struct s { 
    int a; 
}; 
 
struct s s = { 
    .a = 5, 
    .a = 6, 
}; 
 
Can a duplicate initializers warning please be added? Thank you!

-- 
           Summary: Duplicate dot initializer warning
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: agruen at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/24010] Duplicate C99 dot initializer warning missing
  2005-09-22 12:44 [Bug c/24010] New: Duplicate dot initializer warning agruen at suse dot de
@ 2005-09-22 12:50 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-09-22 12:50 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-22 12:50:28
               date|                            |
            Summary|Duplicate dot initializer   |Duplicate C99 dot
                   |warning                     |initializer warning missing


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-22 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-22 12:44 [Bug c/24010] New: Duplicate dot initializer warning agruen at suse dot de
2005-09-22 12:50 ` [Bug c/24010] Duplicate C99 dot initializer warning missing rguenth at gcc dot gnu dot org

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).