From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0B662385B51E; Fri, 17 Mar 2023 14:54:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B662385B51E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679064848; bh=5dFoy7PDpg0TTMV4e6p9DtbbWFcHLPGIb1M1fl4QjKM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RCRdB4WBM1+mk6BVf2MsOfORbTy/Dr8bCXFe+K6UBoDyGEWXGoB/8xavgwu4w1yAZ rqfCuyB8rivGGHvXCrjobTAhth7Ql2rZXTJLwWdTvnAqSwmZTFJ547R8thRPCovB0X aHtlqy9bN5AmEhdcJFGZIenul+xDH2zNd9nEbUGs= From: "malat at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109175] error: 'void* __builtin_memset(void*, int, long unsigned int)' writing 4 or more bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] Date: Fri, 17 Mar 2023 14:54:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: malat at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109175 --- Comment #1 from Mathieu Malaterre --- Created attachment 54694 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54694&action=3Dedit Preprocessed source gcc-13 % /usr/lib/gcc-snapshot/bin/g++ -save-temps=3Dobj -DHWY_SHARED_DEFINE -I"/home/malat/highway-1.0.4~git20230308.a1d7764" -g -O2 -ffile-prefix-map=3D/home/malat/highway-1.0.4~git20230308.a1d7764=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security -DHWY_BROKEN_EM= U128=3D0 -Wdate-time -D_FORTIFY_SOURCE=3D2 -fPIE -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=3D\"redacted\" -D__TIMESTAMP__=3D\"redacted\" -D__TIME__=3D\"red= acted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -fmath-errno -fno-exceptions -Werror -DHWY_IS_TEST=3D1 -DGTEST_HAS_PTHREAD=3D1 -MD -MT CMakeFiles/convert_test.dir/hwy/tests/convert_test.cc.o -MF CMakeFiles/convert_test.dir/hwy/tests/convert_test.cc.o.d -o CMakeFiles/convert_test.dir/hwy/tests/convert_test.cc.o -c '/home/malat/highway-1.0.4~git20230308.a1d7764/hwy/tests/convert_test.cc'=