https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103978
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |10.1.0, 10.3.0, 7.1.0,
| |8.1.0, 9.1.0
Target Milestone|--- |11.3
Known to fail| |11.1.0, 11.2.0, 12.0
Summary|AddressSanitizer CHECK |[11/12 Regression]
|failed |AddressSanitizer CHECK
|../../../../src/libsanitize |failed
|r/asan/asan_thread.cpp:367 |../../../../src/libsanitize
|"((ptr[0] == |r/asan/asan_thread.cpp:367
|kCurrentStackFrameMagic)) |"((ptr[0] ==
|!= (0)" (0x0, 0x0) |kCurrentStackFrameMagic))
| |!= (0)" (0x0, 0x0)
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Works for me with GCC 7.1.0.
I didn't see any code different between GCC 10.3.0 and 11.1.0 even. So this has
to be a library issue.