This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19777] -fbounds-check catches non-existent bounds violation
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2006 20:53:07 -0000
- Subject: [Bug fortran/19777] -fbounds-check catches non-existent bounds violation
- References: <bug-19777-9410@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from anlauf at gmx dot de 2006-02-20 20:53 -------
(In reply to comment #10)
> Strange: with gfortran gcc-4.1-20060210+fix x86_64-unknown-linux-gnu
> it compiles and runs fine:
> bash> gfortran gfcbug31.f -Wall -O0 -g -fbounds-check && ./a.out
> In init1: npts = 1
> i = 1
> Got here!
> done.
Sorry, mistake on my part. I downloaded a current binary for i386 which
apparently does not yet contain this patch. Good to know that it will
fix the problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19777