[Bug middle-end/72826] Poor diagnostic for uninitialized structure field

2016-08-06 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 --- Comment #3 from Manuel López-Ibáñez --- You can find out when things go wrong by using something like -fdump-tree-all-all-lineno

[Bug middle-end/72826] Poor diagnostic for uninitialized structure field

2016-08-06 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 --- Comment #2 from Zack Weinberg --- I can persuade it to print instead test2.cc:6:9: warning: ‘timer.countdownTimer::started’ is used uninitialized in this function [-Wuninitialized] by using -O1 instead of -O2 or by removing the line `st

[Bug middle-end/72826] Poor diagnostic for uninitialized structure field

2016-08-06 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org C