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/18913] New: seg. fault with -finit-local-zero option on complex array of dimension 1


g77 -v -finit-local-zero -o complexarray.x complexarray.f
Driving: g77 -v -finit-local-zero -o complexarray.x complexarray.f -lfrtbegin
-lg2c -lm -shared-libgcc
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
 /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/f771 complexarray.f -quiet -dumpbase
complexarray.f -version -finit-local-zero -o /tmp/ccigILmk.s
GNU F77 version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) (i386-redhat-linux)
        compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
complexarray.f: In program `complexarray':
complexarray.f:3: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


--=-dQpYkWQgoQ8sUxNsabjK
Content-Disposition: attachment; filename=complexarray.f
Content-Type: text/x-fortran; name=complexarray.f; charset=UTF-8
Content-Transfer-Encoding: 7bit

      PROGRAM complexarray

      COMPLEX foo(1)

      write(6,*)foo
      STOP
      END

--=-dQpYkWQgoQ8sUxNsabjK--

-- 
           Summary: seg. fault with -finit-local-zero option on complex
                    array of dimension 1
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wglover at chem dot ucla dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


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