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/24440] New: [4.0 regression] gfortran failed to build 187.facerec


Gcc 4.0 checked out at Tue Oct 18 19:14:50 UTC 2005 failed to build
build 187.facerec in SPEC CPU 2K. I got

Starting program: /usr/gcc-4.0/libexec/gcc/x86_64-unknown-linux-gnu/4.0.3/f951
parameterRoutines.f90 -quiet -dumpbase parameterRoutines.f90 -mtune=k8 -auxbase
parameterRoutines -O2 -version -o parameterRoutines.s
GNU F95 version 4.0.3 20051018 (prerelease) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.0.3 20051018 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

Program received signal SIGSEGV, Segmentation fault.
0x000000000043f4d1 in resolve_symbol (sym=0xa78940)
    at /net/gnu-13/export/gnu/src/gcc-4.0/gcc/gcc/fortran/resolve.c:4265
4265      if (sym->ts.type == BT_DERIVED
(gdb) list
4260            }
4261        }
4262
4263      /* An assumed-size array with INTENT(OUT) shall not be of a type for
which
4264         default initialization is defined (5.1.2.4.4).  */
4265      if (sym->ts.type == BT_DERIVED
4266            && sym->attr.dummy
4267            && sym->attr.intent == INTENT_OUT
4268            && sym->as->type == AS_ASSUMED_SIZE)
4269        {
(gdb) p sym->as
$6 = (gfc_array_spec *) 0x0

Gcc 4.0.3 20050930 is OK.


-- 
           Summary: [4.0 regression]  gfortran failed to build 187.facerec
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
GCC target triplet: x86_64-unknown-linux-gnu


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


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