https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86679
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86679
--- Comment #3 from Harald Anlauf ---
I don't think that the 'i' is a problem.
Regarding the subroutine, I think F2018-DIS C843 applies:
C843 (R826) A nonpointer object with the INTENT (IN) attribute shall not
appear in a variable definition co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86679
--- Comment #2 from janus at gcc dot gnu.org ---
(In reply to janus from comment #0)
> 1) We are casting a pointer to a variable ('i') that is not declared as
> TARGET. gfortran should probably check that in the subroutine call the
> TARGET attrib
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86679
--- Comment #1 from janus at gcc dot gnu.org ---
(In reply to janus from comment #0)
> I assume for now it is invalid, but haven't checked the standard yet. There
> are two issues that I can see:
>
> 1) We are casting a pointer to a variable ('i'