This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34093] ICE in ssa_operand_alloc, at tree-ssa-operands.c:484
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [Bug tree-optimization/34093] ICE in ssa_operand_alloc, at tree-ssa-operands.c:484
- References: <bug-34093-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2008-01-02 12:37 -------
Subject: Bug 34093
Author: rguenth
Date: Wed Jan 2 12:35:38 2008
New Revision: 131257
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131257
Log:
2008-01-02 Richard Guenther <rguenther@suse.de>
PR middle-end/34093
PR middle-end/31976
* tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer
for very large number of operands instead of ICEing.
* gcc.c-torture/compile/pr34093.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr34093.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-operands.c
------- Comment #6 from rguenth at gcc dot gnu dot org 2008-01-02 15:37 -------
Re-opening bug as a remainder that there's something to fix/improve with
partitioning heuristics ...
------- Comment #7 from rguenth at gcc dot gnu dot org 2008-01-02 15:41 -------
... for Diego.
Basically the partitioner somehow needs to be able to guarantee a maximum
number of virtual operands per stmt. At the moment it tries to constrain
the _average_ number of virtual operands per stmt, where the sanity check
in tree-ssa-operands.c sets an upper bound to the number of virtual
operands per stmt. These two do not match in degenerate cases, which triggers
the ICE.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|[4.3 Regression] ICE in |ICE in ssa_operand_alloc, at
|ssa_operand_alloc, at tree- |tree-ssa-operands.c:484
|ssa-operands.c:484 |
Target Milestone|4.3.0 |---
AssignedTo|rguenth at gcc dot gnu dot |dnovillo at gcc dot gnu dot
|org |org
Severity|blocker |normal
Status|REOPENED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34093