https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[13/14 regression] |[13/14 regression] |False-positive |False-positive |-Wstringop-overflow when |-Wstringop-overflow when |building gdb from trunk |building gdb from trunk | |with -D_GLIBCXX_ASSERTIONS --- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- Oh, interesting. It needs -D_GLIBCXX_ASSERTIONS (which my gcc has on by default) to trigger.