Commit caf62455 by John David Anglin Committed by John David Anglin

re PR middle-end/53823 (FAIL: gcc.c-torture/execute/930921-1.c execution at -O0 and -O1)

	PR middle-end/53823
	* expmed.c (expand_mult): Skip synth_mult for constant double op1 except
	for special cases.  Don't initialize coeff and is_neg.

From-SVN: r189980
parent a5fe079c
2012-07-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/53823
* expmed.c (expand_mult): Skip synth_mult for constant double op1 except
for special cases. Don't initialize coeff and is_neg.
2012-07-30 Ulrich Weigand <ulrich.weigand@linaro.org> 2012-07-30 Ulrich Weigand <ulrich.weigand@linaro.org>
Richard Earnshaw <rearnsha@arm.com> Richard Earnshaw <rearnsha@arm.com>
......
...@@ -3176,8 +3176,8 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target, ...@@ -3176,8 +3176,8 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target,
if (INTEGRAL_MODE_P (mode)) if (INTEGRAL_MODE_P (mode))
{ {
rtx fake_reg; rtx fake_reg;
HOST_WIDE_INT coeff = 0; HOST_WIDE_INT coeff;
bool is_neg = false; bool is_neg;
int mode_bitsize; int mode_bitsize;
if (op1 == CONST0_RTX (mode)) if (op1 == CONST0_RTX (mode))
...@@ -3230,6 +3230,8 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target, ...@@ -3230,6 +3230,8 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target,
} }
goto skip_synth; goto skip_synth;
} }
else
goto skip_synth;
} }
else else
goto skip_synth; goto skip_synth;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment