From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.12) Gecko/20080201 Red Hat/1.5.0.12-0.10.el4 Firefox/1.5.0.12 pango-text Description of problem: Gfortran always segfaults on this piecce of code and is unable to compile. Version-Release number of selected component (if applicable): gcc4-4.1.2-14.EL4 How reproducible: Always Steps to Reproduce: 1.gfortran -v -save-temps -c ice_bug.f90 Actual Results: Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --with-gxx-include-dir=/usr/include/c++/3.4.3 --enable-libgcj-multifile --enable-languages=c,c++,java,f95 --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20070626 (Red Hat 4.1.2-14) /usr/libexec/gcc/i386-redhat-linux/4.1.2/f951 ice_bug.f90 -quiet -dumpbase ice_bug.f90 -mtune=generic -auxbase ice_bug -version -I /usr/lib/gcc/i386-redhat-linux/4.1.2/finclude -o ice_bug.s GNU F95 version 4.1.2 20070626 (Red Hat 4.1.2-14) (i386-redhat-linux) compiled by GNU C version 4.1.2 20070626 (Red Hat 4.1.2-14). GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129265 ice_bug.f90:14: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. Expected Results: Additional info:
Created attachment 296773 [details] testcase for above bug Sorry about the varnames etc. but I had to reduce the testcase down from some proprietary code
Created attachment 298872 [details] Typescript file to show that the compiler caused the internal error. This is the sample that gfortran 4.1.2 (Red Hat 4.12-27) causes internal compiler error: Segmentation fault.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1020.html