From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7A35F3858D1E; Tue, 3 Jan 2023 18:52:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A35F3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672771963; bh=2ETt/CVG7654bXK88J9ecSQWRacR8ACc2as6PfDNHck=; h=From:To:Subject:Date:From; b=PWGnfbf8LUBunLFC5q92r5DqonOSbuIA9M8WbmHaoEDOuET/V8exJqReg4SPsowjY HNE+5Hi5jZteNPocwnmoPw4LoSAtdXZJBg2UEfLs47FtuxuKCVWb6FNrNuAQAJRdZi t2DAJzhy+eE9mBECAlkTi2LVhfjCVtlfUAz5q4UY= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108278] New: runtime error with -O1 -Wall Date: Tue, 03 Jan 2023 18:52:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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=3D108278 Bug ID: 108278 Summary: runtime error with -O1 -Wall Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 54182 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54182&action=3Dedit gzipped C++ source code The attached C++ code does this: $ ../results/bin/g++ -c -O1 -Wall bug872.cc=20 ../../trunk.d1/gcc/poly-int.h:753:21: runtime error: signed integer overflo= w: 4611686018427387903 * 8 cannot be represented in type 'long int' $=20 The bug first seems to occur sometime between git hash d423e8dc59045d8f, from a couple of days ago and fee53a3194c0d8b7, from today, a distance of 14 commits. I have a reduction running.=