[Bug rtl-optimization/91898] [optimization] switch statements for state machines could be better

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91898 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-09-25 00:00:00 |2021-8-14 Severity|normal

[Bug rtl-optimization/91898] [optimization] switch statements for state machines could be better

2019-09-25 Thread nathan at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91898 --- Comment #4 from Nathan Sidwell --- Created attachment 46941 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46941&action=edit another example thanks, yup. I had a slightly different example ready to go (attached) Rather than a single s

[Bug rtl-optimization/91898] [optimization] switch statements for state machines could be better

2019-09-25 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91898 --- Comment #3 from Michael Matz --- For purposes of discussion, let's make a full example: % cat ex.c int get(int); int foo (int a, int *ary) { //void *labelsy[] = {&&lab1, &&lab2, &&lab3, &&lab_end}; //int ary[] = {0, 1, 2, 3}; int i = 0

[Bug rtl-optimization/91898] [optimization] switch statements for state machines could be better

2019-09-25 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91898 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #2 fr

[Bug rtl-optimization/91898] [optimization] switch statements for state machines could be better

2019-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91898 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|