[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Paul Thomas --- Fixed on 6-branch to trunk. Thanks for the report. Paul
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 --- Comment #9 from Paul Thomas --- Author: pault Date: Sun May 13 08:34:50 2018 New Revision: 260208 URL: https://gcc.gnu.org/viewcvs?rev=260208=gcc=rev Log: 2018-05-13 Paul ThomasPR fortran/68846 PR fortran/70864 Backport from trunk * resolve.c (get_temp_from_expr): The temporary must not have dummy or intent attributes. 2018-05-13 Paul Thomas PR fortran/68846 Backport from trunk * gfortran.dg/temporary_3.f90 : New test. PR fortran/70864 Backport from trunk * gfortran.dg/temporary_2.f90 : New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/temporary_2.f90 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/temporary_3.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/resolve.c branches/gcc-6-branch/gcc/testsuite/ChangeLog
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 --- Comment #8 from Paul Thomas --- Author: pault Date: Sat May 12 15:33:24 2018 New Revision: 260195 URL: https://gcc.gnu.org/viewcvs?rev=260195=gcc=rev Log: 2018-05-12 Paul ThomasPR fortran/68846 PR fortran/70864 Backport from trunk * resolve.c (get_temp_from_expr): The temporary must not have dummy or intent attributes. 2018-05-12 Paul Thomas PR fortran/68846 Backport from trunk * gfortran.dg/temporary_3.f90 : New test. PR fortran/70864 Backport from trunk * gfortran.dg/temporary_2.f90 : New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/temporary_2.f90 branches/gcc-7-branch/gcc/testsuite/gfortran.dg/temporary_3.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/resolve.c branches/gcc-7-branch/gcc/testsuite/ChangeLog
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 --- Comment #7 from Paul Thomas --- Author: pault Date: Fri May 11 09:35:55 2018 New Revision: 260160 URL: https://gcc.gnu.org/viewcvs?rev=260160=gcc=rev Log: 2018-05-11 Paul ThomasPR fortran/68846 PR fortran/70864 backport from trunk * resolve.c (get_temp_from_expr): The temporary must not have dummy or intent attributes. 2018-05-11 Paul Thomas PR fortran/68846 backport from trunk * gfortran.dg/temporary_3.f90 : New test. PR fortran/70864 backport from trunk * gfortran.dg/temporary_2.f90 : New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/temporary_2.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/temporary_3.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #6 from Paul Thomas --- I will backport as soon as I have time. Paul
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 --- Comment #5 from Paul Thomas --- Author: pault Date: Thu May 10 10:48:50 2018 New Revision: 260113 URL: https://gcc.gnu.org/viewcvs?rev=260113=gcc=rev Log: 2018-05-10 Paul ThomasPR fortran/68846 PR fortran/70864 * resolve.c (get_temp_from_expr): The temporary must not have dummy or intent attributes. 2018-05-10 Paul Thomas PR fortran/68846 * gfortran.dg/temporary_3.f90 : New test. PR fortran/70864 * gfortran.dg/temporary_2.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/temporary_2.f90 trunk/gcc/testsuite/gfortran.dg/temporary_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 --- Comment #4 from Gerhard Steinmetz--- Related to pr68846 (technically slightly different). Backtrace identical to that of pr68846 comment 3 etc.
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 Gerhard Steinmetzchanged: What|Removed |Added CC||gerhard.steinmetz.fortran@t ||-online.de --- Comment #3 from Gerhard Steinmetz --- Reduced and simplified a bit. $ cat pr70864_cm.f90 module m70864 type BoxArray contains procedure :: boxarray_assign generic :: assignment(=) => boxarray_assign end type type MultiFab type(BoxArray) :: ba end type contains subroutine boxarray_assign (dst, src) class(BoxArray), intent(inout) :: dst type (BoxArray), intent(in ) :: src end subroutine multifab_copy (mf1, mf2) type(MultiFab), intent(inout) :: mf1, mf2 mf2 = mf1 !! end end module $ gfortran-7-20161204 -c pr70864_cm.f90 pr70864_cm.f90:19:0: end module internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1477 0x75a352 gfc_get_symbol_decl(gfc_symbol*) ../../gcc/fortran/trans-decl.c:1477 0x75e5b7 generate_local_decl ../../gcc/fortran/trans-decl.c:5327 0x71825b do_traverse_symtree ../../gcc/fortran/symbol.c:3994 0x75f412 generate_local_vars ../../gcc/fortran/trans-decl.c:5527 0x75f412 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6206 0x7331f9 gfc_generate_module_code(gfc_namespace*) ../../gcc/fortran/trans.c:2164 0x6e72fd translate_all_program_units ../../gcc/fortran/parse.c:6025 0x6e72fd gfc_parse_file() ../../gcc/fortran/parse.c:6238 0x72b182 gfc_be_parse_file ../../gcc/fortran/f95-lang.c:202
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 Ian Harvey changed: What|Removed |Added CC||ian_harvey at bigpond dot com --- Comment #2 from Ian Harvey --- *** Bug 71580 has been marked as a duplicate of this bug. ***
[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2016-04-29 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (7.0). The test gives the ICE at the same place as the test in pr68846 variant 2.