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

            Bug ID: 93501
           Summary: [10 regression] gfortran.dg/pr93473.f90  ICEs starting
                    with r10-6294
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:a83b5cc5828ee34471de415e8893242dd3b0a91b, r10-6295

FAIL: gfortran.dg/pr93473.f90   -O  (internal compiler error)
FAIL: gfortran.dg/pr93473.f90   -O  (test for excess errors)


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/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/pr93473.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never    -O 
-ffree-line-length-none -S -o pr93473.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/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/pr93473.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O -ffree-line-length-none
-S -o pr93473.s
f951: internal compiler error: new_symbol(): Symbol name too long
0x102afe4b gfc_report_diagnostic
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/error.c:782
0x102b1c73 gfc_internal_error(char const*, ...)
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/error.c:1402
0x10392a4f gfc_new_symbol(char const*, gfc_namespace*)
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/symbol.c:3139
0x103146bf read_module
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/module.c:5398
0x103146bf gfc_use_module
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/module.c:7192
0x103186e3 gfc_use_modules()
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/module.c:7316
0x1032ba2f use_modules
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/parse.c:114
0x1033b893 parse_module
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/parse.c:6111
0x1033bbab gfc_parse_file()
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/parse.c:6428
0x103abbbf gfc_be_parse_file
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/f95-lang.c:210
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gfortran.dg/pr93473.f90   -O  (internal compiler error)

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/powerpc64-unknown-linux-gnu/./libgfortran/
exceptions_enabled101366.c    -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -S -o exceptions_enabled101366.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/powerpc64-unknown-linux-gnu/./libgfortran/
exceptions_enabled101366.c -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -S -o exceptions_enabled101366.s
exceptions_enabled101366.c: In function 'foo':
exceptions_enabled101366.c:4:7: error: 'throw' undeclared (first use in this
function)
exceptions_enabled101366.c:4:7: note: each undeclared identifier is reported
only once for each function it appears in
exceptions_enabled101366.c:4:12: error: expected ';' before numeric constant
compiler exited with status 1
FAIL: gfortran.dg/pr93473.f90   -O  (test for excess errors)
Excess errors:
f951: internal compiler error: new_symbol(): Symbol name too long
0x102afe4b gfc_report_diagnostic
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/error.c:782
0x102b1c73 gfc_internal_error(char const*, ...)
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/error.c:1402
0x10392a4f gfc_new_symbol(char const*, gfc_namespace*)
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/symbol.c:3139
0x103146bf read_module
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/module.c:5398
0x103146bf gfc_use_module
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/module.c:7192
0x103186e3 gfc_use_modules()
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/module.c:7316
0x1032ba2f use_modules
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/parse.c:114
0x1033b893 parse_module
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/parse.c:6111
0x1033bbab gfc_parse_file()
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/parse.c:6428
0x103abbbf gfc_be_parse_file
        /home/seurer/gcc/git/gcc-test2/gcc/fortran/f95-lang.c:210

Reply via email to