This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45742] New: VOLATILE not honored in comparison


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]