On 12/6/19 5:12 PM, Segher Boessenkool wrote:
> On Thu, Dec 05, 2019 at 08:44:57AM +0000, Iain Sandoe wrote:
>> .. or I can just force a false return from effective_target_dfp as we
>>  do for other cases where assembler support does not imply system 
>>  support.
> 
> That's what I would do, yes.

I'm not sure that's necessary.  DFP enablement isn't triggered by
assembler support.  Just the gcc/configure fragment (ignoring manually
using --enable-decimal-float):

  case $target in
    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
    i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \
    i?86*-*-mingw* | x86_64*-*-mingw* | \
    i?86*-*-cygwin* | x86_64*-*-cygwin*)
      enable_decimal_float=yes
      ;;
    *)
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not 
supported for this target, ignored" >&5
$as_echo "$as_me: WARNING: decimal float is not supported for this target, 
ignored" >&2;}
      enable_decimal_float=no
      ;;

So I don't think there is anything to do wrt Darwin here.

Peter


Reply via email to