This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68778] Missing default initialization of finalized derived types type(C_PTR) component in subroutines
- From: "baradi09 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Dec 2015 23:11:31 +0000
- Subject: [Bug fortran/68778] Missing default initialization of finalized derived types type(C_PTR) component in subroutines
- Auto-submitted: auto-generated
- References: <bug-68778-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68778
--- Comment #2 from BÃlint Aradi <baradi09 at gmail dot com> ---
For me on x86_64-linux, with GNU Fortran (GCC) 5.2.0 it produces:
TEST2: ASSOCIATED? (EXPECT: F) T
Since, it is an uninitialized c-pointer, it probably depends pretty much on the
environment whether the test fails or not.