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/51966] New: internal compiler error


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

             Bug #: 51966
           Summary: internal compiler error
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: peter.tromso@gmail.com


Created attachment 26429
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26429
fortran module part of a larger code

Error message (see complete below):
Compiler_error_example.f90:99:0: internal compiler error: in
gfc_conv_array_constructor_expr, at fortran/trans-expr.c:4126


Small example code which triggers the error is attached.(It is extracted from a
much larger code).

Output from compiler:

$ gfortran -v -save-temps -fdefault-real-8 -ffree-line-length-0  -O2 -c
Compiler_error_example.f90 
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/global/home/install/gcc/4.6.2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.6.2/configure --prefix=/global/apps/gcc/4.6.2
Thread model: posix
gcc version 4.6.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-fdefault-real-8'
'-ffree-line-length-0' '-O2' '-c' '-mtune=generic' '-march=x86-64'

/global/home/install/gcc/4.6.2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/f951
Compiler_error_example.f90 -quiet -dumpbase Compiler_error_example.f90
-mtune=generic -march=x86-64 -auxbase Compiler_error_example -O2 -version
-fdefault-real-8 -ffree-line-length-0 -fintrinsic-modules-path
/global/home/install/gcc/4.6.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.2/finclude
-o Compiler_error_example.s
GNU Fortran (GCC) version 4.6.2 (x86_64-unknown-linux-gnu)
    compiled by GNU C version 4.6.2, GMP version 4.3.2, MPFR version 2.4.2, MPC
version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran (GCC) version 4.6.2 (x86_64-unknown-linux-gnu)
    compiled by GNU C version 4.6.2, GMP version 4.3.2, MPFR version 2.4.2, MPC
version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler_error_example.f90: In function 'init_ecosystems':
Compiler_error_example.f90:99:0: internal compiler error: in
gfc_conv_array_constructor_expr, at fortran/trans-expr.c:4126
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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