This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/57978] New: f951: internal compiler error: Segmentation fault


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57978

            Bug ID: 57978
           Summary: f951: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: knyyys at gmail dot com

Created attachment 30549
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30549&action=edit
Error inducing source Time_series.f90, dependencies, makefile

Compiling on RHEL 6.4. No .i90 file was created, only .s. I've attached the
makefile, source code which causes the crash (Time_series.f90) and its
dependencies. The code compiles and works as intended with ifort 12.1.4 on
CentOS 6.4.

Output: 
---
gfortran -c -g -save-temps -fopenmp -fbacktrace -fbounds-check
-ffree-line-length-none -fno-aggressive-loop-optimizations -finit-integer=0
-Wall -Wextra Time_series.f90
f951: internal compiler error: Segmentation fault
0x869a9f crash_signal
    ../../gcc-4.8.1/gcc/toplev.c:332
0x568bd6 conformable_arrays
    ../../gcc-4.8.1/gcc/fortran/resolve.c:7077
0x568bd6 resolve_allocate_expr
    ../../gcc-4.8.1/gcc/fortran/resolve.c:7247
0x568bd6 resolve_allocate_deallocate
    ../../gcc-4.8.1/gcc/fortran/resolve.c:7670
0x56b026 resolve_code
    ../../gcc-4.8.1/gcc/fortran/resolve.c:10335
0x569f5b gfc_resolve_blocks(gfc_code*, gfc_namespace*)
    ../../gcc-4.8.1/gcc/fortran/resolve.c:9449
0x56a1ba resolve_code
    ../../gcc-4.8.1/gcc/fortran/resolve.c:10121
0x569f5b gfc_resolve_blocks(gfc_code*, gfc_namespace*)
    ../../gcc-4.8.1/gcc/fortran/resolve.c:9449
0x56a1ba resolve_code
    ../../gcc-4.8.1/gcc/fortran/resolve.c:10121
0x56cd1e resolve_codes
    ../../gcc-4.8.1/gcc/fortran/resolve.c:14975
0x56cc27 resolve_codes
    ../../gcc-4.8.1/gcc/fortran/resolve.c:14961
0x55dbf2 gfc_resolve
    ../../gcc-4.8.1/gcc/fortran/resolve.c:15003
0x5522d6 gfc_parse_file()
    ../../gcc-4.8.1/gcc/fortran/parse.c:4614
0x58de25 gfc_be_parse_file
    ../../gcc-4.8.1/gcc/fortran/f95-lang.c:189
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [Time_series.o] Error 1
---


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]