public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/108828] New: ivopts silencing gcc.dg/Wuse-after-free-2.c:115
@ 2023-02-16 18:31 hp at gcc dot gnu.org
  2023-02-17  8:03 ` [Bug tree-optimization/108828] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hp at gcc dot gnu.org @ 2023-02-16 18:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108828

            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, IIUC
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-28  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 18:31 [Bug tree-optimization/108828] New: ivopts silencing gcc.dg/Wuse-after-free-2.c:115 hp at gcc dot gnu.org
2023-02-17  8:03 ` [Bug tree-optimization/108828] " rguenth at gcc dot gnu.org
2023-02-28  1:05 ` cvs-commit at gcc dot gnu.org
2023-02-28  1:08 ` hp at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).