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; 5+ 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] 5+ messages in thread
* [Bug fortran/19929] Deallocation of an allocated derived type component causes failure 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 ` pinskia at gcc dot gnu dot org 2005-02-14 23:23 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-02-12 22:11 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-12 17:08 ------- Confirmed, related to PR 17202. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-valid-code Last reconfirmed|0000-00-00 00:00:00 |2005-02-12 17:08:20 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19929 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/19929] Deallocation of an allocated derived type component causes failure 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 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-02-14 23:23 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-14 20:04 ------- Subject: Bug 19929 CVSROOT: /cvs/gcc Module name: gcc Changes by: tromey@gcc.gnu.org 2005-02-14 20:04:36 Modified files: libjava : ChangeLog gcc/java : ChangeLog jcf-write.c Added files: libjava/testsuite/libjava.lang: PR19929.java PR19929.out Log message: gcc/java: PR java/19921: * jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Note the stack effect of multianewarray. libjava: For PR java/19929: * testsuite/libjava.lang/PR19929.out: New file. * testsuite/libjava.lang/PR19929.java: New file. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3320&r2=1.3321 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.lang/PR19929.java.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.lang/PR19929.out.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1551&r2=1.1552 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/jcf-write.c.diff?cvsroot=gcc&r1=1.161&r2=1.162 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19929 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/19929] Deallocation of an allocated derived type component causes failure 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 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-02-15 1:29 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-14 20:50 ------- (In reply to comment #2) > Subject: Bug 19929 Ignore this commit message it was a mistake in typing the bug number in both the changelog and the testcase too. I already asked the committer to fix this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19929 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/19929] Deallocation of an allocated derived type component causes failure 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 ` (2 preceding siblings ...) 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 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-09-21 17:06 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-21 17:05 ------- Subject: Bug 19929 CVSROOT: /cvs/gcc Module name: gcc Changes by: pault@gcc.gnu.org 2005-09-21 17:05:28 Modified files: gcc/fortran : trans-stmt.c ChangeLog gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.dg: der_ptr_component_1.f90 Log message: 2005-09-21 Erik Edelmann <erik.edelmann@iki.fi> PR fortran/19929 * trans-stmt.c (gfc_trans_deallocate): Check if the object to be deallocated is an array by looking at expr->rank instead of expr->symtree->n.sym->attr.dimension. 2005-09-21 Erik Edelmann <erik.edelmann@iki.fi> PR fortran/19929 * gfortran.dg/der_ptr_component_1.f90: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-stmt.c.diff?cvsroot=gcc&r1=1.41&r2=1.42 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.563&r2=1.564 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_ptr_component_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6092&r2=1.6093 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19929 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-21 17:06 UTC | newest] Thread overview: 5+ 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
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).