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 optimization/13681] [tree-ssa] ICE in get_expr_operands with out-of-bounds access


------- 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


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