[patch, fortran] Don't apply SAVE attribute to function results

Paul Richard Thomas paul.richard.thomas@gmail.com
Sat Jan 3 18:17:00 GMT 2009


Daniel,

I am a bit puzzled:

> $> gfortran-svn -c save-result.f90
> save-result.f90:1.25:
>
>  function f(x) result (g)
>                         1
> Error: RESULT attribute conflicts with SAVE attribute in 'g' at (1)

Your testcase already produces this message without the patch applied.
 Have I missed something?

Cheers

Paul



More information about the Gcc-patches mailing list