Re: unreliable/confusing dg-add-options arm_fp16_alternatives

2020-04-08 Thread Jeff Law via Gcc-patches
On Wed, 2020-04-08 at 12:27 -0300, Alexandre Oliva wrote: > On Mar 27, 2020, Alexandre Oliva wrote: > > > So, here are some potential fixes: > > - install the patchlet for fp16-aapcs-3.c above, and be done with it > > - add an arm_fp16_hw requirement to this test > > - add to check_effective_targ

Re: unreliable/confusing dg-add-options arm_fp16_alternatives

2020-04-08 Thread Alexandre Oliva
On Mar 27, 2020, Alexandre Oliva wrote: > So, here are some potential fixes: > - install the patchlet for fp16-aapcs-3.c above, and be done with it > - add an arm_fp16_hw requirement to this test > - add to check_effective_target_arm_fp16_alternative_ok_nocache above a > check for arm_fp16,

unreliable/confusing dg-add-options arm_fp16_alternatives

2020-03-27 Thread Alexandre Oliva
gcc.target/arm/fp16-aapcs-3.c is failing on one of our targets, and I'm puzzled as to the reason for the failure and to the proper fix. The test fails because, despite the dg-add-options in the subject, -mfp16-format=alternative is not passed to the compiler, so type __fp16 is not recognized. gcc