Failure introduced by the sahf patch(es) (was: Re: [Bug fortran/29975] [meta-bugs] ICEs with CP2K)

Richard Guenther richard.guenther@gmail.com
Wed Mar 14 15:46:00 GMT 2007


On 3/14/07, FX Coudert <fxcoudert@gmail.com> wrote:
> [The original mail is the last comment in PR 29975]
>
> > GNU Fortran (GCC) 4.3.0 20070313 (experimental)
> >
> > there seems to be a new gcc error on CP2K:
> >
> > gfortran -c -O3 -ftree-loop-linear -ftree-vectorize -ffast-math -
> > march=opteron
> > -msse2 fparser.f90
> >
> > /tmp/ccNk6D7G.s: Assembler messages:
> > /tmp/ccNk6D7G.s:820: Error: suffix or operands invalid for `sahf'

You can use -match=x86-64 instead of opteron, that will fix it.  Or update
your binutils version.

Richard.



More information about the Gcc-patches mailing list