diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-02-21 10:33:49 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-02-21 10:33:49 +0100 |
commit | 7bcc6e758e039a4d6b2f9642d38217beffd1cdd9 (patch) | |
tree | a3adc5c0ebfe969edeaf00c02a48cf42ed614335 /gcc/expr.c | |
parent | 58edd811c65a5819556df49732bd9f547ccf3d3c (diff) | |
download | gcc-7bcc6e758e039a4d6b2f9642d38217beffd1cdd9.zip gcc-7bcc6e758e039a4d6b2f9642d38217beffd1cdd9.tar.gz gcc-7bcc6e758e039a4d6b2f9642d38217beffd1cdd9.tar.bz2 |
re PR inline-asm/56405 (ICE on questionable "m" argument)
PR inline-asm/56405
* expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't
use movmisalign or extract_bit_field for EXPAND_MEMORY modifier.
* gcc.c-torture/compile/pr56405.c: New test.
From-SVN: r196195
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9551,6 +9551,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, set_mem_addr_space (temp, as); align = get_object_alignment (exp); if (modifier != EXPAND_WRITE + && modifier != EXPAND_MEMORY && mode != BLKmode && align < GET_MODE_ALIGNMENT (mode) /* If the target does not have special handling for unaligned @@ -9639,6 +9640,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, if (TREE_THIS_VOLATILE (exp)) MEM_VOLATILE_P (temp) = 1; if (modifier != EXPAND_WRITE + && modifier != EXPAND_MEMORY && mode != BLKmode && align < GET_MODE_ALIGNMENT (mode)) { |