public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12742] New: Type alignment is lost if const is added to typedef
@ 2003-10-23 10:02 William dot Munns at arm dot com
  2003-10-23 10:48 ` [Bug c/12742] " William dot Munns at arm dot com
  2004-01-18  8:21 ` dhazeghi at yahoo dot com
  0 siblings, 2 replies; 3+ messages in thread
From: William dot Munns at arm dot com @ 2003-10-23 10:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Type alignment is lost if const is added to typedef
           Product: gcc
           Version: 3.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: William dot Munns at arm dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

typedef int __attribute__ ((aligned(64))) int_64;
typedef const int cint;
typedef cint __attribute__((aligned(64))) cint_64;
typedef const int_64 intc_64;

Loses the alignment for the types intc_64 and cint_64


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

end of thread, other threads:[~2004-01-18  8:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-23 10:02 [Bug c/12742] New: Type alignment is lost if const is added to typedef William dot Munns at arm dot com
2003-10-23 10:48 ` [Bug c/12742] " William dot Munns at arm dot com
2004-01-18  8:21 ` dhazeghi at yahoo 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).