From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6E8923858C33; Wed, 19 Jul 2023 13:51:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E8923858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689774686; bh=cpKd+25KnDwohh6WHwoCsTPzjrDYbw15JEhH/KfhKAM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=a3hZu7dXcPQQfruu6QzuIVrwHJzuJFfy0zePpf8xBeY52PzP3qpwj+IMvqjQem4Iz 4uN0Qyd41rRk4iccrN/3YopnsAnD3td86lLGxuyBpMD5O7DiLl6xiyNxm8DNr2thfD Tfv2hE2u9fzJqzUUUzI95o9ChifoHf6xl8nKeOzc= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/110653] Support std::stoi etc. without C99 APIs Date: Wed, 19 Jul 2023 13:51:26 +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: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110653 --- Comment #19 from Jonathan Wakely --- (In reply to dave.anglin from comment #18) > The stof.cc and stold.cc tests fail in try-catch. Yes, my suggested patch in comment 12 was wrong, because it only set errno = on error and didn't throw an exception. What I committed should be OK.=