https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64413
Bug ID: 64413 Summary: [AArch64/ARMv7] ICE in copy_to_mode_reg, at explow.c:654 Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: david.abdurachmanov at gmail dot com Created attachment 34338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34338&action=edit testcase (AArch64, Fortran) OpenLoops 1.0.1 package is failing to compile on AArch64 with GCC 4.9.{1,2} there gfortran ICE'd: test.f90: In function 'vert_aq_s': test.f90:38:0: internal compiler error: in copy_to_mode_reg, at explow.c:654 Jout_S%j(1) = 0 ^ I managed to extract a minimal testcase (testcase.f90). It should be compiled like this: gfortran -o testcase.os -c -ffixed-line-length-0 -ffree-line-length-0 -O0 -O0 -fPIC testcase.f90 A similar ICE was recently posted (Oct 20) with GCC 4.9.1, ARMv7, C++ on stackoverflow: http://stackoverflow.com/questions/26474507/compiler-crash-with-arm-neon-datatypes I.e., the ICE point to the same "copy_to_mode_reg, at explow.c:654". Might be related. Have not tested with GCC 5.0 (trunk).