From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F4273858CDB; Fri, 24 Mar 2023 05:45:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F4273858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679636720; bh=H3/NZ/LFtp+BUSl6JTYEAgZzgA5fYXxsLyrn3mrWjfg=; h=From:To:Subject:Date:From; b=OvyX50yvvIjNcC6d6HpS36s7UMb6EWgz6GCgSMMKfUBzGHeWiLlUB0x1koM1xHcnX b6C82aa/uLvOrVv+taqscvUy3MbFPIrEMOkpNHY/a8iGOQooNLEnxVo+9bRwu/Uwte r10a+YBVo4k1gepweD1SiIPiKFXoX/1CAnpRymCs= From: "arthur200126 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/109270] New: ssp/ssp.h should be adapted to use __builtin_dynamic_object_size() Date: Fri, 24 Mar 2023 05:45:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arthur200126 at gmail dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D109270 Bug ID: 109270 Summary: ssp/ssp.h should be adapted to use __builtin_dynamic_object_size() Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: arthur200126 at gmail dot com Target Milestone: --- GCC 12.0 introduced __builtin_dynamic_object_size() in support of Glibc's _FORTIFY_SOURCE 3, but gcc's own implementation in libssp/ssp/ssp.h.in still lags behind in using the new builtin as of commit 378ec7b. GCC should use t= he new stuff for its __ssp_bos{,0} definitions at level 3.=