public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL
@ 2020-12-11 12:02 ro at gcc dot gnu.org
2020-12-11 12:04 ` [Bug tree-optimization/98238] " ro at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2020-12-11 12:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Bug ID: 98238
Summary: gcc.dg/vect/vect-cost-model-1.c etc. FAIL
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: rsandifo at gcc dot gnu.org
Target Milestone: ---
Target: sparc*-*-solaris2.11, ia64-suse-linux-gnu,
armeb-none-linux-gnueabihf, powerpc-apple-darwin9
Several of the the new vect-cost-model-?.c tests FAIL on several targets:
FAIL: gcc.dg/vect/vect-cost-model-1.c -flto -ffat-lto-objects scan-tree-dump
vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-1.c scan-tree-dump vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-3.c -flto -ffat-lto-objects scan-tree-dump
vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-3.c scan-tree-dump vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-5.c -flto -ffat-lto-objects scan-tree-dump
vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-5.c scan-tree-dump vect "LOOP VECTORIZED"
I'm seeing this on 32 and 64-bit Solaris/sparc, but gcc-testresults postings
show
several other affected targets.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
@ 2020-12-11 12:04 ` ro at gcc dot gnu.org
2020-12-11 12:04 ` ro at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2020-12-11 12:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
2020-12-11 12:04 ` [Bug tree-optimization/98238] " ro at gcc dot gnu.org
@ 2020-12-11 12:04 ` ro at gcc dot gnu.org
2021-04-27 11:39 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2020-12-11 12:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 49735
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49735&action=edit
32-bit sparc-sun-solaris2.11 vect-cost-model-1.c.166t.vect
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
2020-12-11 12:04 ` [Bug tree-optimization/98238] " ro at gcc dot gnu.org
2020-12-11 12:04 ` ro at gcc dot gnu.org
@ 2021-04-27 11:39 ` jakub at gcc dot gnu.org
2021-07-28 7:05 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.0 |11.2
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
` (2 preceding siblings ...)
2021-04-27 11:39 ` jakub at gcc dot gnu.org
@ 2021-07-28 7:05 ` rguenth at gcc dot gnu.org
2022-04-21 7:48 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28 7:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.2 |11.3
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.2 is being released, retargeting bugs to GCC 11.3
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
` (3 preceding siblings ...)
2021-07-28 7:05 ` rguenth at gcc dot gnu.org
@ 2022-04-21 7:48 ` rguenth at gcc dot gnu.org
2023-05-29 10:03 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21 7:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.3 |11.4
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
` (4 preceding siblings ...)
2022-04-21 7:48 ` rguenth at gcc dot gnu.org
@ 2023-05-29 10:03 ` jakub at gcc dot gnu.org
2024-02-23 9:34 ` ro at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.4 |11.5
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
` (5 preceding siblings ...)
2023-05-29 10:03 ` jakub at gcc dot gnu.org
@ 2024-02-23 9:34 ` ro at gcc dot gnu.org
2024-03-11 14:47 ` cvs-commit at gcc dot gnu.org
2024-03-11 14:49 ` ro at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-23 9:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> ---
If I read the dump correctly
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/vect-cost-model-1.c:7:30:
note: ==> examining statement: _3 = *_2;
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/vect-cost-model-1.c:7:30:
missed: unsupported unaligned access
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/vect-cost-model-1.c:8:6:
missed: not vectorized: relevant stmt not supported: _3 = *_2;
those tests should also require vect_hw_misalign in scan-tree-dump?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
` (6 preceding siblings ...)
2024-02-23 9:34 ` ro at gcc dot gnu.org
@ 2024-03-11 14:47 ` cvs-commit at gcc dot gnu.org
2024-03-11 14:49 ` ro at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-03-11 14:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <ro@gcc.gnu.org>:
https://gcc.gnu.org/g:4e1fcf44bdc582e71408175d75e025f5be8b0e55
commit r14-9428-g4e1fcf44bdc582e71408175d75e025f5be8b0e55
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Mon Mar 11 15:46:30 2024 +0100
testsuite: vect: Require vect_hw_misalign in
gcc.dg/vect/vect-cost-model-1.c etc. [PR98238]
Several gcc.dg/vect/vect-cost-model-?.c tests FAIL on 32 and 64-bit
Solaris/SPARC:
FAIL: gcc.dg/vect/vect-cost-model-1.c -flto -ffat-lto-objects
scan-tree-dump vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-1.c scan-tree-dump vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-3.c -flto -ffat-lto-objects
scan-tree-dump vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-3.c scan-tree-dump vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-5.c -flto -ffat-lto-objects
scan-tree-dump vect "LOOP VECTORIZED"
FAIL: gcc.dg/vect/vect-cost-model-5.c scan-tree-dump vect "LOOP VECTORIZED"
The dumps show
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/vect-cost-model-1.c:7:30:
note: ==> examining statement: _3 = *_2;
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/vect-cost-model-1.c:7:30:
missed: unsupported unaligned access
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/vect-cost-model-1.c:8:6:
missed: not vectorized: relevant stmt not supported: _3 = *_2;
so I think the tests need to require vect_hw_misalign. This is what
this patch does.
Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11.
2024-02-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
PR tree-optimization/98238
* gcc.dg/vect/vect-cost-model-1.c (scan-tree-dump): Also require
vect_hw_misalign.
* gcc.dg/vect/vect-cost-model-3.c: Likewise.
* gcc.dg/vect/vect-cost-model-5.c: Likewise.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
` (7 preceding siblings ...)
2024-03-11 14:47 ` cvs-commit at gcc dot gnu.org
@ 2024-03-11 14:49 ` ro at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2024-03-11 14:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ro at gcc dot gnu.org
Target Milestone|11.5 |14.0
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
URL| |https://gcc.gnu.org/piperma
| |il/gcc-patches/2024-March/6
| |47559.html
--- Comment #8 from Rainer Orth <ro at gcc dot gnu.org> ---
Fixed for GCC 14.0.1.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-03-11 14:49 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 12:02 [Bug tree-optimization/98238] New: gcc.dg/vect/vect-cost-model-1.c etc. FAIL ro at gcc dot gnu.org
2020-12-11 12:04 ` [Bug tree-optimization/98238] " ro at gcc dot gnu.org
2020-12-11 12:04 ` ro at gcc dot gnu.org
2021-04-27 11:39 ` jakub at gcc dot gnu.org
2021-07-28 7:05 ` rguenth at gcc dot gnu.org
2022-04-21 7:48 ` rguenth at gcc dot gnu.org
2023-05-29 10:03 ` jakub at gcc dot gnu.org
2024-02-23 9:34 ` ro at gcc dot gnu.org
2024-03-11 14:47 ` cvs-commit at gcc dot gnu.org
2024-03-11 14:49 ` ro 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).