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 <al...@redhat.com> Date: Thu Sep 23 10:59:24 2021 +0200 Avoid invalid loop transformations in jump threading registry.