From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61D553858D20; Sun, 9 Jun 2024 08:59:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61D553858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717923574; bh=snC8AaxqrMZT12XT5Z2qEMsQ6C5uPDu8Xb69ejHULkc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tCi2NAOH0xHfwVmWFm3MXECylxAnXId97geWxopv95yzAho0ylAME/AXoNsI6Jhaj cTIYs9Eg36QU3FD+FYqqpePTiqhtofpJAob6S2k2kXcylWe0ndftUfsO5h8PQwO5Uc Il+RW/govPxeWmi9YtoYduG73ieKHajuw5UCOa28= From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/115403] [15 Regression] highway build from git fails with 'target specific option mismatch' since r15-902-geff00046409a72 Date: Sun, 09 Jun 2024 08:59:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org 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: attachments.created 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=3D115403 --- Comment #1 from Sergei Trofimovich --- Created attachment 58388 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D58388&action=3Dedit float_test.cc.cc.xz Attaching preprocessed file. It fails as: $ g++ -O2 -std=3Dc++17 -c float_test.cc.cc float_test.cc.cc: In function 'constexpr bool hwy::ScalarIsInf(T) [with T = =3D float16_t]': float_test.cc.cc:15617:108: error: inlining failed in call to 'always_inlin= e' 'constexpr To hwy::BitCastScalar(const From&) [with To =3D short unsigned i= nt; >From =3D float16_t; EnableIf<((bool)(! IsSpecialFloat()))>* = =3D 0]': target specific option mismatch 15617 | ine)) __attribute__((flatten)) __attribute__((unused)) constexpr To BitCastScalar(const From& val) { |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~ float_test.cc.cc:16478:43: note: called from here 16478 | return static_cast(BitCastScalar(static_cast(val)) <<= 1) =3D=3D | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~=