public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33592]  New: FAIL: gfortran.dg/array_constructor_11.f90  -O1  execution test
@ 2007-09-29 18:48 danglin at gcc dot gnu dot org
  2007-09-29 19:00 ` [Bug target/33592] " rguenth at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-09-29 18:48 UTC (permalink / raw)
  To: gcc-bugs

Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/test/gnu/gcc/gcc/gcc/testsui
te/gfortran.dg/array_constructor_11.f90   -O0   -pedantic-errors 
-L/test/gnu/gc
c/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-h
p-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./lib
iberty  -lm   -o ./array_constructor_11.exe    (timeout = 300)
PASS: gfortran.dg/array_constructor_11.f90  -O0  (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfort
ran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu
/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/
test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir
/gcc
Operating system error: Not a typewriter
Out of memory
FAIL: gfortran.dg/array_constructor_11.f90  -O0  execution test

Simplified test:

! Like array_constructor_6.f90, but check iterators with non-default stride,
! including combinations which lead to zero-length vectors.
! { dg-do run }
program main
  implicit none
  call build (77)
contains
  subroutine build (order)
    integer :: order, i, j

    ! Triggers compile-time iterator calculations in trans-array.c
    call test (1, 0, 3,      (/ (i, i = 1, 0, 3),      (i, i = order, 0, 1) /))
  end subroutine build

  subroutine test (from, to, step, values)
    integer, dimension (:) :: values
    integer :: from, to, step, last, i

    last = 0
    do i = from, to, step
      last = last + 1
      if (values (last) .ne. i) call abort
    end do
    if (size (values, dim = 1) .ne. last) call abort
  end subroutine test
end program main


-- 
           Summary: FAIL: gfortran.dg/array_constructor_11.f90  -O1
                    execution test
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-hpux*
  GCC host triplet: hppa*-*-hpux*
GCC target triplet: hppa*-*-hpux*


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


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

end of thread, other threads:[~2007-11-10 18:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-29 18:48 [Bug target/33592] New: FAIL: gfortran.dg/array_constructor_11.f90 -O1 execution test danglin at gcc dot gnu dot org
2007-09-29 19:00 ` [Bug target/33592] " rguenth at gcc dot gnu dot org
2007-09-29 20:18 ` danglin at gcc dot gnu dot org
2007-11-09 16:07 ` [Bug fortran/33592] " fxcoudert at gcc dot gnu dot org
2007-11-09 16:45 ` dave at hiauly1 dot hia dot nrc dot ca
2007-11-10 17:49 ` dave at hiauly1 dot hia dot nrc dot ca
2007-11-10 18:02 ` fxcoudert at gcc dot gnu dot org
2007-11-10 18:04 ` 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).