2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/4932
* config/i386/i386.c (print_operand): Verify that the
argument to %c is a constant and not a conditional which
needs to be reversed.
From-SVN: r47453
+2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
+
+ PR other/4932
+ * config/i386/i386.c (print_operand): Verify that the
+ argument to %c is a constant and not a conditional which
+ needs to be reversed.
+
Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
* emit-rtl.c (gen_lowpart_common): Fix conversion of
/* Like above, but reverse condition */
case 'c':
+ /* Check to see if argument to %c is really a constant
+ and not a condition code which needs to be reversed. */
+ if (GET_RTX_CLASS (GET_CODE (x)) != '<')
+ {
+ output_operand_lossage ("operand is neither a constant nor a condition code, invalid operand code 'c'");
+ return;
+ }
put_condition_code (GET_CODE (x), GET_MODE (XEXP (x, 0)), 1, 0, file);
return;
case 'f':