This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]