This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/88019] [9 Regression] ICE in gimplify_modify_expr, at gimplify.c:5779
- 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: Wed, 14 Nov 2018 09:11:32 +0000
- Subject: [Bug tree-optimization/88019] [9 Regression] ICE in gimplify_modify_expr, at gimplify.c:5779
- Auto-submitted: auto-generated
- References: <bug-88019-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88019
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ah well, the usual -ftrapv issue with COND_EXPRs.
#13 0x0000000000b2ff19 in create_empty_if_region_on_edge (
entry_edge=<edge 0x7ffff6600420 (28 -> 33)>,
condition=<lt_expr 0x7ffff686fb68>)
at /space/rguenther/src/gcc-slpcost/gcc/cfgloopmanip.c:704
(gdb) p debug_generic_expr (condition)
(if (graphite_IV.511_52 != 0)
{
iftmp.512 = _42 + -2;
}
else
{
iftmp.512 = 0;
}) < (graphite_IV.511_52 != 0 ? graphite_IV.511_52 /[ex] 4 + -2 : 0) + 1
the issue is the COND_EXPRs here. That's fixable with
rewrite_to_non_trapping_overflow "easily".