gfortran -O2 -ffree-form -fgraphite -fgraphite-identity -cpp -D__FFTSG test.f90
causes ./a.out to segfault (also valgrind errors). ==27187== Invalid write of size 8 ==27187== at 0x41449B: mltfftsg_ (in /scratch/vondele/PR38431/CP2K_2008_12_03/a.out) ==27187== by 0x414808: fftsg3d_ (in /scratch/vondele/PR38431/CP2K_2008_12_03/a.out) ==27187== by 0x414B3B: MAIN__ (in /scratch/vondele/PR38431/CP2K_2008_12_03/a.out) ==27187== by 0x414BC9: main (fmain.c:21) ==27187== Address 0x4050F68 is 0 bytes after a block of size 1,024 alloc'd ==27187== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==27187== by 0x41472C: fftsg3d_ (in /scratch/vondele/PR38431/CP2K_2008_12_03/a.out) ==27187== by 0x414B3B: MAIN__ (in /scratch/vondele/PR38431/CP2K_2008_12_03/a.out) ==27187== by 0x414BC9: main (fmain.c:21) -- Summary: [grapite] segfaulting code when compiled with -fgraphite -fgraphite-identity Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 38431 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38492