This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42145] bogus "may be used uninitialized" (a || b converted to a|b)
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Mar 2017 11:41:59 +0000
- Subject: [Bug tree-optimization/42145] bogus "may be used uninitialized" (a || b converted to a|b)
- Auto-submitted: auto-generated
- References: <bug-42145-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145
--- Comment #13 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #12)
> This is already fold-const.c transforming TRUTH_ANDIF into TRUTH_AND.
I cannot find the discussion now, but I think it was discussed in one of the
many duplicates that this is not wrong-code, but still it fools the
Wuninitialized code and it is a bug despite gcc generating correct code.