[PATCH, libgfortran]: Add "=m" for stmxcsr

Uros Bizjak ubizjak@gmail.com
Fri Oct 14 08:01:00 GMT 2005


Hello!

On 10/13/05, Richard Henderson <rth@redhat.com> wrote:
> On Thu, Oct 13, 2005 at 09:35:10AM +0200, Uros Bizjak wrote:
> >       * config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
>
> This is wrong.  Inputs should not have '='.  I'm surprised
> this isn't diagnosed...

Because:

configure:19512: FPU dependent file will be fpu-glibc.h

even on i686-pc-linux-gnu.

>From configure.host:

# HOST-SPECIFIC OVERRIDES
case "${host_cpu}" in
  i?86 | x86_64)
    fpu_host='fpu-387' ;;
esac

# CONFIGURATION-SPECIFIC OVERRIDES
if test "x${have_feenableexcept}" = "xyes"; then
  fpu_host='fpu-glibc'
fi

Is this intended behavior?

Uros.



More information about the Fortran mailing list