This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42650] F90: DT function with in-line DT definition and RESULT is rejected
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2010 05:47:58 -0000
- Subject: [Bug fortran/42650] F90: DT function with in-line DT definition and RESULT is rejected
- References: <bug-42650-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pault at gcc dot gnu dot org 2010-01-08 05:47 -------
type(t) function func2() result(res)
type t
sequence
integer :: i = 5
end type t
res%i = 2
end function func2
causes a segmentation fault!
Confirmed
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-01-08 05:47:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42650