From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E64043834F0D; Sat, 11 Jun 2022 15:25:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E64043834F0D From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29240] [gcc 4.8, m32] FAIL: gdb.base/align-c.exp: print _Alignof(long long) Date: Sat, 11 Jun 2022 15:25:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2022 15:25:44 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29240 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > This looks like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69560 , wh= ich > was fixed in gcc 8.1.0. Curious that I don't run into it with system gcc > 7.5.0, but perhaps it was backported in the package. A standalone reproducer: ... $ cat align.c #include unsigned a_long_long =3D _Alignof (long long); int main () { printf ("%d\n", a_long_long); return 0; } ... Fails with gcc 4.8 (prints 8): ... $ gcc-4.8 align.c -m32 && ./a.out 8 ... Passes with system gcc 7.5.0 (prints 4): ... $ gcc align.c -m32 && ./a.out 4 ... Also passes (prints 4) with a regular gcc 7.5.0 build: ... $ ./install/bin/gcc /home/vries/gdb_versions/devel/align.c -m32 $ ./a.out=20 4 .... so this is not related to the package. --=20 You are receiving this mail because: You are on the CC list for the bug.=