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
* [Bug c/12742] Type alignment is lost if const is added to typedef 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 ` William dot Munns at arm dot com 2004-01-18 8:21 ` dhazeghi at yahoo dot com 1 sibling, 0 replies; 3+ messages in thread From: William dot Munns at arm dot com @ 2003-10-23 10:48 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 ------- Additional Comments From William dot Munns at arm dot com 2003-10-23 10:02 ------- Created an attachment (id=4981) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4981&action=view) Example file, compiled with no extra options Compiled: gcc aligned_type_failure.c -Wall no warnings or errors produced ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/12742] Type alignment is lost if const is added to typedef 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 1 sibling, 0 replies; 3+ messages in thread From: dhazeghi at yahoo dot com @ 2004-01-18 8:21 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From dhazeghi at yahoo dot com 2004-01-18 08:20 ------- Confirmed with mainline/3.4 branch. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |wrong-code Last reconfirmed|0000-00-00 00:00:00 |2004-01-18 08:20:55 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12742 ^ 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).