Failure introduced by the sahf patch(es) (was: Re: [Bug fortran/29975] [meta-bugs] ICEs with CP2K)
FX Coudert
fxcoudert@gmail.com
Wed Mar 14 15:41:00 GMT 2007
[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'
There has been a recent addition to add this "sahf" to the
instructions used by the i386 back-end. See the threads containing
"sahf" in their name on the gcc-patches mailing list (http://
gcc.gnu.org/ml/gcc-patches/2007-03/)
I'm copying this mail to the people involved in this patch, maybe
it's only a temporary problem. (it seems there's one more patch not
yet commited about sahf)
Also, it might help if you could provide the assembly generated for
fparser.f90 (recompile this file with -v -save-temps)
Thanks for the report,
FX
More information about the Gcc-patches
mailing list