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

            Bug ID: 126392
           Summary: [17 Regression] 'GIMPLE_SWITCH' lowering for
                    'INTEGER_TYPE' subrange wrappers vs. targets without
                    'casesi'/'tablejump'
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, testsuite-fail
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: ams at gcc dot gnu.org, mikael at gcc dot gnu.org
  Target Milestone: ---
            Target: amdgcn, nvptx

'GIMPLE_SWITCH' lowering vs. targets without 'casesi'/'tablejump'

GCC supports targets without 'casesi'/'tablejump' instructions.  (For example,
'--target=amdgcn-amdhsa', '--target=nvptx-none' -- could probably be
implemented, but currently isn't.)  For x86_64, this can be "faked" by
modifying 'gcc/config/i386/i386.md':

     (define_expand "tablejump"
       [(parallel [(set (pc) (match_operand 0 "indirect_branch_operand"))
                  (use (label_ref (match_operand 1)))])]
    -  ""
    +  "false"

     (define_insn "*tablejump_1"
       [(set (pc) (match_operand:W 0 "indirect_branch_operand" "rBw"))
        (use (label_ref (match_operand 1)))]
    -  ""
    +  "false"

For such GCC configurations, we've recently acquired a number of GCC/Fortran
regressions (see list of regressions quoted at the end) à la:

    during RTL pass: expand
   
[...]/source-gcc/gcc/testsuite/gfortran.dg/assumed_rank_bounds_3.f90:178:38:
internal compiler error: in emit_case_dispatch_table, at stmt.cc:1199
    0x1f2d35d internal_error(char const*, ...)
            [...]/source-gcc/gcc/diagnostic-global-context.cc:787
    0x8d368b fancy_abort(char const*, int, char const*)
            [...]/source-gcc/gcc/diagnostics/context.cc:1813
    0x773983 emit_case_dispatch_table
            [...]/source-gcc/gcc/stmt.cc:1199
    0x1078752 expand_case(gswitch*)
            [...]/source-gcc/gcc/stmt.cc:1359

Those appeared via recent commit
r17-2216-g3a8d9347f30b9d66ed6a3c7e0959c08e93ecb205 "fortran: Create a dedicated
type for ranks and array dimensions".

Per my understanding, that problem has been latent, just now exposed via this
GCC/Fortran front end change.

List of regressions:

    PASS: gfortran.dg/assumed_rank_bounds_3.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/assumed_rank_bounds_3.f90   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/assumed_rank_bounds_3.f90   -O1  (internal
compiler error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/assumed_rank_bounds_3.f90   -O1  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/assumed_rank_bounds_3.f90   -O1 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/assumed_rank_bounds_3.f90   -O2  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/assumed_rank_bounds_3.f90   -O2  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/assumed_rank_bounds_3.f90   -O2 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/assumed_rank_bounds_3.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/assumed_rank_bounds_3.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/assumed_rank_bounds_3.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/assumed_rank_bounds_3.f90   -O3 -g  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/assumed_rank_bounds_3.f90   -O3 -g  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/assumed_rank_bounds_3.f90   -O3 -g 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/assumed_rank_bounds_3.f90   -Os  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/assumed_rank_bounds_3.f90   -Os  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/assumed_rank_bounds_3.f90   -Os 
[-execution test-]{+compilation failed to produce executable+}

    PASS: gfortran.dg/finalize_12.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/finalize_12.f90   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/finalize_12.f90   -O1  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_12.f90   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_12.f90   -O1  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_12.f90   -O2  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_12.f90   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_12.f90   -O2  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_12.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_12.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_12.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_12.f90   -O3 -g  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_12.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_12.f90   -O3 -g  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_12.f90   -Os  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_12.f90   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_12.f90   -Os  [-execution
test-]{+compilation failed to produce executable+}

    PASS: gfortran.dg/finalize_13.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/finalize_13.f90   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/finalize_13.f90   -O1  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_13.f90   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_13.f90   -O1  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_13.f90   -O2  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_13.f90   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_13.f90   -O2  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_13.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_13.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_13.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_13.f90   -O3 -g  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_13.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_13.f90   -O3 -g  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_13.f90   -Os  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_13.f90   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_13.f90   -Os  [-execution
test-]{+compilation failed to produce executable+}

    PASS: gfortran.dg/finalize_29.f08   -O0  (test for excess errors)
    PASS: gfortran.dg/finalize_29.f08   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/finalize_29.f08   -O1  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_29.f08   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_29.f08   -O1  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_29.f08   -O2  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_29.f08   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_29.f08   -O2  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_29.f08   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_29.f08   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_29.f08   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_29.f08   -O3 -g  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_29.f08   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_29.f08   -O3 -g  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_29.f08   -Os  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_29.f08   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_29.f08   -Os  [-execution
test-]{+compilation failed to produce executable+}

    PASS: gfortran.dg/finalize_38.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/finalize_38.f90   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/finalize_38.f90   -O1  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38.f90   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38.f90   -O1  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_38.f90   -O2  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38.f90   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38.f90   -O2  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_38.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_38.f90   -O3 -g  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38.f90   -O3 -g  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_38.f90   -Os  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38.f90   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38.f90   -Os  [-execution
test-]{+compilation failed to produce executable+}

    PASS: gfortran.dg/finalize_38a.f90   -O0   (test for warnings, line 151)
    PASS: gfortran.dg/finalize_38a.f90   -O0   (test for warnings, line 156)
    PASS: gfortran.dg/finalize_38a.f90   -O0   (test for warnings, line 186)
    @@ -28771,36 +28861,41 @@ PASS: gfortran.dg/finalize_38a.f90   -O1   (test
for warnings, line 156)
    PASS: gfortran.dg/finalize_38a.f90   -O1   (test for warnings, line 186)
    PASS: gfortran.dg/finalize_38a.f90   -O1   (test for warnings, line 198)
    PASS: gfortran.dg/finalize_38a.f90   -O1   (test for warnings, line 76)
    [-PASS:-]{+FAIL: gfortran.dg/finalize_38a.f90   -O1  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38a.f90   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38a.f90   -O1  [-execution
test-]{+compilation failed to produce executable+}
    PASS: gfortran.dg/finalize_38a.f90   -O2   (test for warnings, line 151)
    PASS: gfortran.dg/finalize_38a.f90   -O2   (test for warnings, line 156)
    PASS: gfortran.dg/finalize_38a.f90   -O2   (test for warnings, line 186)
    PASS: gfortran.dg/finalize_38a.f90   -O2   (test for warnings, line 198)
    PASS: gfortran.dg/finalize_38a.f90   -O2   (test for warnings, line 76)
    [-PASS:-]{+FAIL: gfortran.dg/finalize_38a.f90   -O2  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38a.f90   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38a.f90   -O2  [-execution
test-]{+compilation failed to produce executable+}
    PASS: gfortran.dg/finalize_38a.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   (test for warnings,
line 151)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   (test for warnings,
line 156)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   (test for warnings,
line 186)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   (test for warnings,
line 198)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   (test for warnings,
line 76)
    [-PASS:-]{+FAIL: gfortran.dg/finalize_38a.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38a.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38a.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]{+compilation failed to produce executable+}
    PASS: gfortran.dg/finalize_38a.f90   -O3 -g   (test for warnings, line 151)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -g   (test for warnings, line 156)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -g   (test for warnings, line 186)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -g   (test for warnings, line 198)
    PASS: gfortran.dg/finalize_38a.f90   -O3 -g   (test for warnings, line 76)
    [-PASS:-]{+FAIL: gfortran.dg/finalize_38a.f90   -O3 -g  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38a.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38a.f90   -O3 -g  [-execution
test-]{+compilation failed to produce executable+}
    PASS: gfortran.dg/finalize_38a.f90   -Os   (test for warnings, line 151)
    PASS: gfortran.dg/finalize_38a.f90   -Os   (test for warnings, line 156)
    PASS: gfortran.dg/finalize_38a.f90   -Os   (test for warnings, line 186)
    PASS: gfortran.dg/finalize_38a.f90   -Os   (test for warnings, line 198)
    PASS: gfortran.dg/finalize_38a.f90   -Os   (test for warnings, line 76)
    [-PASS:-]{+FAIL: gfortran.dg/finalize_38a.f90   -Os  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_38a.f90   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_38a.f90   -Os  [-execution
test-]{+compilation failed to produce executable+}

    [-PASS:-]{+FAIL: gfortran.dg/finalize_4.f03   -O  (internal compiler error:
in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_4.f03   -O  (test for excess errors)

    PASS: gfortran.dg/finalize_40.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/finalize_40.f90   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/finalize_40.f90   -O1  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_40.f90   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_40.f90   -O1  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_40.f90   -O2  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_40.f90   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_40.f90   -O2  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_40.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_40.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_40.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_40.f90   -O3 -g  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_40.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_40.f90   -O3 -g  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_40.f90   -Os  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_40.f90   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_40.f90   -Os  [-execution
test-]{+compilation failed to produce executable+}

    PASS: gfortran.dg/finalize_41.f90   -O0  (test for excess errors)
    PASS: gfortran.dg/finalize_41.f90   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/finalize_41.f90   -O1  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_41.f90   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_41.f90   -O1  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_41.f90   -O2  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_41.f90   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_41.f90   -O2  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_41.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error: in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_41.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_41.f90   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
[-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_41.f90   -O3 -g  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_41.f90   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_41.f90   -O3 -g  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/finalize_41.f90   -Os  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_41.f90   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/finalize_41.f90   -Os  [-execution
test-]{+compilation failed to produce executable+}

    PASS: gfortran.dg/finalize_7.f03   -O   (test for warnings, line 20)
    PASS: gfortran.dg/finalize_7.f03   -O   (test for warnings, line 34)
    PASS: gfortran.dg/finalize_7.f03   -O   (test for warnings, line 39)
    [-PASS:-]{+FAIL: gfortran.dg/finalize_7.f03   -O  (internal compiler error:
in emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/finalize_7.f03   -O  (test for excess errors)

    PASS: gfortran.dg/pdt_70.f03   -O0  (test for excess errors)
    PASS: gfortran.dg/pdt_70.f03   -O0  execution test
    [-PASS:-]{+FAIL: gfortran.dg/pdt_70.f03   -O1  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/pdt_70.f03   -O1  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/pdt_70.f03   -O1  [-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/pdt_70.f03   -O2  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/pdt_70.f03   -O2  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/pdt_70.f03   -O2  [-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/pdt_70.f03   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/pdt_70.f03   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/pdt_70.f03   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  [-execution test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/pdt_70.f03   -O3 -g  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/pdt_70.f03   -O3 -g  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/pdt_70.f03   -O3 -g  [-execution
test-]
    [-PASS:-]{+compilation failed to produce executable+}
    {+FAIL: gfortran.dg/pdt_70.f03   -Os  (internal compiler error: in
emit_case_dispatch_table, at stmt.cc:1199)+}
    {+FAIL:+} gfortran.dg/pdt_70.f03   -Os  (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gfortran.dg/pdt_70.f03   -Os  [-execution
test-]{+compilation failed to produce executable+}
  • [Bug tree-optimization/126392] N... tschwinge at gcc dot gnu.org via Gcc-bugs

Reply via email to