From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83C6F3858C50; Tue, 28 Mar 2023 18:37:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83C6F3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680028643; bh=VSDXoIXqhq7vwRV6QR9hSky5FuIvHKhncY2ITZoS0Qg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mRorf/SK07o/nFyGFwFlNAvFJY+s8FMBHGdBrcIcazaDRiOBul4bSjvLPAvV4YpQc db7qWYxxi2wkMNiIfoWXnSnAUhdfqxnk4CZoB49TaW/66pAvaFrqnUnXuFn3mQQbfp 63ptNALU/ftPzXKvbT3g44Q6M3zsVWGEOKm7ki+Y= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109318] csmith: -fipa-cp seems to cause trouble Date: Tue, 28 Mar 2023 18:37:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: wrong-code 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: 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=3D109318 --- Comment #2 from David Binderman --- Program seems fine with gcc-11-20210404, but goes wrong with gcc-12-2022040= 3. $ ~/gcc/results.20210404/bin/gcc -w -O1 -fipa-cp bug903.c $ ./a.out checksum =3D FC4F321 $ ~/gcc/results.20220403/bin/gcc -w -O1 -fipa-cp bug903.c $ ./a.out Segmentation fault (core dumped) $=20 Git hashes are g:c3d3bb0f03dbd025 and g:0364465e3708249ece810ca5d65164552595538c=