https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110803
Bug ID: 110803
Summary: new test case gcc.c-torture/execute/pr109986.c in
r14-2751-g2a3556376c69a1 fails
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:2a3556376c69a1fb588dcf25225950575e42784f, r14-2751-g2a3556376c69a1
make -k check-gcc RUNTESTFLAGS="execute.exp=gcc.c-torture/execute/pr109986.c"
FAIL: gcc.c-torture/execute/pr109986.c -O0 execution test
FAIL: gcc.c-torture/execute/pr109986.c -O1 execution test
FAIL: gcc.c-torture/execute/pr109986.c -O2 execution test
FAIL: gcc.c-torture/execute/pr109986.c -O3 -g execution test
FAIL: gcc.c-torture/execute/pr109986.c -Os execution test
FAIL: gcc.c-torture/execute/pr109986.c -O2 -flto -fno-use-linker-plugin
-flto-partition=none execution test
FAIL: gcc.c-torture/execute/pr109986.c -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects execution test
# of expected passes 7
# of unexpected failures 7
(gdb) where
#0 0x00007ffff7c696f8 in raise () from /lib64/glibc-hwcaps/power9/libc-2.28.so
#1 0x00007ffff7c43ff4 in abort () from /lib64/glibc-hwcaps/power9/libc-2.28.so
#2 0x00000000100005a4 in main () at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.c-torture/execute/pr109986.c:10
I believe it is this line:
if (t3 (127, 99) != -100) __builtin_abort ();
commit 2a3556376c69a1fb588dcf25225950575e42784f (HEAD)
Author: Drew Ross <[email protected]>
Date: Mon Jul 24 17:51:28 2023 +0200
match.pd: Implement missed optimization (~X | Y) ^ X -> ~(X & Y) [PR109986]