This is the mail archive of the gcc@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: i386.md:3705: error: undefined machine-specific constraint at this point: "Y"


> 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"
   "#")
 


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