[Bug tree-optimization/66264] [untaken optimization] switch & enums without default-case

2017-11-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66264 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/66264] [untaken optimization] switch & enums without default-case

2015-12-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66264 --- Comment #3 from Andrew Pinski --- enum Foo { A,B,C,D }; int square(Foo f) { switch (f) { case A: return 33; case B: return 24; case C: return 857; case D: return 980; //default: return 0; }; //return 0; //

[Bug tree-optimization/66264] [untaken optimization] switch & enums without default-case

2015-12-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66264 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/66264] [untaken optimization] switch enums without default-case

2015-05-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66264 --- Comment #2 from Martin Jambor jamborm at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) Should be switch-conversion doing the job? Yes, I think so. I'll try to have a look in the near future.

[Bug tree-optimization/66264] [untaken optimization] switch enums without default-case

2015-05-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66264 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|