This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45742] New: VOLATILE not honored in comparison
- From: "tkoenig 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 Sep 2010 21:02:56 -0000
- Subject: [Bug fortran/45742] New: VOLATILE not honored in comparison
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
ig25@linux-fd1f:~/Krempel/Compare> cat op.f90
program main
integer, volatile :: j
if (j>j) call notfound
end program main
ig25@linux-fd1f:~/Krempel/Compare> gfortran op.f90
ig25@linux-fd1f:~/Krempel/Compare>
The call to notfound should not be elided.
--
Summary: VOLATILE not honored in comparison
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45742