[Bug middle-end/82839] missing -Wmaybe-uninitialized warning

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82839 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/82839] missing -Wmaybe-uninitialized warning

2017-11-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82839 --- Comment #1 from Marc Glisse --- You can simplify the function to int ts; g(); *t = ts; h(&ts); Part of the analysis is not flow-sensitive: we see that ts escapes, we deduce that g() can write to it, so ts might be initialized and we