public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/108604] New: New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs
@ 2023-01-30 18:39 seurer at gcc dot gnu.org
2023-01-31 8:50 ` [Bug other/108604] " cvs-commit at gcc dot gnu.org
2023-01-31 8:51 ` rguenth at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-01-30 18:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108604
Bug ID: 108604
Summary: New test case gcc.dg/torture/pr108574-3.c in
r13-5492-g7ac3e69e311351 hangs
Product: gcc
Version: 13.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:7ac3e69e311351b70407d7f87a0169c4d463e57b, r13-5492-g7ac3e69e311351
The test case runs long enough to time out. I tried one by hand and it ran at
least an hour before I killed it.
make -k check-gcc RUNTESTFLAGS="dg-torture.exp=gcc.dg/torture/pr108574-3.c"
FAIL: gcc.dg/torture/pr108574-3.c -O0 execution test
FAIL: gcc.dg/torture/pr108574-3.c -O1 execution test
FAIL: gcc.dg/torture/pr108574-3.c -O2 execution test
FAIL: gcc.dg/torture/pr108574-3.c -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions execution test
FAIL: gcc.dg/torture/pr108574-3.c -O3 -g execution test
FAIL: gcc.dg/torture/pr108574-3.c -Os execution test
FAIL: gcc.dg/torture/pr108574-3.c -O2 -flto -fno-use-linker-plugin
-flto-partition=none execution test
FAIL: gcc.dg/torture/pr108574-3.c -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects execution test
# of expected passes 8
# of unexpected failures 8
commit 7ac3e69e311351b70407d7f87a0169c4d463e57b (HEAD, refs/bisect/bad)
Author: Richard Biener <rguenther@suse.de>
Date: Mon Jan 30 09:25:23 2023 +0100
tree-optimization/108574 - wrong-code with PRE PHI node processing
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/108604] New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs
2023-01-30 18:39 [Bug other/108604] New: New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs seurer at gcc dot gnu.org
@ 2023-01-31 8:50 ` cvs-commit at gcc dot gnu.org
2023-01-31 8:51 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-31 8:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108604
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:78d6489f736963a8a07c494294c72662c49e8e63
commit r13-5528-g78d6489f736963a8a07c494294c72662c49e8e63
Author: Xianmiao Qu <cooper.qu@linux.alibaba.com>
Date: Tue Jan 31 09:49:06 2023 +0100
testsuite/108604 - gcc.dg/torture/pr108574-3.c hangs on unsigned char archs
In the architecture where sign defaults to unsigned, the 'f' will be zero
extended to int type in the expression 'd = ~(f & ~2880764155)', then the
'd' will become -1 wich cause the case to fail.
So it's ok for the architectures where sign defaults to signed like x86,
but failed for the architectures where sign defaults to unsigned like arm
and csky. Change char to signed char to avoid this problem.
PR testsuite/108604
gcc/testsuite:
* gcc.dg/torture/pr108574-3.c (b, f): Change type from char to
signed char.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/108604] New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs
2023-01-30 18:39 [Bug other/108604] New: New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs seurer at gcc dot gnu.org
2023-01-31 8:50 ` [Bug other/108604] " cvs-commit at gcc dot gnu.org
@ 2023-01-31 8:51 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-01-31 8:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108604
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-31 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 18:39 [Bug other/108604] New: New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs seurer at gcc dot gnu.org
2023-01-31 8:50 ` [Bug other/108604] " cvs-commit at gcc dot gnu.org
2023-01-31 8:51 ` rguenth 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).