This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/65686] [5/6 regression] inconsistent warning maybe-uninitialized: warn about 'unsigned', not warn about 'int'
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Jun 2015 11:50:03 +0000
- Subject: [Bug middle-end/65686] [5/6 regression] inconsistent warning maybe-uninitialized: warn about 'unsigned', not warn about 'int'
- Auto-submitted: auto-generated
- References: <bug-65686-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65686
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |13962
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note that you are basically relying on optimization to remove the uninitialized
load.
Where does this obfuscated 'return *(e->pu)' come from?
Related to PR13962 (to simplify the compare to false)
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13962
[Bug 13962] [tree-ssa] make "fold" use alias information to optimize pointer
comparisons