[Bug c++/82309] Compiled binary received SIGSEGV when -g

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 23 19:14:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82309

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The temp variable goes out if scope is the result of v0 + v1. And not the auto.
 IIRC -fsanitize=undefined will catch this.


More information about the Gcc-bugs mailing list