gfortran currently yields ICEs trying to compile the cp2k code. To make it easier to address these, I'll attach a 'preprocessed source'.
cp2k.f90: In function ‘timeset_full’: cp2k.f90:10751: internal compiler error: Segmentation fault I've decided to make it the full program, so that it can be compiled into an executable. As soon as gfortran does generate a correct executable, I'll setup a nightly or weekly regression tester (frontend bugs / compile time / performance). The code is quite standard conforming and portable, but as is usual there are a few exceptions (best documented by the NAG f95 command line options needed -dusty -dcfuns -mismatch_all -kind=byte and that it is missing some extensions such as iargc or etime) , these are very common and ifort,g95 just compile with the defaults. On the other hand the thing as a whole seems quite challening, two version of xlf90 run into an ICE, and pgf90 is generating .mod files for about an hour now (g95 compiles in about 10min). -- Summary: gfortran does not compile cp2k Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26444