public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/27874]  New: Bad interaction between bounds checking, forall and derived types
@ 2006-06-02 14:08 fxcoudert at gcc dot gnu dot org
  2006-06-02 16:39 ` [Bug fortran/27874] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-06-02 14:08 UTC (permalink / raw)
  To: gcc-bugs

$ cat forall_3.f90 
  type t
    integer :: p(1)
  end type
  type (t), dimension (1) :: v
  integer i

  forall (i=1:1,.false.)
    v(i)%p = v(i+1)%p
  end forall
end
$ gfortran forall_3.f90 -fbounds-check && ./a.out 
Fortran runtime error: Array reference out of bounds


-- 
           Summary: Bad interaction between bounds checking, forall and
                    derived types
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-checking
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
OtherBugsDependingO 27766
             nThis:


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


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

end of thread, other threads:[~2006-07-24 21:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 14:08 [Bug fortran/27874] New: Bad interaction between bounds checking, forall and derived types fxcoudert at gcc dot gnu dot org
2006-06-02 16:39 ` [Bug fortran/27874] " pinskia at gcc dot gnu dot org
2006-06-03 11:41 ` fxcoudert at gcc dot gnu dot org
2006-07-05 13:37 ` fxcoudert at gcc dot gnu dot org
2006-07-06 17:12 ` fxcoudert at gcc dot gnu dot org
2006-07-06 20:27 ` [Bug fortran/27874] [4.1 only] " fxcoudert at gcc dot gnu dot org
2006-07-24 21:03 ` fxcoudert at gcc dot gnu dot org
2006-07-24 21:04 ` [Bug fortran/27874] " fxcoudert 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).