public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs
@ 2021-05-06 13:58 ro at gcc dot gnu.org
  2021-05-06 13:59 ` [Bug tree-optimization/100452] " ro at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-05-06 13:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

            Bug ID: 100452
           Summary: g++.dg/vect/slp-pr99971.cc FAILs
           Product: gcc
           Version: 12.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: rguenth at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc-sun-solaris2.11, armeb-none-linux-gnueabihf,
                    powerpc64-unknown-linux-gnu, ia64-suse-linux-gnu

The new g++.dg/vect/slp-pr99971.cc FAILs on a number of targets:

FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++14  scan-tree-dump-not slp2 "removing
SLP instance"
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++14  scan-tree-dump-times slp2 "SLPing
BB part" 1
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++14  scan-tree-dump-times slp2
"Vectorizing SLP" 2
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++17  scan-tree-dump-not slp2 "removing
SLP instance"
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++17  scan-tree-dump-times slp2 "SLPing
BB part" 1
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++17  scan-tree-dump-times slp2
"Vectorizing SLP" 2
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++2a  scan-tree-dump-not slp2 "removing
SLP instance"
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++2a  scan-tree-dump-times slp2 "SLPing
BB part" 1
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++2a  scan-tree-dump-times slp2
"Vectorizing SLP" 2
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++98  scan-tree-dump-not slp2 "removing
SLP instance"
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++98  scan-tree-dump-times slp2 "SLPing
BB part" 1
FAIL: g++.dg/vect/slp-pr99971.cc  -std=c++98  scan-tree-dump-times slp2
"Vectorizing SLP" 2

I'm seeing it on 32 and 64-bit SPARC myself, and there are reports on ARM,
PowerPC,
and IA-64 as well.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs
  2021-05-06 13:58 [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs ro at gcc dot gnu.org
@ 2021-05-06 13:59 ` ro at gcc dot gnu.org
  2021-05-06 14:00 ` ro at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-05-06 13:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 50766
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50766&action=edit
32-bit sparc-sun-solaris2.11 slp-pr99971.cc.179t.slp2

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs
  2021-05-06 13:58 [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs ro at gcc dot gnu.org
  2021-05-06 13:59 ` [Bug tree-optimization/100452] " ro at gcc dot gnu.org
@ 2021-05-06 14:00 ` ro at gcc dot gnu.org
  2021-05-07  7:10 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2021-05-06 14:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs
  2021-05-06 13:58 [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs ro at gcc dot gnu.org
  2021-05-06 13:59 ` [Bug tree-optimization/100452] " ro at gcc dot gnu.org
  2021-05-06 14:00 ` ro at gcc dot gnu.org
@ 2021-05-07  7:10 ` rguenth at gcc dot gnu.org
  2021-05-10  8:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-07  7:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Last reconfirmed|                            |2021-05-07
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, I'm not sure if it works, but at least the FE accepts it.  Does

diff --git a/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
b/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
index bec6418d4e8..cf22b3331d2 100644
--- a/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
+++ b/gcc/testsuite/g++.dg/vect/slp-pr99971.cc
@@ -22,7 +22,7 @@ struct A
       d -= that.d;
       return *this;
     }
-};
+} __attribute__((aligned(__BIGGEST_ALIGNMENT__)));

 void test(A& x, A const& y1, A const& y2)
 {

fix it on sparc?  At least on x86 the A arguments in test now then have
user-alignment of 128 ...

Can you test that on sparc?  Feel free to install as well.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs
  2021-05-06 13:58 [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-05-07  7:10 ` rguenth at gcc dot gnu.org
@ 2021-05-10  8:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2021-05-10 11:23 ` cvs-commit at gcc dot gnu.org
  2021-05-10 11:23 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2021-05-10  8:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Hmm, I'm not sure if it works, but at least the FE accepts it.  Does
[...]
> fix it on sparc?  At least on x86 the A arguments in test now then have
> user-alignment of 128 ...
>
> Can you test that on sparc?  Feel free to install as well.

It works just fine on sparc.  However, I won't be able to install it
today.  Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs
  2021-05-06 13:58 [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-05-10  8:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2021-05-10 11:23 ` cvs-commit at gcc dot gnu.org
  2021-05-10 11:23 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-10 11:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

--- Comment #4 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:cce4471bb45f72820eb6c15b4a75e67f704b209e

commit r12-662-gcce4471bb45f72820eb6c15b4a75e67f704b209e
Author: Richard Biener <rguenther@suse.de>
Date:   Mon May 10 13:22:03 2021 +0200

    testsuite/100452 - fix g++.dg/vect/slp-pr99971.cc

    This makes sure to align data so targets without unaligned
    accesses can vectorize it.

    2021-05-10  Richard Biener  <rguenther@suse.de>

            PR testsuite/100452
            * g++.dg/vect/slp-pr99971.cc: Align data.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs
  2021-05-06 13:58 [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-05-10 11:23 ` cvs-commit at gcc dot gnu.org
@ 2021-05-10 11:23 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-10 11:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Thanks, fixed.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-10 11:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 13:58 [Bug tree-optimization/100452] New: g++.dg/vect/slp-pr99971.cc FAILs ro at gcc dot gnu.org
2021-05-06 13:59 ` [Bug tree-optimization/100452] " ro at gcc dot gnu.org
2021-05-06 14:00 ` ro at gcc dot gnu.org
2021-05-07  7:10 ` rguenth at gcc dot gnu.org
2021-05-10  8:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
2021-05-10 11:23 ` cvs-commit at gcc dot gnu.org
2021-05-10 11:23 ` 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).