https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
--- Comment #7 from Markus Trippelsdorf ---
markus@x4 ~ % clang++ -fsanitize=undefined -O0 -g t.cc
markus@x4 ~ % gdb ./a.out
Reading symbols from ./a.out...done.
(gdb) b __ubsan::ScopedReport::~ScopedReport
Breakpoint 1 at 0x41f5c0: file
/home/ma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
Markus Trippelsdorf changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
TC changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #5 from TC ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
--- Comment #4 from Jonathan Wakely ---
I'm not sure, but I don't yet see how _M_state wouldn't get initialized.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
Richard Kettlewell changed:
What|Removed |Added
CC||richard+gcc at sfere dot
greenend.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
--- Comment #2 from Jonathan Wakely ---
It's initialized by the ios_base constructor in src/c++11/ios.cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
--- Comment #1 from Matthias Klose ---
the runtime warnings are not shown when building with g++-5.