This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i386.md:3705: error: undefined machine-specific constraint at this point: "Y"
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Feb 2007 00:04:34 +0100
- Subject: Re: i386.md:3705: error: undefined machine-specific constraint at this point: "Y"
- References: <Pine.GSO.4.58.0702161614410.29264@caipclassic.rutgers.edu>
> I just got this error building a cross-compiler from sparc-sun-solaris2.10
> targetted to i686-unknown-linux-gnu. This worked as recently as last
> week:
>
> > build/genoutput ../../egcc-SVN20070216/gcc/config/i386/i386.md insn-conditions.md > tmp-output.c
> > config/i386/i386.md:3705: error: undefined machine-specific constraint at this point: "Y"
> > config/i386/i386.md:3705: note: in operand 1
> > make[2]: *** [s-output] Error 1
>
> anybody else seeing this?
Hi,
I didn't seen it, but the underlying problem is quite obvious. I've
sent the attached patch for testing and will try to investigate why it
don't seem to show for everyone as soon as I have some time for it.
Honza
* i386.md (dummy_extendsfdf2): Fix constraints.
Index: i386.md
===================================================================
--- i386.md (revision 122057)
+++ i386.md (working copy)
@@ -3704,7 +3704,7 @@
;; %%% Kill these when call knows how to work out a DFmode push earlier.
(define_insn "*dummy_extendsfdf2"
[(set (match_operand:DF 0 "push_operand" "=<")
- (float_extend:DF (match_operand:SF 1 "nonimmediate_operand" "fY")))]
+ (float_extend:DF (match_operand:SF 1 "nonimmediate_operand" "fY2")))]
"0"
"#")