http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59970
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |tree-optimization
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't think this is a GCC bug except for the unitialized predicates is not
working. The reason why it fails for -Og is because jump threading is disabled
as you want to be able to step through the code. -O1 must not decided jump
threading is profitable either.
For the unitialized predicates issue, it might be because switch statements are
not handled.