------- Comment #3 from pinskia at gcc dot gnu dot org  2006-10-23 15:58 -------
Confirmed, reduced testcase:
module hash_mod
type element_t
   integer :: gid
end type element_t
type grid_type
   type(element_t), pointer :: element(:)
end type grid_type
contains
subroutine hash_read_key(key)
integer, intent(out) :: key(:)
end subroutine hash_read_key
subroutine phaml_restore(grid)
type(grid_type) :: grid
   call hash_read_key(grid%element(1:1)%gid)
   call hash_read_key(grid%element(1:1)%gid)
   call hash_read_key(grid%element(1:1)%gid)
end subroutine phaml_restore
end module hash_mod


-------
The problem is that in:
      atmp.0.data = (void *) &A.1;

A.1 is not in the BIND_EXPRs at all.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.1.2 4.2.0 4.3.0
      Known to work|                            |4.0.4
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-23 15:58:29
               date|                            |
            Summary|ICE in                      |[4.1/4.2 Regression] ICE in
                   |gimplify_var_or_parm_decl,  |gimplify_var_or_parm_decl,
                   |at gimplify.c               |at gimplify.c
   Target Milestone|---                         |4.1.2


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

Reply via email to