http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57094



             Bug #: 57094

           Summary: [Fortran-Dev] ICE: in lhd_incomplete_type_error, at

                    langhooks.c:203

    Classification: Unclassified

           Product: gcc

           Version: fortran-dev

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: fortran

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: domi...@lps.ens.fr

                CC: bur...@gcc.gnu.org

            Blocks: 56818





When compiled with the fortran-dev branch, the tests

gfortran.dg/auto_char_len_3.f90, proc_decl_23.f90, and transfer_intrinsic_3.f90

give the same ICE:



[macbook] f90/bug% gfcd

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/auto_char_len_3.f90

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/auto_char_len_3.f90: In function

'teststringtools':

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/auto_char_len_3.f90:22:0: internal

compiler error: in lhd_incomplete_type_error, at langhooks.c:203

   txt = chararray2string(chararr)

[macbook] f90/bug% gfcd

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/proc_decl_23.f90

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/proc_decl_23.f90: In function

'MAIN__':

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/proc_decl_23.f90:36:0: internal

compiler error: in lhd_incomplete_type_error, at langhooks.c:203

   print *, string_to_char (["a","b","c"])

[macbook] f90/bug% gfcd

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90: In

function 'MAIN__':

/opt/gcc/for_work/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90:34:0:

internal compiler error: in lhd_incomplete_type_error, at langhooks.c:203

     call has_key_ns(str_vs(qname(1:n-1)),"", n)

Reply via email to