public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/102501] New: [12 regression] several test case failures after r12-3876
@ 2021-09-27 17:42 seurer at gcc dot gnu.org
2021-09-28 8:34 ` [Bug testsuite/102501] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-09-27 17:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102501
Bug ID: 102501
Summary: [12 regression] several test case failures after
r12-3876
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:4a960d548b7d7d942f316c5295f6d849b74214f5, r12-3876
make -k check-gcc RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa/pr66752-3.c"
FAIL: gcc.dg/tree-ssa/pr66752-3.c scan-tree-dump-not thread3 "if .flag"
# of expected passes 2
# of unexpected failures 1
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/pr66752-3.c
-fdiagnostics-plain-output -O2 -fdump-tree-thread1-details -fdump-tree-thread3
-S -o pr66752-3.s
Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled2625074.cc
-fdiagnostics-plain-output -S -o exceptions_enabled2625074.s (timeout =
300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled2625074.cc
-fdiagnostics-plain-output -S -o exceptions_enabled2625074.s
PASS: gcc.dg/tree-ssa/pr66752-3.c (test for excess errors)
PASS: gcc.dg/tree-ssa/pr66752-3.c scan-tree-dump-times thread1 "Registering
jump" 2
FAIL: gcc.dg/tree-ssa/pr66752-3.c scan-tree-dump-not thread3 "if .flag"
testcase
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp
completed in 0 seconds
=== gcc Summary ===
# of expected passes 2
# of unexpected failures 1
There's a second one that fails here, too.
make -k check-gcc RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa/pr77445-2.c"
FAIL: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump thread1 "Jumps threaded: 9"
# of expected passes 6
# of unexpected failures 1
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/pr77445-2.c
-fdiagnostics-plain-output -O2 -fdisable-tree-evrp
-fdump-tree-thread-details-blocks-stats -S -o pr77445-2.s
cc1: note: disable pass tree-evrp for functions in the range of [0, 4294967295]
PASS: gcc.dg/tree-ssa/pr77445-2.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump thread1 "Jumps threaded: 9"
PASS: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump-times thread1 "Invalid sum" 1
PASS: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump-not thread1 "optimizing for
size"
PASS: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump-not thread2 "optimizing for
size"
PASS: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump-not thread3 "optimizing for
size"
PASS: gcc.dg/tree-ssa/pr77445-2.c scan-tree-dump-not thread4 "optimizing for
size"
testcase
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp
completed in 0 seconds
=== gcc Summary ===
# of expected passes 6
# of unexpected failures 1
commit 4a960d548b7d7d942f316c5295f6d849b74214f5 (HEAD, refs/bisect/bad)
Author: Aldy Hernandez <aldyh@redhat.com>
Date: Thu Sep 23 10:59:24 2021 +0200
Avoid invalid loop transformations in jump threading registry.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/102501] [12 regression] several test case failures after r12-3876
2021-09-27 17:42 [Bug other/102501] New: [12 regression] several test case failures after r12-3876 seurer at gcc dot gnu.org
@ 2021-09-28 8:34 ` rguenth at gcc dot gnu.org
2021-09-28 15:31 ` aldyh at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-28 8:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102501
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
Component|other |testsuite
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/102501] [12 regression] several test case failures after r12-3876
2021-09-27 17:42 [Bug other/102501] New: [12 regression] several test case failures after r12-3876 seurer at gcc dot gnu.org
2021-09-28 8:34 ` [Bug testsuite/102501] " rguenth at gcc dot gnu.org
@ 2021-09-28 15:31 ` aldyh at gcc dot gnu.org
2021-09-28 16:32 ` aldyh at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu.org @ 2021-09-28 15:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102501
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-09-28
Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Confirmed. Mine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/102501] [12 regression] several test case failures after r12-3876
2021-09-27 17:42 [Bug other/102501] New: [12 regression] several test case failures after r12-3876 seurer at gcc dot gnu.org
2021-09-28 8:34 ` [Bug testsuite/102501] " rguenth at gcc dot gnu.org
2021-09-28 15:31 ` aldyh at gcc dot gnu.org
@ 2021-09-28 16:32 ` aldyh at gcc dot gnu.org
2021-09-29 18:28 ` cvs-commit at gcc dot gnu.org
2021-09-29 18:29 ` aldyh at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu.org @ 2021-09-28 16:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102501
--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Does this fix the problem on your end?
https://gcc.gnu.org/pipermail/gcc-patches/2021-September/580411.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/102501] [12 regression] several test case failures after r12-3876
2021-09-27 17:42 [Bug other/102501] New: [12 regression] several test case failures after r12-3876 seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2021-09-28 16:32 ` aldyh at gcc dot gnu.org
@ 2021-09-29 18:28 ` cvs-commit at gcc dot gnu.org
2021-09-29 18:29 ` aldyh at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-29 18:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102501
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aldy Hernandez <aldyh@gcc.gnu.org>:
https://gcc.gnu.org/g:24e30f485bc80c823393d8fc62b65f860230e04b
commit r12-3970-g24e30f485bc80c823393d8fc62b65f860230e04b
Author: Aldy Hernandez <aldyh@redhat.com>
Date: Tue Sep 28 17:53:57 2021 +0200
[PR102501] Adjust jump threading testcases for ppc64* and others.
I really don't know what to do here. This is a bit of whack-o-mole.
The IL is sufficiently different for various architectures that any
tweak can cause the number of jump threads to vary.
For the pr7745-2.c testcase, we have less threading candidates because 2
of them now cross loop boundaries. Interestingly, this test matches
"Jumps threaded", not threads registered, so the block copier can
drop threads at copying time adding further confusion.
For example, we can register N threads, but the old copier can cancel
N-M threads while updating the CFG for a variety of different reasons
(removed edges, threading through loop exits, etc). This makes the
"Registering jump threads" not to match the total number of threads this
test checks for with "Jumps threaded".
The pr66752-3.c test OTOH, is just a matter of thread4 eliminating the
"if". I had erroneously thought it would always be eliminated by
thread3, but we really don't care where it gets cleaned up. All we know
is that DCE can't depend on the early threaders doing this work, because
it may cross loop boundaries. I've chosen thread4 arbitrarily, but we
could just as easily pick the ".optimized" dump.
Sorry, I'm really at my wits end here. I don't see any clean path
forward, except rewrite these tests as gimple IL. They're close to useless
as they sit.
gcc/testsuite/ChangeLog:
PR testsuite/102501
* gcc.dg/tree-ssa/pr66752-3.c: Adjust.
* gcc.dg/tree-ssa/pr77445-2.c: Adjust.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/102501] [12 regression] several test case failures after r12-3876
2021-09-27 17:42 [Bug other/102501] New: [12 regression] several test case failures after r12-3876 seurer at gcc dot gnu.org
` (3 preceding siblings ...)
2021-09-29 18:28 ` cvs-commit at gcc dot gnu.org
@ 2021-09-29 18:29 ` aldyh at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: aldyh at gcc dot gnu.org @ 2021-09-29 18:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102501
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
fixed
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-09-29 18:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 17:42 [Bug other/102501] New: [12 regression] several test case failures after r12-3876 seurer at gcc dot gnu.org
2021-09-28 8:34 ` [Bug testsuite/102501] " rguenth at gcc dot gnu.org
2021-09-28 15:31 ` aldyh at gcc dot gnu.org
2021-09-28 16:32 ` aldyh at gcc dot gnu.org
2021-09-29 18:28 ` cvs-commit at gcc dot gnu.org
2021-09-29 18:29 ` aldyh 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).