https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93058
--- Comment #1 from Sergei Trofimovich ---
Th important bits seems to be:
gcc/testsuite/g++.dg/asan/asan_test.cc:129:22: error: writing 1 byte into a
region of size 0 [-Werror=stringop-overflow=]
I think it happens because glibc marks pvallo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93058
--- Comment #2 from Martin Sebor ---
Suppressing the warning for the whole test should definitely work and seems to
me like a reasonable way to deal with the failure.
The alloc_size attribute the warning relies on doesn't provide for the roundin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93058
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93058
--- Comment #4 from Sergei Trofimovich ---
(In reply to Martin Liška from comment #3)
> @Sergei: Can you please send a patch for this?
Sent as https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01642.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93058
Sergei Trofimovich changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---