public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36754]  New: Compile-time bound-checking for allocatable arrays with known bonds
@ 2008-07-07 19:44 burnus at gcc dot gnu dot org
  2008-07-07 19:52 ` [Bug fortran/36754] " tkoenig at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-07-07 19:44 UTC (permalink / raw)
  To: gcc-bugs

The following bounds problem is not detected with gfortran at compile time (it
is at run time):

integer,allocatable :: a(:)
integer :: b(1)
allocate(a(12))
b = a(1:12)
end

Expected: The same output as NAG f95 has:
  Error: a.f90, line 4: Different vector lengths (1 and 12)


-- 
           Summary: Compile-time bound-checking for allocatable arrays with
                    known bonds
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 27766
             nThis:


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


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

end of thread, other threads:[~2010-04-16 17:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-07 19:44 [Bug fortran/36754] New: Compile-time bound-checking for allocatable arrays with known bonds burnus at gcc dot gnu dot org
2008-07-07 19:52 ` [Bug fortran/36754] " tkoenig at gcc dot gnu dot org
2008-07-07 19:58 ` dominiq at lps dot ens dot fr
2008-07-07 22:47 ` burnus at gcc dot gnu dot org
2008-07-09 14:50 ` tkoenig at gcc dot gnu dot org
2009-01-04  0:13 ` dfranke at gcc dot gnu dot org
2009-04-26 16:44 ` dominiq at lps dot ens dot fr
2009-04-26 16:54 ` burnus at gcc dot gnu dot org
2009-04-26 17:39 ` dominiq at lps dot ens dot fr
2009-04-26 17:47 ` dominiq at lps dot ens dot fr
2009-04-29 14:29 ` dominiq at lps dot ens dot fr
2010-04-16 17:01 ` kargl at gcc dot gnu dot org
2010-04-16 17:28 ` burnus 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).