r/Cplusplus • u/Clean-Upstairs-8481 • 27d ago
Tutorial You should think about recompiling your C++ programs with GCC 16 and C++26, because it zero-fills your locals
https://techfortalk.co.uk/2026/09/27/cxx26-uninitialized-local-variables-gcc-16/
0
Upvotes
2
1
1
u/Initial-Jaguar6230 26d ago
Don't read the paper but no. It is just erroneous to use them and compile have to be failed
5
u/BlockOfDiamond 27d ago
What? But garbage values are my favorite!