public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
@ 2024-01-17  9:14 clyon at gcc dot gnu.org
  2024-01-17 13:32 ` [Bug testsuite/113437] [14 Regression] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: clyon at gcc dot gnu.org @ 2024-01-17  9:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113437
           Summary: gcc.dg/tree-ssa/pr95906.c fails on arm since
                    g:6686e16fda4
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
                CC: liuhongt at gcc dot gnu.org
  Target Milestone: ---

We have detected the following regression since gcc-14-7124-g6686e16fda4:
FAIL: gcc.dg/tree-ssa/pr95906.c scan-tree-dump-times forwprop3 "max_expr" 1

on arm targets where Neon or MVE is not enabled by default.

In these cases VECTOR_MODE_P (V16QImode) returns false, thus the optimization
introduced by this commit.

I'm not sure how/if we want to add an effective-target to handle this case.

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
@ 2024-01-17 13:32 ` rguenth at gcc dot gnu.org
  2024-01-17 13:52 ` ro at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-17 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
            Summary|gcc.dg/tree-ssa/pr95906.c   |[14 Regression]
                   |fails on arm since          |gcc.dg/tree-ssa/pr95906.c
                   |g:6686e16fda4               |fails on arm since
                   |                            |g:6686e16fda4
           Keywords|                            |testsuite-fail
             Target|                            |arm

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
  2024-01-17 13:32 ` [Bug testsuite/113437] [14 Regression] " rguenth at gcc dot gnu.org
@ 2024-01-17 13:52 ` ro at gcc dot gnu.org
  2024-01-18  0:48 ` liuhongt at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2024-01-17 13:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
             Target|arm                         |arm, sparc*
                 CC|                            |ro at gcc dot gnu.org
   Last reconfirmed|                            |2024-01-17
     Ever confirmed|0                           |1

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Also FAILs on 32 and 64-bit SPARC.

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
  2024-01-17 13:32 ` [Bug testsuite/113437] [14 Regression] " rguenth at gcc dot gnu.org
  2024-01-17 13:52 ` ro at gcc dot gnu.org
@ 2024-01-18  0:48 ` liuhongt at gcc dot gnu.org
  2024-01-18  0:53 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2024-01-18  0:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
Maybe we can add target vect_int.

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-01-18  0:48 ` liuhongt at gcc dot gnu.org
@ 2024-01-18  0:53 ` pinskia at gcc dot gnu.org
  2024-01-18 20:58 ` danglin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-18  0:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Hongtao Liu from comment #2)
> Maybe we can add target vect_int.

Not really because vect_int depends on the vect.exp framework still.  See PR
113418 and the emails linked from there.

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-01-18  0:53 ` pinskia at gcc dot gnu.org
@ 2024-01-18 20:58 ` danglin at gcc dot gnu.org
  2024-01-19  1:33 ` liuhongt at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-01-18 20:58 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu.org

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
Also FAILS on 32 and 64-bit HPPA.

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2024-01-18 20:58 ` danglin at gcc dot gnu.org
@ 2024-01-19  1:33 ` liuhongt at gcc dot gnu.org
  2024-01-19  2:39 ` hp at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2024-01-19  1:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> (In reply to Hongtao Liu from comment #2)
> > Maybe we can add target vect_int.
> 
> Not really because vect_int depends on the vect.exp framework still.  See PR
> 113418 and the emails linked from there.

I see, then I'll adjust testcase to scan either MAX_EXPR or VEC_COND_EXPR

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2024-01-19  1:33 ` liuhongt at gcc dot gnu.org
@ 2024-01-19  2:39 ` hp at gcc dot gnu.org
  2024-01-19  2:46 ` cvs-commit at gcc dot gnu.org
  2024-01-19  2:47 ` liuhongt at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu.org @ 2024-01-19  2:39 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|arm, sparc*                 |arm, sparc*, cris
                 CC|                            |hp at gcc dot gnu.org

--- Comment #6 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
cris-elf too...

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2024-01-19  2:39 ` hp at gcc dot gnu.org
@ 2024-01-19  2:46 ` cvs-commit at gcc dot gnu.org
  2024-01-19  2:47 ` liuhongt at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-01-19  2:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:

https://gcc.gnu.org/g:1c51d0109a4730827c40c3bbd3a59d459828017e

commit r14-8266-g1c51d0109a4730827c40c3bbd3a59d459828017e
Author: liuhongt <hongtao.liu@intel.com>
Date:   Fri Jan 19 09:22:39 2024 +0800

    Fix testcase failure on many platforms which don't support vect_int_max.

    After r14-7124-g6686e16fda4190, the testcase can be optimized to
    MAX_EXPR if the backends support that. So I adjust the testcase to
    scan for MAX_EXPR, but it failed many platforms which don't support
    that.
    As pinski mentioned, target vect_no_int_min_max is only available
    under vect directory, so for simplicity, I adjust the testcase to scan
    either MAX_EXPR or original VEC_COND_EXPR.

    gcc/testsuite/ChangeLog:

            PR testsuite/113437
            * gcc.dg/tree-ssa/pr95906.c: Scan either MAX_EXPR or
            VEC_COND_EXPR.

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

* [Bug testsuite/113437] [14 Regression] gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4
  2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2024-01-19  2:46 ` cvs-commit at gcc dot gnu.org
@ 2024-01-19  2:47 ` liuhongt at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2024-01-19  2:47 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao Liu <liuhongt at gcc dot gnu.org> changed:

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

--- Comment #8 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2024-01-19  2:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17  9:14 [Bug testsuite/113437] New: gcc.dg/tree-ssa/pr95906.c fails on arm since g:6686e16fda4 clyon at gcc dot gnu.org
2024-01-17 13:32 ` [Bug testsuite/113437] [14 Regression] " rguenth at gcc dot gnu.org
2024-01-17 13:52 ` ro at gcc dot gnu.org
2024-01-18  0:48 ` liuhongt at gcc dot gnu.org
2024-01-18  0:53 ` pinskia at gcc dot gnu.org
2024-01-18 20:58 ` danglin at gcc dot gnu.org
2024-01-19  1:33 ` liuhongt at gcc dot gnu.org
2024-01-19  2:39 ` hp at gcc dot gnu.org
2024-01-19  2:46 ` cvs-commit at gcc dot gnu.org
2024-01-19  2:47 ` liuhongt 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).