[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-22 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2007-07-22 16:38 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-22 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2007-07-22 16:37 --- Subject: Bug 32710 Author: dfranke Date: Sun Jul 22 16:37:12 2007 New Revision: 126828 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126828 Log: gcc/fortran: 2007-07-22 Daniel Franke <[EMAIL PROTECTED]>

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-22 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2007-07-22 09:20 --- Subject: Bug number PR32710 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01640.html -- http://gcc.gnu.org/bugzilla/sh

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-21 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-07-21 23:42 --- Things are messed up in parse.c(gfc_fixup_sibling_symbols) ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32710

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-21 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-07-21 20:32 --- Dumping the parse tree shows that somewhere the symbol of the subroutine gets hooked into the NML-part of the READ statement: namelist 'foo', subroutine 'foo2': Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (RE

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-21 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-21 18:20 --- (gdb) bt #0 0xb7dc39f3 in strlen () from /lib/libc.so.6 #1 0x080ee408 in build_dt (function=0xb7cdc600, code=0x8937610) at ../../../gcc/gcc/fortran/trans-io.c:1257 #2 0x080be6ce in gfc_trans_code (code=0x8937610)

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-09 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-07-09 22:34 --- If one moves "subroutine name()" before "readinput", valgrind shows no problems. (And no ICE occurs with 4.2 and 4.1.) This occures for dt->namelist->name, which is "name" (len 4) ==18422==at 0x4A3FB2: build_dt (

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-09 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-07-09 21:57 --- Works for me with 4.3.0; I can reproduce the ICE with 4.2 and 4.1. valgrind with 4.3.0 shows: ==18422== Invalid read of size 8 ==18422==at 0x4A3FB2: build_dt (trans-io.c:1592) ==18422==by 0x47819E: gfc_trans_