From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 92CAB3858D35; Wed, 24 Jun 2020 20:01:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92CAB3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593028865; bh=PBafvcnr7fiEibOFLJNS/qA0BzU/DtCQKVHOb4/qz1Y=; h=From:To:Subject:Date:From; b=AGIV7wXsWi7KEznHLNxbyXYWqOweL0AX1PQXdncgCHHTXn4Y31jQ+A0f/cYD5KvrQ m6ZBb7AKnmxZr7q3QBXGpOLxsVGWeQkMBsggXERsS70NmB33IVM09jm9BpsFmGRd1n eUXdk52zQm46/HPJLU52LJuNSfGWHJKIGgCd5nLE= From: "skpgkp2 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/95885] New: LOCAL_DECL_ALIGNMENT macro documentation is incorrect. Date: Wed, 24 Jun 2020 20:01:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: skpgkp2 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 cf_gcctarget 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2020 20:01:05 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95885 Bug ID: 95885 Summary: LOCAL_DECL_ALIGNMENT macro documentation is incorrect. Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: skpgkp2 at gmail dot com Target Milestone: --- Target: x86_64-*-* i?86-*-* LOCAL_DECL_ALIGNMENT Macro documentation 1172 @defmac LOCAL_DECL_ALIGNMENT (@var{decl}) 1173 If defined, a C expression to compute the alignment for a local 1174 variable @var{decl}. 1175=20 1176 If this macro is not defined, then 1177 @code{LOCAL_ALIGNMENT (TREE_TYPE (@var{decl}), DECL_ALIGN (@var{decl}= ))} 1178 is used. 1179=20 1180 One use of this macro is to increase alignment of medium-size data to 1181 make it all fit in fewer cache lines. 1182=20 1183 If the value of this macro has a type, it should be an unsigned type. 1184 @end defmac This macro not only increases alignment but also decreases(-m32 -mpreferred-stack-boundary=3D2) depending on condition.=