This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32000] struct-layout-1.exp fails at -O2
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2008 14:53:24 -0000
- Subject: [Bug target/32000] struct-layout-1.exp fails at -O2
- References: <bug-32000-13767@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hjl dot tools at gmail dot com 2008-03-25 14:53 -------
I think gcc should issue an error for
typedef struct { _Decimal128 f __attribute__((packed)); } packed;
typedef struct { __m128 f __attribute__((packed)); } packed;
when there is a hardware alignment requirement on a field to be
packed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32000