------- Comment #3 from pinskia at gmail dot com  2008-03-25 15:20 -------
Subject: Re:  struct-layout-1.exp fails at -O2

No the compiler should be able to load the packed struct no matter  
what. If that means doing byte by byte loads then so be it.
-- Pinski

Sent from my iPhone

On Mar 25, 2008, at 7:53, "hjl dot tools at gmail dot com"
<[EMAIL PROTECTED] 
 > wrote:

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


-- 


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

Reply via email to