From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BC1C6385E836; Fri, 10 May 2024 01:37:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC1C6385E836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715305060; bh=z/TE2qXPeqKcAd3vgUTJvgIQ+0+6SrpkWXHm94u6u/g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Obgx/CLHyx40NzrcTLpg6Vo72nGh078drpa6mXIIgF/YrWTOLjsdyL6ommfnBXDBA FnSCtBhzRcsRYiiUSMujHYnVUBaCT6onIeiRvHhR5F8iworrkSqiCnwI3VPlXICnPs u+tma1u1babPnFPvct1i8ZRQJ0z+fXz6i/Y5TyFc= 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:37:40 +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: resolution bug_file_loc cf_gcchost cf_gccbuild bug_status cf_gcctarget 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 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID URL|https://godbolt.org/z/be37n | |7Mz3 | Host|x86_64-pc-linux-gnu | Build|x86_64-pc-linux-gnu | Status|UNCONFIRMED |RESOLVED Target|x86_64-pc-linux-gnu | --- Comment #1 from Andrew Pinski --- This is an undefined behavior with signed integer overflow. Did you try with -fsanitize=3Dundefined as requested by the bug reporting page?=