LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File nov166448.diff of Package gcc33 (Project openSUSE:Factory)

--- gcc/stmt.c.orig	2004-03-26 17:36:15.000000000 +0100
+++ gcc/stmt.c	2007-01-24 15:36:58.000000000 +0100
@@ -1722,7 +1722,7 @@ expand_asm_operands (string, outputs, in
 
       if (asm_operand_ok (op, constraint) <= 0)
 	{
-	  if (allows_reg)
+	  if (allows_reg && TYPE_MODE (type) != BLKmode)
 	    op = force_reg (TYPE_MODE (type), op);
 	  else if (!allows_mem)
 	    warning ("asm operand %d probably doesn't match constraints",