Commit e11b709d by Bernd Edlinger Committed by Bernd Edlinger

expr.c (store_field): Change gcc_assert to gcc_checking_assert.

2018-08-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>
 
	* expr.c (store_field): Change gcc_assert to gcc_checking_assert.

From-SVN: r263665
parent be3cfb9d
2018-08-20 Bernd Edlinger <bernd.edlinger@hotmail.de> 2018-08-20 Bernd Edlinger <bernd.edlinger@hotmail.de>
* expr.c (store_field): Change gcc_assert to gcc_checking_assert.
2018-08-20 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR target/86984 PR target/86984
* expr.c (expand_assignment): Assert that bitpos is positive. * expr.c (expand_assignment): Assert that bitpos is positive.
(store_field): Likewise (store_field): Likewise
......
...@@ -7047,7 +7047,7 @@ store_field (rtx target, poly_int64 bitsize, poly_int64 bitpos, ...@@ -7047,7 +7047,7 @@ store_field (rtx target, poly_int64 bitsize, poly_int64 bitpos,
} }
/* Store the value in the bitfield. */ /* Store the value in the bitfield. */
gcc_assert (known_ge (bitpos, 0)); gcc_checking_assert (known_ge (bitpos, 0));
store_bit_field (target, bitsize, bitpos, store_bit_field (target, bitsize, bitpos,
bitregion_start, bitregion_end, bitregion_start, bitregion_end,
mode, temp, reverse); mode, temp, reverse);
......
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