This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30520] Conflics checking of VOLATILE attribute needs improvement
- From: "brooks at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 00:23:46 -0000
- Subject: [Bug fortran/30520] Conflics checking of VOLATILE attribute needs improvement
- References: <bug-30520-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from brooks at gcc dot gnu dot org 2007-01-21 00:23 -------
I would suggest that your comment about "No check_used needed" should reference
11.2.1 of the F2003 standard. The relevant language is towards the end (p252,
lines 30-34 of the page): "The local identifier of an entity made accessible by
a USE statement ... may be given the ASYNCHRONOUS or VOLATILE attribute."
There is no other restriction on this that would prevent this from applying to
an entity that already has the relevant ASYNCHRONOUS or VOLATILE attribute.
--
brooks at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |brooks at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30520