https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61112
--- Comment #9 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #8) > I've added both the passing test case from comment #0 and the still failing > test case from comment #5 to the test suite and xfailed the latter (thus > reconfirming for GCC 11). Without any further analysis, the comment #5 test > case also looks similar to pr99756. I think the '||' is a red-herring or insufficient to explain the PR. The following also warns: int p; void foo (int x, int y, int z, int a) { int w; if (x) w = z; if (y) w = 10; if (a) w = 67; if (x) p = w; }