From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 68A583858D35; Sun, 7 May 2023 20:17:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68A583858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683490654; bh=qWbGVGYrvfJVMAZbDvRvU9+dzWHA6Rf3O32MdNjs71g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HUC2GzUSBb2FQaX9Y2gpphX4Ssqw6hctF1Cm/nmJhhQ2ycCGwuHvbt0ExcPRQ/3Yc lcLide0+9Hdil/zUWnoek4sk4MFDaBvhMe4toGeJ4N9GWM3SgsGBAFUHnERIZ7pdGY QIY5vzwdyTA/bkEraVBqI+pQ+ltEXUnXB8EcP6zM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109762] [12/13 Regression] gcc/config/aarch64/aarch64-builtins.cc: mismatched sizes for flags variables Date: Sun, 07 May 2023 20:17:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 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=3D109762 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:fc79c3a273a8fd7c1b57cd8b01a699ad2640f51c commit r13-7304-gfc79c3a273a8fd7c1b57cd8b01a699ad2640f51c Author: Andrew Pinski Date: Sun May 7 01:38:17 2023 +0000 [GCC 13] Fix aarch64/109762: push_options/push_options does not work sometimes aarch64_isa_flags (and aarch64_asm_isa_flags) are both aarch64_feature_flags (uint64_t) but since r12-8000-g14814e20161d, they are saved/restored as unsigned l= ong. This does not make a difference for LP64 targets but on ILP32 and LLP64IL32 targets, it means it does not get restored correctly. This patch changes over to use aarch64_feature_flags instead of unsigned long. Committed as obvious to gcc 13 branch after a bootstrap/test. gcc/ChangeLog: PR target/109762 * config/aarch64/aarch64-builtins.cc (aarch64_simd_switcher::aarch64_simd_switcher): Change argument type to aarch64_feature_flags. * config/aarch64/aarch64-protos.h (aarch64_simd_switcher): Chan= ge constructor argument type to aarch64_feature_flags. Change m_old_asm_isa_flags to be aarch64_feature_flags. (cherry picked from commit a1a9ce2441df0675540faee8476523164e12578b)=