From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5EC783858412; Thu, 16 Feb 2023 18:31:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5EC783858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676572277; bh=64gdU/kcBn1J3Wz35Ci739M8xMzoe8UrKFkV0ryw44o=; h=From:To:Subject:Date:From; b=lRV/nI0M5fjqi7MhqrMR7BW4JBKxF/hlP9sS/bpqNxzKCPt1emE+e8wcWt1NanuLI u6nuuU4dGn3GeUmWwhgHjvswCVjp0QfQFQNYrDN19xh/AM41J8OZSZMx18Fp3PNs8E ySArZaF5jj8lc5FMBAEu6VkQeTiv7ubNb2irLfb4= From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108828] New: ivopts silencing gcc.dg/Wuse-after-free-2.c:115 Date: Thu, 16 Feb 2023 18:31:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org 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 cf_gcchost cf_gcctarget 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=3D108828 Bug ID: 108828 Summary: ivopts silencing gcc.dg/Wuse-after-free-2.c:115 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hp at gcc dot gnu.org Target Milestone: --- Host: x86_64-pc-linux-gnu Target: cris-elf Source from r13-5978-g4f5a1198065d. Running the test-suite for a cross to cris-elf on x86_64-pc-linux-gnu shows among other differences for cris-elf: Running /x/gcc/gcc/testsuite/gcc.dg/dg.exp ... FAIL: gcc.dg/Wuse-after-free-2.c (test for warnings, line 115) FAIL: gcc.dg/Wuse-after-free-2.c (test for warnings, line 116) Diffing tree dumps from -fdump-tree-all-all shows a suspicious difference in the "180t.ivopts" dump compared to that of the native run; for cris-elf, II= UC some temporary object is introduced that causes dissociation with the pointer...or something. Anyway, "-fno-ivopts" makes the warning appear for cris-elf. I don't see this test-suite-failure for recent reports to gcc-testresults@ = for other targets (pru-unknown-elf, arm-unknown-linux-gnueabi, powerpc64le-unknown-linux-gnu, aarch64-suse-linux-gnu, s390x-ibm-linux-gnu, powerpc-ibm-aix7.2.5.0). The test has failed since it's introduction; it's not a regression.=