i386.c (ix86_expand_int_movcc): Truncate to proper mode.

* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
	mode.

From-SVN: r53099
This commit is contained in:
Jakub Jelinek 2002-05-03 18:28:30 +02:00 committed by Jakub Jelinek
parent 0abc082acf
commit ce8076ada5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-03 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
mode.
2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* doc/install.texi (Installing): Mention GCC 3.1 buildstats.

View File

@ -7994,7 +7994,9 @@ ix86_expand_int_movcc (operands)
code = LTU;
else
code = GEU;
ix86_compare_op1 = GEN_INT (INTVAL (ix86_compare_op1) + 1);
ix86_compare_op1
= gen_int_mode (INTVAL (ix86_compare_op1) + 1,
GET_MODE (ix86_compare_op0));
}
start_sequence ();