Commit b4c73eed by Kenneth Zadeck Committed by Kenneth Zadeck

combine.c (try_combine): Removed useless assert.

2013-03-28  Kenneth Zadeck <zadeck@naturalbridge.com>

	* combine.c (try_combine): Removed useless assert. 
	* cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens.

From-SVN: r197198
parent 9173cf24
2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* combine.c (try_combine): Removed useless assert.
* cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens.
2013-03-28 Marek Polacek <polacek@redhat.com> 2013-03-28 Marek Polacek <polacek@redhat.com>
Richard Biener <rguenther@suse.de> Richard Biener <rguenther@suse.de>
......
...@@ -2635,11 +2635,6 @@ try_combine (rtx i3, rtx i2, rtx i1, rtx i0, int *new_direct_jump_p, ...@@ -2635,11 +2635,6 @@ try_combine (rtx i3, rtx i2, rtx i1, rtx i0, int *new_direct_jump_p,
int offset = -1; int offset = -1;
int width = 0; int width = 0;
/* There are not explicit tests to make sure that this is not a
float, but there is code here that would not be correct if it
was. */
gcc_assert (GET_MODE_CLASS (GET_MODE (SET_SRC (temp))) != MODE_FLOAT);
if (GET_CODE (dest) == ZERO_EXTRACT) if (GET_CODE (dest) == ZERO_EXTRACT)
{ {
if (CONST_INT_P (XEXP (dest, 1)) if (CONST_INT_P (XEXP (dest, 1))
......
...@@ -1026,7 +1026,7 @@ rtx_equal_for_cselib_1 (rtx x, rtx y, enum machine_mode memmode) ...@@ -1026,7 +1026,7 @@ rtx_equal_for_cselib_1 (rtx x, rtx y, enum machine_mode memmode)
static rtx static rtx
wrap_constant (enum machine_mode mode, rtx x) wrap_constant (enum machine_mode mode, rtx x)
{ {
if ((!CONST_SCALAR_INT_P (x)) && GET_CODE (x) != CONST_FIXED) if (!CONST_SCALAR_INT_P (x) && GET_CODE (x) != CONST_FIXED)
return x; return x;
gcc_assert (mode != VOIDmode); gcc_assert (mode != VOIDmode);
return gen_rtx_CONST (mode, x); return gen_rtx_CONST (mode, x);
......
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