public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug testsuite/110803] New: new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails @ 2023-07-25 14:26 seurer at gcc dot gnu.org 2023-07-25 16:03 ` [Bug testsuite/110803] " pinskia at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: seurer at gcc dot gnu.org @ 2023-07-25 14:26 UTC (permalink / raw) To: gcc-bugs 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 <drross@redhat.com> Date: Mon Jul 24 17:51:28 2023 +0200 match.pd: Implement missed optimization (~X | Y) ^ X -> ~(X & Y) [PR109986] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/110803] new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails 2023-07-25 14:26 [Bug testsuite/110803] New: new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails seurer at gcc dot gnu.org @ 2023-07-25 16:03 ` pinskia at gcc dot gnu.org 2023-07-25 21:56 ` cvs-commit at gcc dot gnu.org 2023-07-25 21:57 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2023-07-25 16:03 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110803 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-07-25 Status|UNCONFIRMED |NEW Host|powerpc64le-linux-gnu | Target|powerpc64le-linux-gnu |powerpc64le-linux-gnu | |aarch64-*-* arm*-* Build|powerpc64le-linux-gnu | Keywords| |testsuite-fail --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh the problem is `char` in gcc/testsuite/gcc.dg/tree-ssa/pr109986.c really should be `signed char` . Confirmed. If I get some time I will commit the obvious patch to fix that ... ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/110803] new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails 2023-07-25 14:26 [Bug testsuite/110803] New: new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails seurer at gcc dot gnu.org 2023-07-25 16:03 ` [Bug testsuite/110803] " pinskia at gcc dot gnu.org @ 2023-07-25 21:56 ` cvs-commit at gcc dot gnu.org 2023-07-25 21:57 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2023-07-25 21:56 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110803 --- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>: https://gcc.gnu.org/g:67357270772b9131f1780267485c9eba0331bd6f commit r14-2767-g67357270772b9131f1780267485c9eba0331bd6f Author: Andrew Pinski <apinski@marvell.com> Date: Tue Jul 25 21:50:33 2023 +0000 Fix 110803: use of plain char instead of signed char So the problem here is that plain char can either be signed or unsigned depending on the target (powerpc and aarch64 are unsigned while most other targets are signed). So the testcase gcc.c-torture/execute/pr109986.c was assuming plain char was signed char which is wrong so it is better to just change the `char` to be `signed char`. Note gcc.c-torture/execute/pr109986.c includes gcc.dg/tree-ssa/pr109986.c where the plain char was being used. Committed as obvious after a quick test to make sure gcc.c-torture/execute/pr109986.c now passes and gcc.dg/tree-ssa/pr109986.c still passes. gcc/testsuite/ChangeLog: PR testsuite/110803 * gcc.dg/tree-ssa/pr109986.c: Change plain char to be `signed char`. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/110803] new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails 2023-07-25 14:26 [Bug testsuite/110803] New: new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails seurer at gcc dot gnu.org 2023-07-25 16:03 ` [Bug testsuite/110803] " pinskia at gcc dot gnu.org 2023-07-25 21:56 ` cvs-commit at gcc dot gnu.org @ 2023-07-25 21:57 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2023-07-25 21:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110803 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-25 21:57 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-07-25 14:26 [Bug testsuite/110803] New: new test case gcc.c-torture/execute/pr109986.c in r14-2751-g2a3556376c69a1 fails seurer at gcc dot gnu.org 2023-07-25 16:03 ` [Bug testsuite/110803] " pinskia at gcc dot gnu.org 2023-07-25 21:56 ` cvs-commit at gcc dot gnu.org 2023-07-25 21:57 ` pinskia 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).