From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A13BE3858C5F; Tue, 28 Mar 2023 16:54:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A13BE3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680022494; bh=nGWQNqIBKZeK36wtqK8MECihfLpEqlz+XHxRy4EvlX4=; h=From:To:Subject:Date:From; b=qTUafOSxfLsDSkVOnOWHJKGvtUNj9VMSHBPjdsSnvpOEESQmK6oxGiRharZ6kATSQ JlAC9wdtOLMGkXM0V5r+rG46yB9h4CWr957dGsPU0UnoQfc4MLDnVFQABL+M1tw+wm BGIP7qqtjATbbb6A+VCO7tGkafhjxjapLP2Al+/w= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109318] New: csmith: -fipa-cp seems to cause trouble Date: Tue, 28 Mar 2023 16:54:54 +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=3D109318 Bug ID: 109318 Summary: csmith: -fipa-cp seems to cause trouble 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 54779 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54779&action=3Dedit C source code The attached C code, produced by csmith, does this: $ ../results/bin/gcc -w -O1 bug903.c $ ./a.out checksum =3D FC4F321 $ ../results/bin/gcc -w -O1 -fipa-cp bug903.c $ ./a.out Segmentation fault (core dumped) $ ./a.out 1 Segmentation fault (core dumped) $=20 The bug seems to have existed since before 20220403.=