public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66264] New: [untaken optimization] switch & enums without default-case
@ 2015-05-23 17:58 jk3064 at arcor dot de
  2015-05-26 10:49 ` [Bug tree-optimization/66264] " rguenth at gcc dot gnu.org
  2015-05-28 14:12 ` jamborm at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jk3064 at arcor dot de @ 2015-05-23 17:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66264

            Bug ID: 66264
           Summary: [untaken optimization] switch & enums without
                    default-case
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jk3064 at arcor dot de
  Target Milestone: ---

example:
https://goo.gl/UFYF6G

Even when the switch() contains all enums, it won't use a lookuptable when no
default-case is given.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-28 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-23 17:58 [Bug c++/66264] New: [untaken optimization] switch & enums without default-case jk3064 at arcor dot de
2015-05-26 10:49 ` [Bug tree-optimization/66264] " rguenth at gcc dot gnu.org
2015-05-28 14:12 ` jamborm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).