* optabs.c (expand_twoval_binop): Avoid undefined behaviour.
From-SVN: r43403
This commit is contained in:
parent
f254110619
commit
76791f3d95
@ -1,3 +1,7 @@
|
||||
Fri Jun 15 19:35:38 CEST 2001 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* optabs.c (expand_twoval_binop): Avoid undefined behaviour.
|
||||
|
||||
2001-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* doc/install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX
|
||||
|
@ -1992,12 +1992,10 @@ expand_twoval_binop (binoptab, op0, op1, targ0, targ1, unsignedp)
|
||||
{
|
||||
register rtx t0 = gen_reg_rtx (wider_mode);
|
||||
register rtx t1 = gen_reg_rtx (wider_mode);
|
||||
rtx cop0 = convert_modes (wider_mode, mode, op0, unsignedp);
|
||||
rtx cop1 = convert_modes (wider_mode, mode, op1, unsignedp);
|
||||
|
||||
if (expand_twoval_binop (binoptab,
|
||||
convert_modes (wider_mode, mode, op0,
|
||||
unsignedp),
|
||||
convert_modes (wider_mode, mode, op1,
|
||||
unsignedp),
|
||||
if (expand_twoval_binop (binoptab, cop0, cop1,
|
||||
t0, t1, unsignedp))
|
||||
{
|
||||
convert_move (targ0, t0, unsignedp);
|
||||
|
Loading…
Reference in New Issue
Block a user