From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 23A5C3858D32; Thu, 2 Nov 2023 18:59:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23A5C3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698951540; bh=b8OWGYLiwiw4EiLICGfieh4+lfAEUlzFwiMP8/SG+UE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VdXSsuJz2SGGtoJg/YBArwjsZ3ZuHi+ucGW6cBvnS0m+AnSwgkHrwVROLmin0sUYt TvPzK2Jw6vs0LkuyLBqtmZi5EbVwo7RfgH3FuJvc1rZBKes0B/q4WwH3GfrinPZOcN 4Af7AA7vbViOff2nzvCJFaqWZCNKrwPU8UN8nUno= From: "muecker at gwdg dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment() Date: Thu, 02 Nov 2023 18:58:59 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: muecker at gwdg dot de 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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D112347 --- Comment #11 from Martin Uecker --- In this case this is by design because the size of an element should be sec= ond argument to calloc. ("The calloc function allocates space for an array of n= memb objects, each of whose size is size.")=