This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/61409] [5/6/7 regression] -Wmaybe-uninitialized false-positive with -O2
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Aug 2016 15:12:11 +0000
- Subject: [Bug middle-end/61409] [5/6/7 regression] -Wmaybe-uninitialized false-positive with -O2
- Auto-submitted: auto-generated
- References: <bug-61409-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aldyh at gcc dot gnu.org
--- Comment #18 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #16)
> AFAICT tree-ssa-uninit won't look at the predicate associated with an
> undefined PHI argument and test it against the predicate for the actual use.
>
> ie, given this PHI from the testcase:
>
> ;; basic block 6, loop depth 0
> ;; pred: 9
> ;; 5
> # ptr_1 = PHI <ptr_5(D)(9), ptr_9(5)>
>
> We want to look at the control dependent path that leads to the edge (9,5).
> For this test, that edge is control dependent on bb2:
Jeff, do you mean edge(9,6) throughout? Because I don't see any flow of
control from 9->5.