From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5FF133858C62; Wed, 8 Mar 2023 11:10:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FF133858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678273821; bh=YzyPHCpKR1ht6DdtkFeqJ1EMLMkHM5hh76KLOCFUAzg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LR0QK0a1IulxRp5hgEmge/rHbbPx44eyGzq0yCaC5wWayn65eAib7j87hBewpzblX dh1H4vdY8l7JmvGcSJm6B6GAjD585t5U19hW1AzWxJrlaO2XmwBvGO3PDTJzPWRnPP eHErurarzzi0Zqc7s5Q6wcyLDm/pCC+zCantwTS4= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/109031] csmith: possible bad code with -O2 -fno-strict-aliasing Date: Wed, 08 Mar 2023 11:10:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: needs-bisection, needs-reduction, 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=3D109031 --- Comment #7 from David Binderman --- (In reply to David Binderman from comment #4) > Created attachment 54596 [details] > C source code >=20 > After 3 hours further reduction. I am struggling with further reduction. My bash knowledge is short. My cvise script is: /usr/bin/gcc -w -Werror=3Dimplicit bug892.c \ && (./a.out 1 > 1) \ && /home/dcb36/gcc/results/bin/gcc -w -O2 -fno-strict-aliasing bug892.c=20 \ && (./a.out 1 > 2) \ && diff 1 2; \ but then if diff returns 1, the script should return 0 and if diff returns 0, then the script should return 1.=