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/27889] New: gfortran 4.1.1 ICE on espresso (PWscf)


Trying to compile the espresso electronic structure package from pwscf.org with
gfortran 4.1.1 fails with an ICE:

make[1]: Entering directory `/home/donnie/espresso-3.1/Modules'
cpp -P -traditional -D__FFTW -I../include  constraints_module.f90 -o
constraints_module.F90
gfortran -O3 -D__FFTW -I../include  -I. -I../Modules -I../PW -I../PH
-I../iotk/src -I../CPV -c constraints_module.F90 -o constraints_module.o
constraints_module.F90: In function 'set_structure_factor':
constraints_module.F90:304: internal compiler error: in find_lattice_value, at
tree-complex.c:133

Interestingly, this ICE only occurs at optimization levels greater than -O0.

I've uploaded constraints_module.F90 and the required *.mod files to
http://dev.gentoo.org/~spyderous/espresso-ice.tar.bz2 to assist in fixing this.


-- 
           Summary: gfortran 4.1.1 ICE on espresso (PWscf)
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: spyderous at gentoo dot org
  GCC host triplet: powerpc-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27889


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