This is the mail archive of the 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/24936] New: Internal error

Following code causing the ice in fortran/trans.c at line 152

$ cat test_forall.f90
      program test_forall
         type element
            character(32), pointer :: name
         end type element
         type(element)     :: charts(50)
         character(32), target :: names(50)
            charts(i)%name => names(i)
         end forall

$ gfortran -v test_forall.f90

Using built-in specs.
Target: powerpc64-linux
Configured with: /home/gccbuild/gcc_trunk_anonsvn/trunk/configure
--prefix=/opt/gcc-nightly/trunk-20051117 --build=powerpc64-linux
--host=powerpc64-linux --target=powerpc64-linux --with-cpu=default32
--with-ld=/opt/gcc-nightly/trunk-20051117/bin/ld --enable-threads=posix
--enable-shared --enable-__cxa_atexit
--enable-languages=c,c++,f95,java,objc,obj-c++ --enable-checking
Thread model: posix
gcc version 4.1.0 20051117 (experimental)
forall.f90 -quiet -dumpbase forall.f90 -auxbase forall -version -o
GNU F95 version 4.1.0 20051117 (experimental) (powerpc64-linux)
        compiled by GNU C version 4.1.0 20051117 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
forall.f90: In function ?MAIN__?:
forall.f90:1: internal compiler error: in gfc_add_modify_expr, at
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

           Summary: Internal error
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: uttamp at us dot ibm dot com
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux

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