This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/59970] Bogus warnings at low optimization levels
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jan 2014 21:22:06 +0000
- Subject: [Bug tree-optimization/59970] Bogus warnings at low optimization levels
- Auto-submitted: auto-generated
- References: <bug-59970-4 at http dot gcc dot gnu dot org/bugzilla/>
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.