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

            Bug ID: 122002
           Summary: gfortran.dg/pdt_13.f03 etc. FAIL
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: pault at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc-sun-solaris2.11

Between 20250918 (8c6b6adce45a550c52dc35e3df4e0c477f5404fa) and 20250919
(95fc85aff1c26184d0fe52ea4e9f47064279126a), many fortran tests began to FAIL
on Solaris/SPARC (32 and 64-bit), e.g.

+FAIL: gfortran.dg/pdt_13.f03   -O0  (internal compiler error: free_expr0():
Bad expr type)
+FAIL: gfortran.dg/pdt_13.f03   -O0  (test for excess errors)

at all optimization levels:

Excess errors:
f951: internal compiler error: free_expr0(): Bad expr type
0x864c93 diagnostic_report_diagnostic(diagnostics::context*,
diagnostics::diagnostic_info*)
        /vol/gcc/src/hg/master/local/gcc/diagnostic.h:178
0x864c93 gfc_report_diagnostic
        /vol/gcc/src/hg/master/local/gcc/fortran/error.cc:250
0x864c93 gfc_internal_error(char const*, ...)
        /vol/gcc/src/hg/master/local/gcc/fortran/error.cc:841
0x86660b free_expr0
        /vol/gcc/src/hg/master/local/gcc/fortran/expr.cc:564
0x8666a7 gfc_free_expr(gfc_expr*)
        /vol/gcc/src/hg/master/local/gcc/fortran/expr.cc:585
0x8666a7 gfc_free_expr(gfc_expr*)
        /vol/gcc/src/hg/master/local/gcc/fortran/expr.cc:581
0x8666a7 gfc_free_actual_arglist(gfc_actual_arglist*)
        /vol/gcc/src/hg/master/local/gcc/fortran/expr.cc:601
0x90014b gfc_match_rvalue(gfc_expr**)
        /vol/gcc/src/hg/master/local/gcc/fortran/primary.cc:4094
0x8b1f4f match_primary
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:217
0x8b1f4f match_level_1
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:267
0x8b1f4f match_mult_operand
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:323
0x8b222f match_add_operand
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:412
0x8b257b match_level_2
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:536
0x8b27af match_level_3
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:607
0x8b291f match_level_4
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:655
0x8b291f match_and_operand
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:749
0x8b2b2f match_or_operand
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:778
0x8b2c4f match_equiv_operand
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:821
0x8b2d6f match_level_5
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:867
0x8b1bef gfc_match_expr(gfc_expr**)
        /vol/gcc/src/hg/master/local/gcc/fortran/matchexp.cc:926

Reply via email to