[Bug optimization/13681] [tree-ssa] ICE in get_expr_operands with out-of-bounds access

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 16 12:48:00 GMT 2004


------- Additional Comments From steven at gcc dot gnu dot org  2004-01-16 12:48 -------
Obviously, this is the patch that causes it. 
 
2003-12-01  Richard Henderson  <rth@redhat.com> 
 
        * tree-dfa.c (get_expr_operands): Don't handle PLUS_EXPR inside 
        INDIRECT_REF. 
        * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Use int_const_binop 
        (maybe_fold_offset_to_component_ref): Likewise. 
        (maybe_fold_stmt_indirect): Likewise. 
        (maybe_fold_stmt_plus): Expand ARRAY_REF when seen with addend. 
        * fold-const.c (int_const_binop): Export. 
        * tree.h (int_const_binop): Declare. 
 
Diego has offered to look at this. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|steven at gcc dot gnu dot   |dnovillo at redhat dot com
                   |org                         |


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



More information about the Gcc-bugs mailing list