public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102069] New: [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7
@ 2021-08-25 19:50 seurer at gcc dot gnu.org
2021-08-26 8:20 ` [Bug target/102069] " guojiufu at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-08-25 19:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102069
Bug ID: 102069
Summary: [12 regression] New test case gcc.dg/vect/pr101145_3.c
in r12-3136 fails on power 7
Product: gcc
Version: 9.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:3673dcf6d6baeb67bb70ff03d4cb3f92beed0075, r12-3136
make -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m64}'
vect.exp=gcc.dg/vect/pr101145_3.c"
FAIL: gcc.dg/vect/pr101145_3.c scan-tree-dump-times vect "vectorized 1 loops" 2
FAIL: gcc.dg/vect/pr101145_3.c -flto -ffat-lto-objects scan-tree-dump-times
vect "vectorized 1 loops" 2
# of expected passes 4
# of unexpected failures 2
I only see this failure on power 7 for 64 bit. Power 7 has some limitations on
vectors that may require the failing parts of the tests to be skipped there.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/102069] [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7
2021-08-25 19:50 [Bug target/102069] New: [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7 seurer at gcc dot gnu.org
@ 2021-08-26 8:20 ` guojiufu at gcc dot gnu.org
2021-08-26 8:35 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2021-08-26 8:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102069
--- Comment #1 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
Thanks, Segher!
The test case could be updated. The patch supports calculating the number of
iterations for the special condition(step to min/max), so we may just update to
the case to check if the "number of iterations" is there.
like:
diff --git a/gcc/testsuite/gcc.dg/vect/pr101145_3.c
b/gcc/testsuite/gcc.dg/vect/pr101145_3.c
index 99289afec0b..819e134c6e6 100644
--- a/gcc/testsuite/gcc.dg/vect/pr101145_3.c
+++ b/gcc/testsuite/gcc.dg/vect/pr101145_3.c
@@ -10,4 +10,4 @@
#include "pr101145.inc"
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
+/* { dg-final { scan-tree-dump-times "Symbolic number of iterations is" 2
"vect" } } */
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/102069] [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7
2021-08-25 19:50 [Bug target/102069] New: [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7 seurer at gcc dot gnu.org
2021-08-26 8:20 ` [Bug target/102069] " guojiufu at gcc dot gnu.org
@ 2021-08-26 8:35 ` rguenth at gcc dot gnu.org
2021-08-26 9:58 ` rguenth at gcc dot gnu.org
2021-12-16 1:54 ` guojiufu at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-26 8:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102069
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
Version|9.4.1 |12.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/102069] [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7
2021-08-25 19:50 [Bug target/102069] New: [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7 seurer at gcc dot gnu.org
2021-08-26 8:20 ` [Bug target/102069] " guojiufu at gcc dot gnu.org
2021-08-26 8:35 ` rguenth at gcc dot gnu.org
@ 2021-08-26 9:58 ` rguenth at gcc dot gnu.org
2021-12-16 1:54 ` guojiufu at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-26 9:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102069
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 102072 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/102069] [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7
2021-08-25 19:50 [Bug target/102069] New: [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7 seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2021-08-26 9:58 ` rguenth at gcc dot gnu.org
@ 2021-12-16 1:54 ` guojiufu at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2021-12-16 1:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102069
Jiu Fu Guo <guojiufu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
Updated the case in the trunk with the requirement of vec_char_add.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-16 1:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 19:50 [Bug target/102069] New: [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7 seurer at gcc dot gnu.org
2021-08-26 8:20 ` [Bug target/102069] " guojiufu at gcc dot gnu.org
2021-08-26 8:35 ` rguenth at gcc dot gnu.org
2021-08-26 9:58 ` rguenth at gcc dot gnu.org
2021-12-16 1:54 ` guojiufu 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).