This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56637] Bad result on max(1,shiftr(j,1))
- From: "fkrogh#gcc at mathalacarte dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 16 Mar 2013 21:44:46 +0000
- Subject: [Bug fortran/56637] Bad result on max(1,shiftr(j,1))
- Auto-submitted: auto-generated
- References: <bug-56637-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56637
--- Comment #7 from Fred Krogh <fkrogh#gcc at mathalacarte dot com> 2013-03-16 21:44:46 UTC ---
As mentioned in my first post, I am compiling with -fcheck-bounds. The errors
are occurring in a subroutine inside what at the moment is a main program.
That subroutine has no arguments. As this is code in the process of being
developed, I have had run time errors for indexes being out of bounds. It
turns out as a result of thinking more about the problems I'm dealing with
(algorithmic issues) this part of the code is likely to disappear. I do
appreciate others trying to find my problem, that is very nice. I was posting
in the hope that I might help someone in finding a compiler bug.