This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36091] false positive in bounds checking with forall
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2008 14:24:30 -0000
- Subject: [Bug fortran/36091] false positive in bounds checking with forall
- References: <bug-36091-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dominiq at lps dot ens dot fr 2008-10-22 14:24 -------
I am not 100% sure that the following is due to the patch in comment #1, but
the following code segfaults (at the write) after having applied it:
integer :: i(1) = 1
integer :: foo(3)
foo = 17
print *, i, foo
write(*,*) foo([1]), foo([1]+i), [1]+1
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36091