public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL
@ 2022-03-02 10:54 ro at gcc dot gnu.org
  2022-03-02 10:56 ` [Bug tree-optimization/104756] " ro at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-02 10:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104756
           Summary: gcc.dg/vect/vect-fmax-1.c etc. FAIL
           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: rsandifo at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc*-sun-solaris2.11

The gcc.dg/vect/vect-f{min,max}-*.c tests FAIL on 32 and 64-bit Solaris/SPARC
since their introduction:

FAIL: gcc.dg/vect/vect-fmax-1.c -flto -ffat-lto-objects  scan-tree-dump vect
"Detected reduction"
FAIL: gcc.dg/vect/vect-fmax-1.c scan-tree-dump vect "Detected reduction"
FAIL: gcc.dg/vect/vect-fmax-2.c -flto -ffat-lto-objects  scan-tree-dump vect
"Detected reduction"
FAIL: gcc.dg/vect/vect-fmax-2.c scan-tree-dump vect "Detected reduction"
FAIL: gcc.dg/vect/vect-fmax-3.c -flto -ffat-lto-objects  scan-tree-dump vect
"Detected reduction"
FAIL: gcc.dg/vect/vect-fmax-3.c scan-tree-dump vect "Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-1.c -flto -ffat-lto-objects  scan-tree-dump vect
"Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-1.c -flto -ffat-lto-objects  scan-tree-dump vect
"Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-1.c scan-tree-dump vect "Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-1.c scan-tree-dump vect "Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-2.c -flto -ffat-lto-objects  scan-tree-dump vect
"Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-2.c scan-tree-dump vect "Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-3.c -flto -ffat-lto-objects  scan-tree-dump vect
"Detected reduction"
FAIL: gcc.dg/vect/vect-fmin-3.c scan-tree-dump vect "Detected reduction"

Exemplary dump attached.

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

* [Bug tree-optimization/104756] gcc.dg/vect/vect-fmax-1.c etc. FAIL
  2022-03-02 10:54 [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL ro at gcc dot gnu.org
@ 2022-03-02 10:56 ` ro at gcc dot gnu.org
  2022-03-02 10:56 ` ro at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-02 10:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 52547
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52547&action=edit
32-bit sparc-sun-solaris2.11 vect-fmax-1.c.172t.vect

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

* [Bug tree-optimization/104756] gcc.dg/vect/vect-fmax-1.c etc. FAIL
  2022-03-02 10:54 [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL ro at gcc dot gnu.org
  2022-03-02 10:56 ` [Bug tree-optimization/104756] " ro at gcc dot gnu.org
@ 2022-03-02 10:56 ` ro at gcc dot gnu.org
  2022-03-02 11:55 ` [Bug testsuite/104756] " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-02 10:56 UTC (permalink / raw)
  To: gcc-bugs

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

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 testsuite/104756] gcc.dg/vect/vect-fmax-1.c etc. FAIL
  2022-03-02 10:54 [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL ro at gcc dot gnu.org
  2022-03-02 10:56 ` [Bug tree-optimization/104756] " ro at gcc dot gnu.org
  2022-03-02 10:56 ` ro at gcc dot gnu.org
@ 2022-03-02 11:55 ` rguenth at gcc dot gnu.org
  2022-05-06  8:32 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-02 11:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Keywords|                            |testsuite-fail
          Component|tree-optimization           |testsuite
   Last reconfirmed|                            |2022-03-02

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/vect-fmax-1.c:11:21:
missed:   not vectorized: no vectype for stmt: _4 = *_3;
 scalar_type: float

missing

/* { dg-require-effective-target vect_float } */

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

* [Bug testsuite/104756] gcc.dg/vect/vect-fmax-1.c etc. FAIL
  2022-03-02 10:54 [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-03-02 11:55 ` [Bug testsuite/104756] " rguenth at gcc dot gnu.org
@ 2022-05-06  8:32 ` jakub at gcc dot gnu.org
  2023-01-24  7:48 ` cvs-commit at gcc dot gnu.org
  2023-01-24  7:54 ` ro at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:32 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

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

* [Bug testsuite/104756] gcc.dg/vect/vect-fmax-1.c etc. FAIL
  2022-03-02 10:54 [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-05-06  8:32 ` jakub at gcc dot gnu.org
@ 2023-01-24  7:48 ` cvs-commit at gcc dot gnu.org
  2023-01-24  7:54 ` ro at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-24  7:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS 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:7b8f4c85051501e9c804df2de1a08f11aa187e9d

commit r13-5320-g7b8f4c85051501e9c804df2de1a08f11aa187e9d
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Tue Jan 24 08:48:11 2023 +0100

    testsuite: Fix gcc.dg/vect/vect-fmax-1.c etc. on SPARC [PR104756]

    The gcc.dg/vect/vect-fmax-?.c etc. tests FAIL on 32 and 64-bit SPARC:

    FAIL: gcc.dg/vect/vect-fmax-1.c -flto -ffat-lto-objects scan-tree-dump vect
    "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmax-1.c scan-tree-dump vect "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmax-2.c -flto -ffat-lto-objects scan-tree-dump vect
    "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmax-2.c scan-tree-dump vect "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmax-3.c -flto -ffat-lto-objects scan-tree-dump vect
    "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmax-3.c scan-tree-dump vect "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-1.c -flto -ffat-lto-objects scan-tree-dump vect
    "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-1.c -flto -ffat-lto-objects scan-tree-dump vect
    "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-1.c scan-tree-dump vect "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-1.c scan-tree-dump vect "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-2.c -flto -ffat-lto-objects scan-tree-dump vect
    "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-2.c scan-tree-dump vect "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-3.c -flto -ffat-lto-objects scan-tree-dump vect
    "Detected reduction"
    FAIL: gcc.dg/vect/vect-fmin-3.c scan-tree-dump vect "Detected reduction"

    As discussed in the PR, they require vect_float support, but the tests
    don't declare it.

    This patch fixes this.

    Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11.

    2023-01-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

            gcc/testsuite:
            PR testsuite/104756
            * gcc.dg/vect/vect-fmax-1.c: Require vect_float.
            * gcc.dg/vect/vect-fmax-2.c: Likewise.
            * gcc.dg/vect/vect-fmax-3.c: Likewise.
            * gcc.dg/vect/vect-fmin-1.c: Likewise.
            * gcc.dg/vect/vect-fmin-2.c: Likewise.
            * gcc.dg/vect/vect-fmin-3.c: Likewise.

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

* [Bug testsuite/104756] gcc.dg/vect/vect-fmax-1.c etc. FAIL
  2022-03-02 10:54 [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2023-01-24  7:48 ` cvs-commit at gcc dot gnu.org
@ 2023-01-24  7:54 ` ro at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2023-01-24  7:54 UTC (permalink / raw)
  To: gcc-bugs

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

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
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2023-January
                   |                            |/610457.html
   Target Milestone|12.3                        |13.0

--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> ---
Fixed for GCC 13.

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

end of thread, other threads:[~2023-01-24  7:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 10:54 [Bug tree-optimization/104756] New: gcc.dg/vect/vect-fmax-1.c etc. FAIL ro at gcc dot gnu.org
2022-03-02 10:56 ` [Bug tree-optimization/104756] " ro at gcc dot gnu.org
2022-03-02 10:56 ` ro at gcc dot gnu.org
2022-03-02 11:55 ` [Bug testsuite/104756] " rguenth at gcc dot gnu.org
2022-05-06  8:32 ` jakub at gcc dot gnu.org
2023-01-24  7:48 ` cvs-commit at gcc dot gnu.org
2023-01-24  7:54 ` 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).