[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-24 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2008-09-24 08:05 --- Fixed on trunk and 4.3 Thanks for the report Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-24 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2008-09-24 08:05 --- Subject: Bug 37583 Author: pault Date: Wed Sep 24 08:04:26 2008 New Revision: 140626 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140626 Log: 2008-09-24 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-23 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2008-09-23 10:10 --- (In reply to comment #6) Thanks to you both - I did not look subsequently at this PR. I hit the problem with ENTRY_1.F90, of course and my solution was one and the same. Many thanks for the coup de main and sorry

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-21 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2008-09-21 19:59 --- Subject: Bug 37583 Author: pault Date: Sun Sep 21 19:58:23 2008 New Revision: 140532 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140532 Log: 2008-09-21 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-20 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-09-20 07:32 --- With the patch in comment #3, I get FAIL: gfortran.dg/entry_1.f90 -O0 (test for excess errors) ... FAIL: gfortran.dg/entry_1.f90 -Os (test for excess errors) The failure is:

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-20 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2008-09-20 10:09 --- I just noticed that the patch in http://gcc.gnu.org/ml/fortran/2008-09/msg00342.html has an additional test in gcc/fortran/resolve.c: +sym-ns == gfc_current_ns This may fix the failure I have

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-20 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2008-09-20 11:32 --- I just noticed that the patch in http://gcc.gnu.org/ml/fortran/2008-09/msg00342.html has an additional test in gcc/fortran/resolve.c: +sym-ns == gfc_current_ns This may fix the failure I have

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-19 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2008-09-19 09:00 --- Hah! I never did like ENTRY in Modules:-( Changing the actual argument reference to 'glocal' to appear after the ENTRY, by use of a GOTO, allows the horror below to run correctly. Thus, in the reporter's version,

[Bug fortran/37583] ICE insert_bbt(): Duplicate key for self-calling ENTRY subprogram

2008-09-19 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2008-09-19 13:33 --- Created an attachment (id=16363) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16363action=view) Fix for both aspects of PR The bit in decl.c fixes the duplicate key business and that in resolve.c flags up the