[Bug fortran/63514] functions containing volatile are considered pure

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Sun Oct 12 14:11:00 GMT 2014


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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
Actually there is wording about this in F2008 (but not F2003):

C1282 A designator of a variable with the VOLATILE attribute shall not appear
in a pure subprogram.



More information about the Gcc-bugs mailing list