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
* [Bug tree-optimization/66264] [untaken optimization] switch & enums without default-case
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 ` rguenth at gcc dot gnu.org
2015-05-28 14:12 ` jamborm at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-26 10:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66264
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
CC| |jamborm at gcc dot gnu.org
Component|c++ |tree-optimization
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Should be switch-conversion doing the job?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/66264] [untaken optimization] switch & enums without default-case
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
1 sibling, 0 replies; 3+ messages in thread
From: jamborm at gcc dot gnu.org @ 2015-05-28 14:12 UTC (permalink / raw)
To: gcc-bugs
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.
^ 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).