[Bug middle-end/79374] missing sometimes-uninitialized warning in switch statement
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 4 07:50:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79374
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
Depends on| |44042
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a dup of bug 44042. Basically we try to reduce the number of false
positives by optimizing before reporting a warning. This one case happens that
way. LLVM might have some false positives due to not optimizing first.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44042
[Bug 44042] [4.1/4.2/4.4/4.5/4.6 Regression] Missing warning for unitialized
varaible in switch statement
More information about the Gcc-bugs
mailing list