This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13681] [tree-ssa] ICE in get_expr_operands with out-of-bounds access
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2004 12:48:20 -0000
- Subject: [Bug optimization/13681] [tree-ssa] ICE in get_expr_operands with out-of-bounds access
- References: <20040114153700.13681.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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