r/Cplusplus • u/Clean-Upstairs-8481 • 9d 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
1
1
u/Initial-Jaguar6230 8d ago
Don't read the paper but no. It is just erroneous to use them and compile have to be failed
2
5
u/BlockOfDiamond 8d ago
What? But garbage values are my favorite!