public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19929] New: Deallocation of an allocated derived type component causes failure
@ 2005-02-12 21:14 sgk at troutmask dot apl dot washington dot edu
  2005-02-12 22:11 ` [Bug fortran/19929] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: sgk at troutmask dot apl dot washington dot edu @ 2005-02-12 21:14 UTC (permalink / raw)
  To: gcc-bugs

>From Richard Maine, editor of the F2003 standard

  subroutine close_th_read_unc3
    type :: unc3_ptr_type
      integer, pointer :: unc3
    end type
    type(unc3_ptr_type) :: unc3_ptrs(10)
    allocate(unc3_ptrs(2)%unc3)
    deallocate(unc3_ptrs(2)%unc3)
  end subroutine close_th_read_unc3

  bug5.f90: In function 'close_th_read_unc3':
  bug5.f90:6: internal compiler error: in gfc_conv_descriptor_data, at 
  fortran/trans-array.c:181

  Interestingly, the allocate is fine; only the deallocate crumps.

-- 
           Summary: Deallocation of an allocated derived type component
                    causes failure
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sgk at troutmask dot apl dot washington dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-19929-8446@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-10-23 20:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-12 21:14 [Bug fortran/19929] New: Deallocation of an allocated derived type component causes failure sgk at troutmask dot apl dot washington dot edu
2005-02-12 22:11 ` [Bug fortran/19929] " pinskia at gcc dot gnu dot org
2005-02-14 23:23 ` cvs-commit at gcc dot gnu dot org
2005-02-15  1:29 ` pinskia at gcc dot gnu dot org
2005-09-21 17:06 ` cvs-commit at gcc dot gnu dot org
     [not found] <bug-19929-8446@http.gcc.gnu.org/bugzilla/>
2005-10-23 20:06 ` cvs-commit at gcc dot gnu dot org
2005-10-23 20:40 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).