Commit 0597fb9c by Alan Modra Committed by Alan Modra

varasm.c (force_const_mem): Revert 2013-06-07 change.

	* varasm.c (force_const_mem): Revert 2013-06-07 change.

From-SVN: r200071
parent fffad99b
2013-06-14 Alan Modra <amodra@gmail.com>
* varasm.c (force_const_mem): Revert 2013-06-07 change.
2013-06-13 Jan Hubicka <jh@suse.cz>
* ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p):
......
......@@ -3639,8 +3639,7 @@ force_const_mem (enum machine_mode mode, rtx x)
*slot = desc;
/* Align the location counter as required by EXP's data type. */
gcc_checking_assert (mode != VOIDmode && mode != BLKmode);
align = GET_MODE_ALIGNMENT (mode);
align = GET_MODE_ALIGNMENT (mode == VOIDmode ? word_mode : 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