This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40737] Pointer references sometimes fail to define "span" symbols
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2009 07:10:57 -0000
- Subject: [Bug fortran/40737] Pointer references sometimes fail to define "span" symbols
- References: <bug-40737-17946@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from burnus at gcc dot gnu dot org 2009-07-22 07:10 -------
Reduced test case. The crucial part is the span ("1:2") in the assignment - and
that "Ro" is use-associated.
Dump:
tf_ad_splitting_driver_plane ()
{ [...]
extern integer(kind=8) span.0 = 0;
[...]
span.0 = 4;
module testmod
implicit none
type VARIABLES_MAILLE
real :: cell_var
end type VARIABLES_MAILLE
type (VARIABLES_MAILLE), pointer, dimension( :) :: Hydro_vars
real, pointer, dimension(:) :: Ro
end module testmod
program TF_AD_SPLITTING_DRIVER_PLANE
use testmod
implicit none
Ro => Hydro_vars(1:2)%cell_var
end program
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail|4.3.2 4.4.0 |4.3.2 4.4.0 4.5.0
Last reconfirmed|0000-00-00 00:00:00 |2009-07-22 07:10:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40737