This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/83898] New: ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181


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

            Bug ID: 83898
           Summary: ICE in gfc_conv_expr_descriptor, at
                    fortran/trans-array.c:7181
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Down to version 4.9 -- gfortran 4.8 seems to work :


$ cat z1.f90
program p
   associate (x => ['1'])
      print *, x
   end associate
end


$ gfortran-8-20180114 -c z1.f90
z1.f90:3:0:

       print *, x

internal compiler error: in gfc_conv_expr_descriptor, at
fortran/trans-array.c:7181
0x75a697 gfc_conv_expr_descriptor(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-array.c:7181
0x7b3293 trans_associate_var
        ../../gcc/fortran/trans-stmt.c:1594
0x7b3293 gfc_trans_block_construct(gfc_code*)
        ../../gcc/fortran/trans-stmt.c:1921
0x747a97 trans_code
        ../../gcc/fortran/trans.c:1924
0x76eb79 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6451
0x6fe980 translate_all_program_units
        ../../gcc/fortran/parse.c:6103
0x6fe980 gfc_parse_file()
        ../../gcc/fortran/parse.c:6306
0x744e5f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]