https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33086
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- I think it would be reasonable to issue a warning on the code in comment #3 (perhaps under -Wmaybe-uninitialized rather than -Wuninitialized). For uninitialized variables passed by reference to pure functions (that cannot change objects pointed to by their arguments) I think it would make sense to issue -Wunitialized. Based on comment #4 and on my understanding of the two reports resolving as a duplicate of bug 10138. *** This bug has been marked as a duplicate of bug 10138 ***