From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5255F3858C56; Mon, 1 Apr 2024 04:33:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5255F3858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711946038; bh=l6iEARA2AMsaZK78bJyLJ2b56AsgQ1v4btswHFjaf50=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dsagAJA1AMt5PpMbKZSbBAKQpJ52pQVAq5Tlhsf/JLtwX55oPxWlwDxAEqtcxbDud XolGtzKSQyDU4C7PZ/ZuYsbHhYyz2YzbM4LfBjL8T96+Xp4XVTvPLKu25U0Ze62pis 7bgoouPShs3SYLZDw9euna+TYO9O2gmtN5uLdoWQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/44574] Avoid use of atoi Date: Mon, 01 Apr 2024 04:33:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: internal-improvement X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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=3D44574 --- Comment #5 from Andrew Pinski --- Note I filed PR 114540 for the usage in varasm.cc (decode_reg_name_and_coun= t)=20 as you can come up with a few testcases where we don't reject invalid regis= ters # when we should.=