[Bug tree-optimization/71520] Missing cross-jumping of switch cases

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71520

Andrew Pinski  changed:

   What|Removed |Added

   Severity|normal  |enhancement
   Keywords||missed-optimization

[Bug tree-optimization/71520] Missing cross-jumping of switch cases

2018-11-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71520

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|jakub at gcc dot gnu.org   |unassigned at gcc dot 
gnu.org

--- Comment #6 from Jakub Jelinek  ---
The second issue in #c0 is I believe not resolved.

[Bug tree-optimization/71520] Missing cross-jumping of switch cases

2018-11-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71520

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #5 from Martin Liška  ---
Jakub: Can the bug be marked as resolved?

[Bug tree-optimization/71520] Missing cross-jumping of switch cases

2016-06-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71520

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Tue Jun 14 10:20:04 2016
New Revision: 237427

URL: https://gcc.gnu.org/viewcvs?rev=237427=gcc=rev
Log:
PR tree-optimization/71520
* tree-ssa-tail-merge.c (find_duplicate): Handle labels.
(replace_block_by): Move user labels from bb1 to bb2.

* gcc.dg/tree-ssa/pr71520.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr71520.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-tail-merge.c

[Bug tree-optimization/71520] Missing cross-jumping of switch cases

2016-06-13 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71520

Thomas Schwinge  changed:

   What|Removed |Added

 CC||tschwinge at gcc dot gnu.org

--- Comment #3 from Thomas Schwinge  ---
Out of interest, I've also started to look into GIMPLE_SWITCH issues a bit, at
the end of last week (low priority for me, though).  One of my test cases
should be similar to the one you're addressing with your patch; will test.

[Bug tree-optimization/71520] Missing cross-jumping of switch cases

2016-06-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71520

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek  ---
Created attachment 38693
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38693=edit
gcc7-pr71520.patch

Untested fix for the first issue.

[Bug tree-optimization/71520] Missing cross-jumping of switch cases

2016-06-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71520

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-06-13
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Confirmed.