This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35037] VOLATILE attribute not being honored with common block variable
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2008 00:42:00 -0000
- Subject: [Bug fortran/35037] VOLATILE attribute not being honored with common block variable
- References: <bug-35037-15045@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from fxcoudert at gcc dot gnu dot org 2008-02-05 00:42 -------
(In reply to comment #5)
> We don't, however, handle the case where we mark volatile the other variable
> involved in the equivalence:
OK, Richard Maine and Steve Lionel confirmed that equivalence shouldn't
interfere with the volatile attribute, so I'll submit my patch when 4.4
branches. Or is it 4.3 material? (it certainly is of limited impact, and fixes
a wrong-code bug, but it's not a regression).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35037