This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52074

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-07 09:22:55 UTC ---
Author: jakub
Date: Tue Feb  7 09:22:51 2012
New Revision: 183956

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183956
Log:
    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:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr52074.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]