[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #7 from Dominique d'Humieres --- Closing.
[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 --- Comment #6 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Sun Oct 1 09:49:48 2017 New Revision: 253328 URL: https://gcc.gnu.org/viewcvs?rev=253328=gcc=rev Log: 2017-10-01 Dominique d'HumieresPR fortran/61450 * parse.c (gfc_global_used): Replace the gfc_internal_error with an error. 2017-10-01 Dominique d'Humieres PR fortran/61450 * gfortran.dg/binding_label_tests_28.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/binding_label_tests_28.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/parse.c trunk/gcc/testsuite/ChangeLog
[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 Dominique d'Humieres changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |dominiq at lps dot ens.fr --- Comment #5 from Dominique d'Humieres --- > Can regtest it and submit it to the list for review? Many thanks… I'll do the submission soon.
[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 --- Comment #4 from Francois-Xavier Coudert --- Can regtest it and submit it to the list for review? Many thanks…
[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 --- Comment #3 from Dominique d'Humieres --- > > If it helps, I can take care of the packaging. > > PING! REPING!
[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 --- Comment #2 from Dominique d'Humieres --- > If it helps, I can take care of the packaging. PING!
[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 --- Comment #1 from Dominique d'Humieres --- With the updated patch below the ICE is now replaced with pr61450.f90:6:15: integer i1 2 bind(c,name="foo") :: i1 end module subroutine truc() bind(c,name="foo") 1 Error: Global binding name 'foo' at (1) is already being used at (2) Any reason why the original patch has been delayed for more than a year? If it helps, I can take care of the packaging. Dominique --- ../_clean/gcc/fortran/parse.c 2015-11-11 15:23:35.0 +0100 +++ gcc/fortran/parse.c 2015-11-14 12:49:41.0 +0100 @@ -5237,33 +5237,32 @@ gfc_global_used (gfc_gsymbol *sym, locus switch(sym->type) { case GSYM_PROGRAM: - name = "PROGRAM"; + name = "as a PROGRAM "; break; case GSYM_FUNCTION: - name = "FUNCTION"; + name = "as a FUNCTION "; break; case GSYM_SUBROUTINE: - name = "SUBROUTINE"; + name = "as a SUBROUTINE "; break; case GSYM_COMMON: - name = "COMMON"; + name = "as a COMMON "; break; case GSYM_BLOCK_DATA: - name = "BLOCK DATA"; + name = "as a BLOCK DATA "; break; case GSYM_MODULE: - name = "MODULE"; + name = "as a MODULE "; break; default: - gfc_internal_error ("gfc_global_used(): Bad type"); - name = NULL; + name = ""; } if (sym->binding_label) -gfc_error ("Global binding name %qs at %L is already being used as a %s " +gfc_error ("Global binding name %qs at %L is already being used %s" "at %L", sym->binding_label, where, name, >where); else -gfc_error ("Global name %qs at %L is already being used as a %s at %L", +gfc_error ("Global name %qs at %L is already being used %sat %L", sym->name, where, name, >where); }
[Bug fortran/61450] ICE in gfc_global_used()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 Francois-Xavier Coudert fxcoudert at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed||2014-06-08 CC||bur...@net-b.de Ever confirmed|0 |1