This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: -fbounds-check causes Segmentation fault


marco restelli wrote:
Hi,
 the following code works when compiled with

gfortran test_sf.f90 -o test_sf

but results in Segmentation fault when compiled
with

gfortran -fbounds-check test_sf.f90 -o test_sf

The same code works when compiled with the Intel
compiler.

gfortran --version
GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1)
Copyright (C) 2006 Free Software Foundation, Inc.

Thank you for any suggestion
  Marco

Seems to compile fine with 4.2 version of gfortran. Try latest branch if you can or wait for 4.2 release.

Regards,

Jerry


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