From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B854385840E; Fri, 10 May 2024 01:50:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B854385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715305807; bh=6qMJgtB/AyoP8Gh/Er8xlIZO/qU2ktuU7ZqrW74vuSQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FwrZ2DnHLmlV1rQUjuQhrxO4Xz+fsQKqKN+O1l8X6Rm97pgOi8MEC8kj+pTEhPObO UIn5ghqB51ZC7vHbgToou9CQcywNu704zUApHPGl8KvdFwYhMSIrymejc2mRzicMK7 I4klC36KbtUcmqsjXRUOpwA1estrF91oT9QfdKJw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/115019] wraparound bug with with -O3 and int128 Date: Fri, 10 May 2024 01:50:07 +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: 14.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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=3D115019 --- Comment #2 from Andrew Pinski --- /app/example.cpp:36:24: runtime error: negation of 0x80000000000000000000000000000000 cannot be represented in type '__int128'; cast to an unsigned type to negate this value to itself=