Commit 961ce119 by Alan Modra Committed by Alan Modra

varasm.c (force_const_mem): Assert mode is not VOID or BLK.

	* varasm.c (force_const_mem): Assert mode is not VOID or BLK.

From-SVN: r199804
parent cb8ac9d0
2013-06-07 Alan Modra <amodra@gmail.com>
* varasm.c (force_const_mem): Assert mode is not VOID or BLK.
2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/constraints.md (Df): New constraint.
......
......@@ -3567,7 +3567,8 @@ force_const_mem (enum machine_mode mode, rtx x)
*slot = desc;
/* Align the location counter as required by EXP's data type. */
align = GET_MODE_ALIGNMENT (mode == VOIDmode ? word_mode : mode);
gcc_checking_assert (mode != VOIDmode && mode != BLKmode);
align = GET_MODE_ALIGNMENT (mode);
#ifdef CONSTANT_ALIGNMENT
{
tree type = lang_hooks.types.type_for_mode (mode, 0);
......
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