https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87925
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87925
--- Comment #6 from Martin Liška ---
(In reply to Eyal Rozenberg from comment #5)
> (In reply to Martin Liška from comment #3)
> > Currently we only do switch -> balanced decision tree (read series of
> > if-then-else statements). Well
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87925
--- Comment #5 from Eyal Rozenberg ---
(In reply to Martin Liška from comment #3)
> Currently we only do switch -> balanced decision tree (read series of
> if-then-else statements). Well definitely a potentially enhancement,
> question is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87925
--- Comment #4 from Martin Liška ---
(In reply to Eyal Rozenberg from comment #0)
> Have a look at this GodBolt example: https://gcc.godbolt.org/z/zR03rA
>
> On one hand, we have:
>
> void foo(int i) {
> switch (i) {
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87925
Martin Liška changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #3 from Martin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87925
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization