[Bug fortran/63514] functions containing volatile are considered pure
sgk at troutmask dot apl.washington.edu
gcc-bugzilla@gcc.gnu.org
Fri Jun 8 18:54:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63514
--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Fri, Jun 08, 2018 at 03:40:40AM +0000, kargl at gcc dot gnu.org wrote:
> There is, however, a bug with respect to F2018:
>
> C1588 A local variable of a pure subprogram, or of a BLOCK construct
> within a pure subprogram, shall not have the SAVE or VOLATILE attribute.
>
A patch for the above has been submitted.
https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00492.html
More information about the Gcc-bugs
mailing list