* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
@ 2020-12-08 5:22 ` marxin at gcc dot gnu.org
2020-12-08 12:21 ` marxin at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-08 5:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |marxin at gcc dot gnu.org
Last reconfirmed| |2020-12-08
Priority|P3 |P1
Target Milestone|--- |11.0
Status|UNCONFIRMED |ASSIGNED
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
2020-12-08 5:22 ` [Bug tree-optimization/98182] " marxin at gcc dot gnu.org
@ 2020-12-08 12:21 ` marxin at gcc dot gnu.org
2020-12-08 20:03 ` cvs-commit at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-08 12:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Am testing a patch right now.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
2020-12-08 5:22 ` [Bug tree-optimization/98182] " marxin at gcc dot gnu.org
2020-12-08 12:21 ` marxin at gcc dot gnu.org
@ 2020-12-08 20:03 ` cvs-commit at gcc dot gnu.org
2020-12-08 20:04 ` marxin at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-12-08 20:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:f7251a2c103bc48775cb9726a4bebeaebde96684
commit r11-5863-gf7251a2c103bc48775cb9726a4bebeaebde96684
Author: Martin Liska <mliska@suse.cz>
Date: Tue Dec 8 13:18:37 2020 +0100
if-to-switch: fix matching of negative conditions
gcc/ChangeLog:
PR tree-optimization/98182
* gimple-if-to-switch.cc (pass_if_to_switch::execute): Request
chain linkage through false edges only.
gcc/testsuite/ChangeLog:
PR tree-optimization/98182
* gcc.dg/tree-ssa/if-to-switch-10.c: New test.
* gcc.dg/tree-ssa/pr98182.c: New test.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
` (2 preceding siblings ...)
2020-12-08 20:03 ` cvs-commit at gcc dot gnu.org
@ 2020-12-08 20:04 ` marxin at gcc dot gnu.org
2020-12-09 12:27 ` clyon at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-08 20:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
` (3 preceding siblings ...)
2020-12-08 20:04 ` marxin at gcc dot gnu.org
@ 2020-12-09 12:27 ` clyon at gcc dot gnu.org
2020-12-09 13:34 ` marxin at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-12-09 12:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
The new test if-to-switch-10.c fails on aarch64:
FAIL: gcc.dg/tree-ssa/if-to-switch-10.c scan-tree-dump iftoswitch "Condition
chain with [^\n\r]* BBs transformed into a switch statement."
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
` (4 preceding siblings ...)
2020-12-09 12:27 ` clyon at gcc dot gnu.org
@ 2020-12-09 13:34 ` marxin at gcc dot gnu.org
2020-12-09 13:35 ` marxin at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-09 13:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #5)
> The new test if-to-switch-10.c fails on aarch64:
> FAIL: gcc.dg/tree-ssa/if-to-switch-10.c scan-tree-dump iftoswitch "Condition
> chain with [^\n\r]* BBs transformed into a switch statement."
I can confirm that. The test will need --param case-values-threshold=5 as the
default for aarch64 is 17 if I see correctly.
Can you please check also the other test-cases (if-to-switch*.c), I bet they
will suffer from the same.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
` (5 preceding siblings ...)
2020-12-09 13:34 ` marxin at gcc dot gnu.org
@ 2020-12-09 13:35 ` marxin at gcc dot gnu.org
2020-12-09 13:44 ` clyon at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-09 13:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Let's reopen it now.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
` (6 preceding siblings ...)
2020-12-09 13:35 ` marxin at gcc dot gnu.org
@ 2020-12-09 13:44 ` clyon at gcc dot gnu.org
2020-12-09 14:26 ` cvs-commit at gcc dot gnu.org
2020-12-09 14:26 ` marxin at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-12-09 13:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
--- Comment #8 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Indeed if-to-switch-1.c fails on aarch64 too, the other ones pass.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
` (7 preceding siblings ...)
2020-12-09 13:44 ` clyon at gcc dot gnu.org
@ 2020-12-09 14:26 ` cvs-commit at gcc dot gnu.org
2020-12-09 14:26 ` marxin at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-12-09 14:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:33d2f41785b24ad43c5a9d52aa289e33ac838f86
commit r11-5883-g33d2f41785b24ad43c5a9d52aa289e33ac838f86
Author: Martin Liska <mliska@suse.cz>
Date: Wed Dec 9 15:24:36 2020 +0100
testsuite: fix 2 tests on aarch64
gcc/testsuite/ChangeLog:
PR tree-optimization/98182
* gcc.dg/tree-ssa/if-to-switch-1.c: Add case-values-threshold in
order to fix them for aarch64.
* gcc.dg/tree-ssa/if-to-switch-10.c: Likewise.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/98182] [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info)
2020-12-07 17:03 [Bug tree-optimization/98182] New: [11 Regression] ICE: Segmentation fault (in gimple_verify_flow_info) asolokha at gmx dot com
` (8 preceding siblings ...)
2020-12-09 14:26 ` cvs-commit at gcc dot gnu.org
@ 2020-12-09 14:26 ` marxin at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-09 14:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
Should be fixed now.
^ permalink raw reply [flat|nested] 11+ messages in thread