https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103899
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2022-01-05 CC| |aldyh at gcc dot gnu.org --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > Reduced testcase: > int h; > int l (); > int *k (); > void nn (); > void expand_expr_real_1 (int *exp) > { > int m; > int *context; > m = 2; > if (h || !exp) > m = l (); > if (exp) > context = k (); > if (exp && context && context[0] == 0) > if (m == 0) > nn (); > } > ----- CUT ---- > Compile with "-O2 -W -Wall -Werror", there is no warning but once you add > -fprofile-generate there is an uninitialized warning for context. > There is a missing jump threading on the trunk which is causing the warning > to show up. Started with r12-4790-g4b3a325f07acebf4, may I remove needs-bisection Keyword?