[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-12-31 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=18883




[Bug fortran/18883] ICE in gfc_finish_var_decl

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


--- Comment #10 from eedelman at gcc dot gnu dot org  2005-12-27 22:09 
---
(In reply to comment #9)
 Fixed on 4.1.  Not yet fixed on 4.0, because it depends on PR 15326 which
 hasn't been fixed for 4.0.

PR 15326 will not be fixed for 4.0, I presume, so neither will this. Thus I
consider this as fixed it is going to get.


-- 

eedelman at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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



[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-11-11 Thread eedelman at gcc dot gnu dot org


--- Comment #9 from eedelman at gcc dot gnu dot org  2005-11-11 12:18 
---
Fixed on 4.1.  Not yet fixed on 4.0, because it depends on PR 15326 which
hasn't been fixed for 4.0.


-- 

eedelman at gcc dot gnu dot org changed:

   What|Removed |Added

  BugsThisDependsOn||15326


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



[Bug fortran/18883] ICE in gfc_finish_var_decl

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


--- Comment #8 from eedelman at gcc dot gnu dot org  2005-10-30 22:43 
---
Subject: Bug 18883

Author: eedelman
Date: Sun Oct 30 22:43:45 2005
New Revision: 106254

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=106254
Log:
fortran/
2005-10-30  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/18883
* trans-decl.c (gfc_finish_var_decl): Add decl to the
current function, rather than the parent.  Make
assertion accept fake result variables.
* trans-expr.c (gfc_conv_variable): If the character
length of an ENTRY isn't set, get the length from
the master function instead.

testsuite
2005-10-30  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/18883
* gfortran.dg/char_result_9.f90: New.
* gfortran.dg/char_result_10.f90: New.


Added:
trunk/gcc/testsuite/gfortran.dg/char_result_10.f90
trunk/gcc/testsuite/gfortran.dg/char_result_9.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-decl.c
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-10-27 Thread eedelman at gcc dot gnu dot org


--- Comment #6 from eedelman at gcc dot gnu dot org  2005-10-27 10:26 
---
*** Bug 24503 has been marked as a duplicate of this bug. ***


-- 

eedelman at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||r dot butel at epoc dot u-
   ||bordeaux1 dot fr


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



[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-10-27 Thread eedelman at gcc dot gnu dot org


--- Comment #7 from eedelman at gcc dot gnu dot org  2005-10-27 10:28 
---
Patch here: http://gcc.gnu.org/ml/fortran/2005-10/msg00587.html


-- 

eedelman at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||eedelman at gcc dot gnu dot
   ||org


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



[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-05-01 Thread pinskia at gcc dot gnu dot org


-- 
Bug 18883 depends on bug 15164, which changed state.

Bug 15164 Summary: trans-decl.c:411: gfc_finish_var_decl: Assertion failed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15164

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||FIXED

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


[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-04-21 Thread reichelt at gcc dot gnu dot org

--- Additional Comments From reichelt at gcc dot gnu dot org  2005-04-21 
08:44 ---
Here's a similar testcase that crashes in the same spot:

==
module FOO
contains
function BAR(X)
character(*)  :: X
character(len(X)) :: BAR
BAR = 'c'
end function
end
==


-- 
   What|Removed |Added

 CC||reichelt at gcc dot gnu dot
   ||org
   Keywords||monitored


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


[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-02-15 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-16 
03:31 ---
Only the module is needed to reproduce the bug:
module helper
   implicit none
   contains
  function dud(x)
 integer, intent(in) :: x
 character(selected_int_kind(x)+2) dud

 dud(1:1) = 'c'
  end function dud
end module helper

-- 


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


[Bug fortran/18883] ICE in gfc_finish_var_decl

2005-02-15 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-16 
03:32 ---
*** Bug 19971 has been marked as a duplicate of this bug. ***

-- 
   What|Removed |Added

 CC||sfilippone at uniroma2 dot
   ||it


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


[Bug fortran/18883] ICE in gfc_finish_var_decl

2004-12-08 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-08 
14:54 ---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-12-08 14:54:27
   date||
Summary| ICE in gfc_finish_var_decl |ICE in gfc_finish_var_decl


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


[Bug fortran/18883] ICE in gfc_finish_var_decl

2004-12-08 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-08 
14:56 ---
Might be related to PR 15164.

-- 
   What|Removed |Added

  BugsThisDependsOn||15164


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