[Bug fortran/87401] [9 Regression] Runtime segfault with associated intent(out) variable

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 25 07:09:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87401

--- Comment #5 from janus at gcc dot gnu.org ---
(In reply to Thomas Koenig from comment #2)
> Quite clear what is going on. The tree dump shows

After r264539, the CLOBBER in the dump is gone again.

However, wouldn't it be possible (desirable?) to keep it, but clobber the value
instead of the pointer (since the intent(out) argument is not a pointer here),
like so:

*o = {CLOBBER};
sub (o);


More information about the Gcc-bugs mailing list