public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30321]  New: program crash for SUM applied to zero-size array
@ 2006-12-28 20:34 vivekrao4 at yahoo dot com
  2006-12-28 21:21 ` [Bug fortran/30321] " tkoenig at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: vivekrao4 at yahoo dot com @ 2006-12-28 20:34 UTC (permalink / raw)
  To: gcc-bugs

U:\vrao\fortran>gfortran -v
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../trunk/configure --prefix=/mingw
--enable-languages=c,fortran --with-gmp=/home/coudert/local --disable-nls
--with-ld=/mingw/bin/ld --with-as=/mingw/bin/as --disable-werror
--enable-bootstrap --enable-threads --host=i386-pc-mingw32 --disable-shared
--enable-libgomp
Thread model: win32
gcc version 4.3.0 20061021 (experimental)

U:\vrao\fortran>type xzero_size_array.f90
program xzero
implicit none
integer :: ii(1,0)
ii = 1
print*,"sum(ii,dim=1) =",sum(ii,dim=1)
end program xzero

U:\vrao\fortran>gfortran xzero_size_array.f90

U:\vrao\fortran>a.exe

program crashes (Windows pop-up: a.exe has encountered a problem and needs to
close)


-- 
           Summary: program crash for SUM applied to zero-size array
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vivekrao4 at yahoo dot com


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-01-19 22:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-28 20:34 [Bug fortran/30321] New: program crash for SUM applied to zero-size array vivekrao4 at yahoo dot com
2006-12-28 21:21 ` [Bug fortran/30321] " tkoenig at gcc dot gnu dot org
2006-12-29  9:03 ` toon at moene dot indiv dot nluug dot nl
2006-12-29  9:50 ` tkoenig at gcc dot gnu dot org
2006-12-30  9:40 ` patchapp at dberlin dot org
2006-12-30 13:17 ` tkoenig at gcc dot gnu dot org
2007-01-09 23:14 ` tkoenig at gcc dot gnu dot org
2007-01-19 22:38 ` tkoenig at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).