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]

[committed] Fix a pasto in i386 %Y diagnostics


Hi!

I've noticed a pasto introduced in XOP changes, for %Y without condition
code we shouldn't complain about operand code D.
Also, the lines were too long.

Committed as obvious.

2009-11-09  Jakub Jelinek  <jakub@redhat.com>

	* config/i386/i386.c (print_operand) <case 'D'>: Fix formatting.
	(print_operand) <case 'Y'>: Likewise.  Fix a pasto in operand lossage
	diagnostics.

--- gcc/config/i386/i386.c.jj	2009-11-08 19:17:09.000000000 +0100
+++ gcc/config/i386/i386.c	2009-11-09 14:33:39.000000000 +0100
@@ -11597,7 +11597,8 @@ print_operand (FILE *file, rtx x, int co
 		  fputs ("ord", file);
 		  break;
 		default:
-		  output_operand_lossage ("operand is not a condition code, invalid operand code 'D'");
+		  output_operand_lossage ("operand is not a condition code, "
+					  "invalid operand code 'D'");
 		  return;
 		}
 	    }
@@ -11636,7 +11637,8 @@ print_operand (FILE *file, rtx x, int co
 		  fputs ("ord", file);
 		  break;
 		default:
-		  output_operand_lossage ("operand is not a condition code, invalid operand code 'D'");
+		  output_operand_lossage ("operand is not a condition code, "
+					  "invalid operand code 'D'");
 		  return;
 		}
 	    }
@@ -11810,7 +11812,8 @@ print_operand (FILE *file, rtx x, int co
 	      fputs ("une", file);
 	      break;
 	    default:
-	      output_operand_lossage ("operand is not a condition code, invalid operand code 'D'");
+	      output_operand_lossage ("operand is not a condition code, "
+				      "invalid operand code 'Y'");
 	      return;
 	    }
 	  return;

	Jakub


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