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

qinzhao at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qinzhao at gcc dot gnu.org

--- Comment #4 from qinzhao at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #1)
> Unlike PR 116148, pru is little-endian but 
> 
> This test in the testcase:
>   if (sizeof (union with_fam_2) != __alignof__ (int))
>     __builtin_abort ();
> 
> 
> is wrong.
> 
> #define BIGGEST_ALIGNMENT 8
> 
> 
> This testcase might also fail on other targets (see target_default_packed in
> testsuite/lib/target-supports.exp ).
> 
> So this is a testcase issue.

do you have a suggestion on how to fix the above checking in order to be
correct on all targets? I think that the major issue is the ALIGNEMNT
requirement difference for different targets, but not sure how to fix this with
a simple change?

Reply via email to