This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56029] [4.8 Regression] ICE: verify_gimple failed, location references block not in block tree
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Jan 2013 12:16:36 +0000
- Subject: [Bug tree-optimization/56029] [4.8 Regression] ICE: verify_gimple failed, location references block not in block tree
- Auto-submitted: auto-generated
- References: <bug-56029-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56029
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2013-01-18
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-18 12:16:36 UTC ---
It's the PHI arg location of
<integer_cst 0x7ffff47f59e0 type <pointer_type 0x7ffff6754d20> constant 0>
as seen after IPA inline transform.
Ah ...
FOR_EACH_PHI_ARG (arg_p, phi, i, SSA_OP_ALL_USES)
{
tree arg = USE_FROM_PTR (arg_p);
int index = PHI_ARG_INDEX_FROM_USE (arg_p);
tree block =
LOCATION_BLOCK (gimple_phi_arg_location (phi, index));
if (block != NULL)
TREE_USED (block) = true;
mark_all_vars_used (&arg);
}
well - that doesn't consider non-SSA args.