[Bug sanitizer/118040] GCC's Address Sanitizer misses 'global-buffer-overflow',while clang can detect it

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 14 09:07:21 GMT 2024


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Just happens the order of variables layout is different between GCC and clang.
Note I will note clang has 2 different layouts too, one for C and one for C++.


More information about the Gcc-bugs mailing list