[Bug middle-end/52074] ICE: RTL flag check: MEM_VOLATILE_P used with unexpected rtx code 'plus' in extract_fixed_bit_field, at expmed.c:1734
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 9 17:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52074
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 17:28:30 UTC ---
Author: jakub
Date: Thu Feb 9 17:28:22 2012
New Revision: 184060
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184060
Log:
Backported from mainline
2012-02-07 Jakub Jelinek <jakub@redhat.com>
PR middle-end/52074
* expr.c (expand_expr_addr_expr_1): For CONSTANT_CLASS_P or CONST_DECL
if modifier < EXPAND_SUM call force_operand on the result.
* gcc.c-torture/compile/pr52074.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr52074.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/expr.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list