From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E9F23857C4D; Thu, 7 Dec 2023 08:23:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E9F23857C4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701937400; bh=Qk7AM5ExKc78Wr4M0ux3zqzrCqH5m5jdGkhpn9dvJKI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uW9oD3QpBMm2nJWiNwtsQVuyQm8/jLQvtYyvfV24ETFXnyj9mV0d5PZeoCkMoMNfF 0ZKPi8AvEPoK9WVbKhuA6vn0Bqfvx5VHZh4fkJTGZChzZfAY1rN2SWlQIue3Q1/eum I1GEHp5l/Sdx033LDWSQhmFTRCiBfGMCkV3f4c2E= From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/112882] [14 Regression] std::clamp no longer usable in header only mode Date: Thu, 07 Dec 2023 08:23:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D112882 --- Comment #4 from Tamar Christina --- Awesome! Thanks for taking a look! > > It seems that undefining `_GLIBCXX_VERBOSE_ASSERT` gets it to go to > > `__builtin_abort()` which makes it work again. > >=20 > > If this change was intentional, would it be possible to make > > `_GLIBCXX_VERBOSE_ASSERT` user configurable? >=20 > You can use --disable-libstdcxx-verbose for that, or do you need to contr= ol > it during preprocessing? Yeah I meant during preprocessing, we distribute the library as source to client too, so would be harder if they'd also need to recompile the toolcha= in :) Thanks for the fixes!=