[Bug fortran/38312] Unexpected STATEMENT FUNCTION statement

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Tue Dec 1 18:33:00 GMT 2015


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

--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The current error message has changed :
>
> test.f90:7:6:
>
>       co(i,j)=t1(i,k)*t2(j,k)
>      1
>
> Error: The function result on the lhs of the assignment at (1) must have
> the pointer attribute.
>
> now the location gives a hint.

Confirmed. The change occurred between revisions r227754 (2015-09-14, old
error) and r228407 (2015-10-02, new error), likely r228222 (pr63921).

How do you prefer to resolve this PR: as FIXED or WONTFIX?


More information about the Gcc-bugs mailing list