https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45004
janus at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|--- |4.6.0
--- Comment #6 from janus at gcc dot gnu dot org 2010-07-29 18:18 ---
Fixed with r162688. Closing.
--
janus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from janus at gcc dot gnu dot org 2010-07-29 18:14 ---
Subject: Bug 45004
Author: janus
Date: Thu Jul 29 18:14:16 2010
New Revision: 162688
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162688
Log:
2010-07-29 Janus Weil
PR fortran/45004
* tran
--- Comment #4 from janus at gcc dot gnu dot org 2010-07-23 16:19 ---
Here is a draft patch which deals with allocatable scalars:
Index: gcc/fortran/trans.c
===
--- gcc/fortran/trans.c (revision 162448)
+++ gcc/fortran/tran
--- Comment #3 from janus at gcc dot gnu dot org 2010-07-22 21:44 ---
Here is an even more elementary example which shows that there is a problem for
allocatable scalars, already without any polymorphic variables:
implicit none
integer, allocatable :: afab1,afab2
allocate(afab1)
--- Comment #2 from janus at gcc dot gnu dot org 2010-07-22 21:21 ---
Reduced test case with the same output:
program bug18
type foo
integer :: i
end type foo
type bar
class(foo), allocatable :: bf
end type bar
class(foo), allocatable :: afab
type(bar) :: bb
al
--- Comment #1 from sfilippone at uniroma2 dot it 2010-07-20 12:52 ---
Created an attachment (id=21263)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21263&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45004