https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61960
Bug ID: 61960 Summary: internal compiler error: in gfc_conv_component_ref Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: geertjan.bex at uhasselt dot be Created attachment 33210 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33210&action=edit directory containing source to reproduce, and output of compiler When compiling, the compiler crashes with the following error: internal compiler error: in gfc_conv_component_ref, at fortran/trans-expr.c:1574 Compiler command & options: gfortran -v -save-temps -O2 -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -g -Wall -Wextra -c data_func_mod.f90 refactored_func.f90 Detail and source code can be found in the file 'output.txt' that is included in the gzipped tar file. The OS is: Linux version 2.6.32-358.el6.x86_64 (mockbu...@x86-022.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Tue Jan 29 11:47:41 EST 2013 However, the crash can be reproduced with GCC 4.7.2 on the same system, and 4.8.2-19ubuntu1 on: Linux version 3.13.0-32-generic (buildd@roseapple) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 Best, -gjb-