[Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)

2006-01-28 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.1.0


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



[Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)

2006-01-05 Thread eedelman at gcc dot gnu dot org


--- Comment #5 from eedelman at gcc dot gnu dot org  2006-01-05 21:10 
---
Subject: Bug 23675

Author: eedelman
Date: Thu Jan  5 21:10:05 2006
New Revision: 109389

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=109389
Log:
fortran/
2006-01-05  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/23675
* expr.c (gfc_expr_set_symbols_referenced): New function.
* gfortran.h: Add a function prototype for it.
* resolve.c (resolve_function): Use it for use associated character 
functions lengths.
* expr.c, gfortran.h, resolve.c: Updated copyright years.

testsuite/
2006-01-05  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/23675
gfortran.dg/char_result_11.f90: New.



Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90
  - copied unchanged from r109368,
trunk/gcc/testsuite/gfortran.dg/char_result_11.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/expr.c
branches/gcc-4_1-branch/gcc/fortran/gfortran.h
branches/gcc-4_1-branch/gcc/fortran/resolve.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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




[Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)

2006-01-05 Thread eedelman at gcc dot gnu dot org


--- Comment #6 from eedelman at gcc dot gnu dot org  2006-01-05 21:17 
---
Fixed on 4.1 and mainline,


-- 

eedelman at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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




[Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)

2006-01-04 Thread eedelman at gcc dot gnu dot org


--- Comment #3 from eedelman at gcc dot gnu dot org  2006-01-04 20:41 
---
Patch here: http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00079.html


-- 


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




[Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)

2006-01-04 Thread eedelman at gcc dot gnu dot org


--- Comment #4 from eedelman at gcc dot gnu dot org  2006-01-05 00:22 
---
Subject: Bug 23675

Author: eedelman
Date: Thu Jan  5 00:22:39 2006
New Revision: 109368

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=109368
Log:
2006-01-05  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/23675
* expr.c (gfc_expr_set_symbols_referenced): New function.
* gfortran.h: Add a function prototype for it.
* resolve.c (resolve_function): Use it for
use associated character functions lengths.
* expr.c, gfortran.h, resolve.c: Updated copyright years.


testsuite/
2006-01-05  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/23675
gfortran.dg/char_result_11.f90: New.



Added:
trunk/gcc/testsuite/gfortran.dg/char_result_11.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog


-- 


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




[Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)

2005-12-30 Thread eedelman at gcc dot gnu dot org


--- Comment #2 from eedelman at gcc dot gnu dot org  2005-12-30 22:44 
---
The testcase compiles without error messages in 4.2.0 20051230 (I haven't tried
with 4.1 or 4.0 yet).  However, if I try to use IntToChar2 from another program
unit, I get another error, so there's still a bug somewhere.  E.g. for the
program


program test

use cutils

implicit none
character(25) :: str

str = IntToChar2(3)

end program test


I get

erik:/home/gcc/head/test$ gfortran 23675.f90 
23675.f90: In function 'MAIN__':
23675.f90:22: internal compiler error: in gfc_get_symbol_decl, at
fortran/trans-decl.c:819

Possible workaround at the moment:  Declare maxStringLength to be a PARAMETER


-- 

eedelman at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||eedelman at gcc dot gnu dot
   ||org
 AssignedTo|unassigned at gcc dot gnu   |eedelman at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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




[Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)

2005-09-04 Thread fxcoudert at gcc dot gnu dot org

--- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-04 
20:45 ---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-09-04 20:45:40
   date||


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