public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28865]  New: Structures with a flexible arrray member have wrong .size
@ 2006-08-27 21:53 qrczak at knm dot org dot pl
  2006-08-27 22:15 ` [Bug middle-end/28865] " qrczak at knm dot org dot pl
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: qrczak at knm dot org dot pl @ 2006-08-27 21:53 UTC (permalink / raw)
  To: gcc-bugs

For example this C:
struct {int x; int y[];} obj = {1, {2, 3}};

produces this assembly:

.globl obj
        .data
        .align 4
        .type   obj, @object
        .size   obj, 4
obj:
        .long   1
        .long   2
        .long   3

.size should include the flexible array component.


-- 
           Summary: Structures with a flexible arrray member have wrong
                    .size
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: qrczak at knm dot org dot pl
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2014-01-16 12:19 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-28865-4@http.gcc.gnu.org/bugzilla/>
2013-04-08 21:57 ` [Bug middle-end/28865] Structures with a flexible arrray member have wrong .size pinskia at gcc dot gnu.org
2013-04-08 21:57 ` pinskia at gcc dot gnu.org
2013-04-08 22:39 ` hjl.tools at gmail dot com
2013-04-20  9:54 ` schwab@linux-m68k.org
2013-05-04 14:34 ` amodra at gmail dot com
2013-05-04 14:39 ` amodra at gmail dot com
2014-01-09 20:09 ` jakub at gcc dot gnu.org
2014-01-09 20:09 ` jakub at gcc dot gnu.org
2014-01-09 20:09 ` jakub at gcc dot gnu.org
2014-01-09 20:10 ` bergner at gcc dot gnu.org
2014-01-10 16:53 ` nickc at gcc dot gnu.org
2014-01-10 22:51 ` amodra at gmail dot com
2014-01-10 23:13 ` amodra at gmail dot com
2014-01-13 11:43 ` amodra at gmail dot com
2014-01-13 11:52 ` jakub at gcc dot gnu.org
2014-01-13 16:03 ` joseph at codesourcery dot com
2014-01-13 16:47 ` jakub at gcc dot gnu.org
2014-01-13 17:47 ` nickc at gcc dot gnu.org
2014-01-14 11:58 ` amodra at gmail dot com
2014-01-16 12:18 ` nickc at gcc dot gnu.org
2014-01-16 12:19 ` nickc at gcc dot gnu.org
2006-08-27 21:53 [Bug c/28865] New: " qrczak at knm dot org dot pl
2006-08-27 22:15 ` [Bug middle-end/28865] " qrczak at knm dot org dot pl
2006-08-28  3:08 ` pinskia at gcc dot gnu dot org
2007-12-03 23:42 ` lauro dot venancio 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).