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

Reply via email to