[Bug fortran/68778] Missing default initialization of finalized derived types type(C_PTR) component in subroutines
baradi09 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 07:21:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68778
--- Comment #3 from Bálint Aradi <baradi09 at gmail dot com> ---
(In reply to Bálint Aradi from comment #2)
> 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.
Just to extend a little bit more, when testing on x86_64-linux, GCC 4.9.1 was
fine, 5.1.0 failed again.
More information about the Gcc-bugs
mailing list