[Bug middle-end/80152] Not warning anymore about usage of uninitialized variables

2017-03-22 Thread slomo at coaxion dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80152 --- Comment #5 from Sebastian Dröge --- Because the value of uninitialized variables is implementation-defined, and as such gcc can freely set it to anything that it wants? That would explain it then, yes. Thanks

[Bug middle-end/80152] Not warning anymore about usage of uninitialized variables

2017-03-22 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80152 --- Comment #4 from Marc Glisse --- (In reply to Sebastian Dröge from comment #3) > But even after optimization, there would be the argc!=1 code path left, > which uses the uninitialized foo. No, the optimization sets foo to 1 always, and argc i

[Bug middle-end/80152] Not warning anymore about usage of uninitialized variables

2017-03-22 Thread slomo at coaxion dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80152 --- Comment #3 from Sebastian Dröge --- But even after optimization, there would be the argc!=1 code path left, which uses the uninitialized foo.

[Bug middle-end/80152] Not warning anymore about usage of uninitialized variables

2017-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80152 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/80152] Not warning anymore about usage of uninitialized variables

2017-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80152 Richard Biener changed: What|Removed |Added Blocks||24639 --- Comment #1 from Richard Biene