https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116155

--- Comment #10 from qinzhao at gcc dot gnu.org ---
(In reply to Dimitar Dimitrov from comment #9)
> For pru:
>   sizeof (int) = 4
>   __alignof__ (int) = 1
> 
> From gcc/config/pru.h:
>   #define INT_TYPE_SIZE 32
>   #define BIGGEST_ALIGNMENT 8

thanks a lot for the info.
Okay, I see the issue. 

I think the line 

  if (sizeof (struct only_fam_2) != sizeof (int))

is wrong, it should be:

  if (sizeof (struct only_fam_2) != __alignof__ (int))

Reply via email to