From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA0673858C41; Thu, 4 Jan 2024 13:31:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA0673858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704375088; bh=7L3l293yKvk+2ODsoVEYUg7UIx3OwSw0BNZdFj5Q6OA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L8rDXbYuUpXAEuJFsQvSN0wtzOTbuRwz4EyAgYVrkX+df8+H0dZKK9QbcSXk+jqfy vtbCpYTK9ZqW+ZB8r3opwZIapfLuYmXjgIUUjXUx8c7S5ri3BQx8igcsFXPi7YRe38 49EARGxW+axC4nByYRax0Os324goQFZHLKk/247U= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113233] LoongArch: target options from LTO objects not respected during linking Date: Thu, 04 Jan 2024 13:31:28 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_gcctarget cf_reconfirmed_on cc everconfirmed bug_status 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=3D113233 Xi Ruoyao changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |loongarch* Last reconfirmed| |2024-01-04 CC| |xry111 at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Xi Ruoyao --- Confirm. But option save/restore has been always implemented: .section .gnu.lto_.opts,"",@progbits .ascii "'-fno-openmp' '-fno-openacc' '-fno-pie' '-fcf-protection" .ascii "=3Dnone' '-mabi=3Dlp64d' '-march=3Dloongarch64' '-mfpu=3D64' '= -m" .ascii "simd=3Dlasx' '-mcmodel=3Dnormal' '-mtune=3Dloongarch64' '-flto" .ascii "'\000" So -msimd=3Dlasx is correctly recorded. Not sure why it does not work.=