On Mon, Nov 23, 2020 at 02:28:57PM -0600, Segher Boessenkool wrote:
> Hi!
> 
> On Sat, Nov 21, 2020 at 12:33:52AM -0500, Michael Meissner wrote:
> > +# See if the target is a powerpc with the long double format that uses the 
> > IBM
> > +# extended double format.
> 
> "Return 1 if the target is PowerPC, and long double is IBM extended double."
> 
> > @@ -7939,6 +7992,9 @@ proc is-effective-target { arg } {
> >       "power10_hw"     { set selected [check_power10_hw_available] }
> >       "ppc_float128_sw" { set selected [check_ppc_float128_sw_available] }
> >       "ppc_float128_hw" { set selected [check_ppc_float128_hw_available] }
> > +     "ppc_long_double_ibm" { set selected [check_ppc_long_double_ibm] }
> > +     "ppc_long_double_ieee" { set selected [check_ppc_long_double_ieee] }
> > +     "ppc_long_double_64bit" { set selected [check_ppc_long_double_64bit] }
> >       "ppc_recip_hw"   { set selected [check_ppc_recip_hw_available] }
> >       "ppc_cpu_supports_hw" { set selected 
> > [check_ppc_cpu_supports_hw_available] }
> >       "ppc_mma_hw"     { set selected [check_ppc_mma_hw_available] }
> 
> Why this?  It just defines aliases to the exact same name?

If you remove those lines you get the failure from the default case:

          default          { error "unknown effective target keyword `$arg'" }

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meiss...@linux.ibm.com, phone: +1 (978) 899-4797

Reply via email to