* [Bug c/105763] ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
@ 2022-05-28 22:50 ` dcb314 at hotmail dot com
2022-05-28 23:25 ` [Bug tree-optimization/105763] [13 Regression] " pinskia at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2022-05-28 22:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C code is
int rl2_decode_png_bit_depth;
int *rl2_decode_png_p_data;
void rl2_decode_png_row_pointers() {
unsigned sample_type = 0;
_setjmp();
switch (rl2_decode_png_bit_depth)
case 6:
sample_type = 7;
png_destroy_read_struct();
for (;;)
switch (sample_type)
case 3:
case 5:
*rl2_decode_png_p_data;
}
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
2022-05-28 22:50 ` [Bug c/105763] " dcb314 at hotmail dot com
@ 2022-05-28 23:25 ` pinskia at gcc dot gnu.org
2022-05-29 7:10 ` [Bug tree-optimization/105763] [13 Regression] ice in outgoing_edge_range_p, at gimple-range-gori.cc:1253 dcb314 at hotmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-05-28 23:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|12.0 |13.0
Target Milestone|--- |13.0
Summary|ice in |[13 Regression] ice in
|outgoing_edge_range_p, at |outgoing_edge_range_p, at
|gimple-ra nge-gori.cc:1253 |gimple-ra nge-gori.cc:1253
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ice in outgoing_edge_range_p, at gimple-range-gori.cc:1253
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
2022-05-28 22:50 ` [Bug c/105763] " dcb314 at hotmail dot com
2022-05-28 23:25 ` [Bug tree-optimization/105763] [13 Regression] " pinskia at gcc dot gnu.org
@ 2022-05-29 7:10 ` dcb314 at hotmail dot com
2022-05-30 10:07 ` [Bug tree-optimization/105763] [13 Regression] ice in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342 marxin at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2022-05-29 7:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[13 Regression] ice in |[13 Regression] ice in
|outgoing_edge_range_p, at |outgoing_edge_range_p, at
|gimple-ra nge-gori.cc:1253 |gimple-range-gori.cc:1253
CC| |amacleod at redhat dot com
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Git blame says:
90e88fd376bb (Andrew MacLeod 2020-10-06 12:12:53 -0400 1253)
gcc_checking_assert (gimple_range_ssa_p (name));
Adding author. Git commit 156d7d8dbc8d65d3958486bc4112a7279935e47d might be a
likely
candidate.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ice in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2022-05-29 7:10 ` [Bug tree-optimization/105763] [13 Regression] ice in outgoing_edge_range_p, at gimple-range-gori.cc:1253 dcb314 at hotmail dot com
@ 2022-05-30 10:07 ` marxin at gcc dot gnu.org
2022-05-30 11:10 ` [Bug tree-optimization/105763] [13 Regression] ICE " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-05-30 10:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-05-30
Summary|[13 Regression] ice in |[13 Regression] ice in
|outgoing_edge_range_p, at |outgoing_edge_range_p, at
|gimple-range-gori.cc:1253 |gimple-range-gori.cc:1253
| |since
| |r13-754-ga1c9f779f7528342
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |marxin at gcc dot gnu.org
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r13-754-ga1c9f779f7528342, let me take a look.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ICE in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
` (3 preceding siblings ...)
2022-05-30 10:07 ` [Bug tree-optimization/105763] [13 Regression] ice in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342 marxin at gcc dot gnu.org
@ 2022-05-30 11:10 ` rguenth at gcc dot gnu.org
2022-05-30 11:15 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-30 11:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will have a look.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ICE in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
` (4 preceding siblings ...)
2022-05-30 11:10 ` [Bug tree-optimization/105763] [13 Regression] ICE " rguenth at gcc dot gnu.org
@ 2022-05-30 11:15 ` rguenth at gcc dot gnu.org
2022-05-30 13:37 ` amacleod at redhat dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-30 11:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
It ICEs because ranger asserts on SSA_NAME_OCCURS_IN_ABNORMAL_PHI (for whatever
reason...). I have a fix.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ICE in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
` (5 preceding siblings ...)
2022-05-30 11:15 ` rguenth at gcc dot gnu.org
@ 2022-05-30 13:37 ` amacleod at redhat dot com
2022-06-01 7:08 ` cvs-commit at gcc dot gnu.org
2022-06-01 7:09 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: amacleod at redhat dot com @ 2022-05-30 13:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
--- Comment #6 from Andrew Macleod <amacleod at redhat dot com> ---
yeah, from times of yore when the small set of callers made sure it was only
invoked on useful cases. There were a lot of development asserts from initial
development.
There is no reason to trap, it can simply return false. ie
- gcc_checking_assert (gimple_range_ssa_p (name));
+ if (!gimple_range_ssa_p (name))
+ return false;
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ICE in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
` (6 preceding siblings ...)
2022-05-30 13:37 ` amacleod at redhat dot com
@ 2022-06-01 7:08 ` cvs-commit at gcc dot gnu.org
2022-06-01 7:09 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-06-01 7:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:ae575e93b6f7fb7077940cb7410f899da184ec2d
commit r13-873-gae575e93b6f7fb7077940cb7410f899da184ec2d
Author: Richard Biener <rguenther@suse.de>
Date: Mon May 30 13:19:38 2022 +0200
tree-optimization/105763 - avoid abnormals with ranger queries
In unswitching we use ranger to simplify switch statements so we
have to avoid doing anything for abnormals.
2022-05-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/105763
* tree-ssa-loop-unswitch.cc (find_unswitching_predicates_for_bb):
Check gimple_range_ssa_p.
* gcc.dg/pr105763.c: New testcase.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/105763] [13 Regression] ICE in outgoing_edge_range_p, at gimple-range-gori.cc:1253 since r13-754-ga1c9f779f7528342
2022-05-28 22:39 [Bug c/105763] New: ice in outgoing_edge_range_p, at gimple-ra nge-gori.cc:1253 dcb314 at hotmail dot com
` (7 preceding siblings ...)
2022-06-01 7:08 ` cvs-commit at gcc dot gnu.org
@ 2022-06-01 7:09 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-06-01 7:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105763
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread