public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/105570] New: new test case gfortran.dg/pr102860.f90 uses invalid option
@ 2022-05-11 16:47 seurer at gcc dot gnu.org
  2022-05-11 16:54 ` [Bug testsuite/105570] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2022-05-11 16:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105570
           Summary: new test case gfortran.dg/pr102860.f90 uses invalid
                    option
           Product: gcc
           Version: 9.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:95f6eb7ae707482fdeed57b0906dacb8e675385d, r9-10118
make  -k check-gcc-fortran RUNTESTFLAGS="dg.exp=gfortran.dg/pr102860.f90"
FAIL: gfortran.dg/pr102860.f90   -O  (test for excess errors)
# of unexpected failures        1

commit 95f6eb7ae707482fdeed57b0906dacb8e675385d (HEAD, refs/bisect/bad)
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Wed Jan 19 15:03:45 2022 +0100

    match.pd, optabs: Avoid vectorization of {FLOOR,CEIL,ROUND}_{DIV,MOD}_EXPR
[PR102860]


spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-9-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-9-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-9-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-9-test/gcc/testsuite/gfortran.dg/pr102860.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -O2 -mcpu=power10 -S -o pr102860.s
gfortran: error: unrecognized argument in option '-mcpu=power10'
gfortran: note: valid arguments to '-mcpu=' are: 401 403 405 405fp 440 440fp
464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801
821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500
e6500 ec603e native power3 power4 power5 power5+ power6 power6x power7 power8
power9 powerpc powerpc64 powerpc64le rs64 titan; did you mean 'power3'?
compiler exited with status 1
FAIL: gfortran.dg/pr102860.f90   -O  (test for excess errors)
Excess errors:
gfortran: error: unrecognized argument in option '-mcpu=power10'


gcc 9 does not support power10

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

* [Bug testsuite/105570] new test case gfortran.dg/pr102860.f90 uses invalid option
  2022-05-11 16:47 [Bug testsuite/105570] New: new test case gfortran.dg/pr102860.f90 uses invalid option seurer at gcc dot gnu.org
@ 2022-05-11 16:54 ` jakub at gcc dot gnu.org
  2022-05-11 18:39 ` cvs-commit at gcc dot gnu.org
  2022-05-11 18:45 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-11 16:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Oops, I was just testing the backports on x86_64-linux.
The fix itself is generic, and thus IMHO worth the backport, so I think the
options are kill the testcase on the branch, or just stop using -mcpu=power9
there.

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

* [Bug testsuite/105570] new test case gfortran.dg/pr102860.f90 uses invalid option
  2022-05-11 16:47 [Bug testsuite/105570] New: new test case gfortran.dg/pr102860.f90 uses invalid option seurer at gcc dot gnu.org
  2022-05-11 16:54 ` [Bug testsuite/105570] " jakub at gcc dot gnu.org
@ 2022-05-11 18:39 ` cvs-commit at gcc dot gnu.org
  2022-05-11 18:45 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-11 18:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:6d79958a50eb5419ebb9baa5ef880aabeef05467

commit r9-10157-g6d79958a50eb5419ebb9baa5ef880aabeef05467
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Wed May 11 20:37:01 2022 +0200

    testsuite: Fix up pr102860.f90 for gcc 9 [PR105570]

    Apparently -mcpu=power10 is gcc 10+, but the PR102860 change otherwise
    made sense also for 9.x.  So just adjusting testcase...

    2022-05-11  Jakub Jelinek  <jakub@redhat.com>

            PR middle-end/102860
            PR testsuite/105570
            * gfortran.dg/pr102860.f90: Use -mcpu=power9 instead of
-mcpu=power10.

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

* [Bug testsuite/105570] new test case gfortran.dg/pr102860.f90 uses invalid option
  2022-05-11 16:47 [Bug testsuite/105570] New: new test case gfortran.dg/pr102860.f90 uses invalid option seurer at gcc dot gnu.org
  2022-05-11 16:54 ` [Bug testsuite/105570] " jakub at gcc dot gnu.org
  2022-05-11 18:39 ` cvs-commit at gcc dot gnu.org
@ 2022-05-11 18:45 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-11 18:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2022-05-11 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 16:47 [Bug testsuite/105570] New: new test case gfortran.dg/pr102860.f90 uses invalid option seurer at gcc dot gnu.org
2022-05-11 16:54 ` [Bug testsuite/105570] " jakub at gcc dot gnu.org
2022-05-11 18:39 ` cvs-commit at gcc dot gnu.org
2022-05-11 18:45 ` jakub 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).