public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875
@ 2020-06-03 18:17 seurer at linux dot vnet.ibm.com
  2020-06-04  7:07 ` [Bug fortran/95509] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: seurer at linux dot vnet.ibm.com @ 2020-06-03 18:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95509
           Summary: [11 regression] gfortran.dg/spellcheck-operator.f90
                    fails after r11-875
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

Executing on host:
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90
   -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never 
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never    -O   -pedantic-errors -S
-o spellcheck-operator.s    (timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -O -pedantic-errors -S -o spellcheck-operator.s
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:19:21:
Error: Procedure 'something_wring' in operator interface 'mywrong' at (1) is
neither function nor subroutine
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:19:21:
Error: User operator procedure 'something_wring' at (1) must be a FUNCTION
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:29:10:
Error: Unknown operator 'mygoof' at (1); did you mean 'mygood'?
compiler exited with status 1
PASS: gfortran.dg/spellcheck-operator.f90   -O   (test for errors, line 19)
PASS: gfortran.dg/spellcheck-operator.f90   -O   (test for errors, line 29)
Executing on host:
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
exceptions_enabled35529.c    -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -S -o exceptions_enabled35529.s    (timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
exceptions_enabled35529.c -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -S -o exceptions_enabled35529.s
exceptions_enabled35529.c: In function 'foo':
exceptions_enabled35529.c:4:7: error: 'throw' undeclared (first use in this
function)
exceptions_enabled35529.c:4:7: note: each undeclared identifier is reported
only once for each function it appears in
exceptions_enabled35529.c:4:12: error: expected ';' before numeric constant
compiler exited with status 1
FAIL: gfortran.dg/spellcheck-operator.f90   -O  (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:19:21:
Error: Procedure 'something_wring' in operator interface 'mywrong' at (1) is
neither function nor subroutine

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

* [Bug fortran/95509] [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875
  2020-06-03 18:17 [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875 seurer at linux dot vnet.ibm.com
@ 2020-06-04  7:07 ` rguenth at gcc dot gnu.org
  2020-06-04 11:52 ` dominiq at lps dot ens.fr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-06-04  7:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug fortran/95509] [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875
  2020-06-03 18:17 [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875 seurer at linux dot vnet.ibm.com
  2020-06-04  7:07 ` [Bug fortran/95509] " rguenth at gcc dot gnu.org
@ 2020-06-04 11:52 ` dominiq at lps dot ens.fr
  2020-06-04 21:17 ` tromey at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2020-06-04 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
                 CC|                            |iains at gcc dot gnu.org
               Host|powerpc64*-linux-gnu        |
   Last reconfirmed|                            |2020-06-04
             Target|powerpc64*-linux-gnu        |
                   |aarch64 arm                 |
              Build|powerpc64*-linux-gnu        |
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on x86_64-apple-darwin17.

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

* [Bug fortran/95509] [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875
  2020-06-03 18:17 [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875 seurer at linux dot vnet.ibm.com
  2020-06-04  7:07 ` [Bug fortran/95509] " rguenth at gcc dot gnu.org
  2020-06-04 11:52 ` dominiq at lps dot ens.fr
@ 2020-06-04 21:17 ` tromey at gcc dot gnu.org
  2020-06-05 12:46 ` tromey at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu.org @ 2020-06-04 21:17 UTC (permalink / raw)
  To: gcc-bugs

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

Tom Tromey <tromey at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |tromey at gcc dot gnu.org

--- Comment #2 from Tom Tromey <tromey at gcc dot gnu.org> ---
Sorry about that.

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

* [Bug fortran/95509] [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875
  2020-06-03 18:17 [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875 seurer at linux dot vnet.ibm.com
                   ` (2 preceding siblings ...)
  2020-06-04 21:17 ` tromey at gcc dot gnu.org
@ 2020-06-05 12:46 ` tromey at gcc dot gnu.org
  2020-06-05 17:45 ` cvs-commit at gcc dot gnu.org
  2020-06-05 17:46 ` tromey at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu.org @ 2020-06-05 12:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Tom Tromey <tromey at gcc dot gnu.org> ---
https://gcc.gnu.org/pipermail/gcc-patches/2020-June/547388.html

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

* [Bug fortran/95509] [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875
  2020-06-03 18:17 [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875 seurer at linux dot vnet.ibm.com
                   ` (3 preceding siblings ...)
  2020-06-05 12:46 ` tromey at gcc dot gnu.org
@ 2020-06-05 17:45 ` cvs-commit at gcc dot gnu.org
  2020-06-05 17:46 ` tromey at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-05 17:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@gcc.gnu.org>:

https://gcc.gnu.org/g:640e05e02b567fa5ccf4c207e6fc6c3e9a93b17c

commit r11-1004-g640e05e02b567fa5ccf4c207e6fc6c3e9a93b17c
Author: Tom Tromey <tromey@adacore.com>
Date:   Fri Jun 5 06:40:14 2020 -0600

    fortran/95509 - fix spellcheck-operator.f90 regression

    My earlier patch to add case handling to the spell checker caused a
    Fortran regression.  I believe I must have misread the test results.

    This patch fixes the problem by changing the cutoff.  I chose this
    value because the previous patch effectively multiplied the result of
    get_edit_distance by 2 (unless a case change is involved).

    gcc/fortran/ChangeLog:

            PR fortran/95509
            * misc.c (gfc_closest_fuzzy_match): Update cutoff value
            computation.

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

* [Bug fortran/95509] [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875
  2020-06-03 18:17 [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875 seurer at linux dot vnet.ibm.com
                   ` (4 preceding siblings ...)
  2020-06-05 17:45 ` cvs-commit at gcc dot gnu.org
@ 2020-06-05 17:46 ` tromey at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu.org @ 2020-06-05 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

Tom Tromey <tromey at gcc dot gnu.org> changed:

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

--- Comment #5 from Tom Tromey <tromey at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2020-06-05 17:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 18:17 [Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875 seurer at linux dot vnet.ibm.com
2020-06-04  7:07 ` [Bug fortran/95509] " rguenth at gcc dot gnu.org
2020-06-04 11:52 ` dominiq at lps dot ens.fr
2020-06-04 21:17 ` tromey at gcc dot gnu.org
2020-06-05 12:46 ` tromey at gcc dot gnu.org
2020-06-05 17:45 ` cvs-commit at gcc dot gnu.org
2020-06-05 17:46 ` tromey 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).