[Bug fortran/48926] New: gfortran.dg/coarray/image_index_1.f90 -fcoarray=single -O2 (test for excess errors)

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Sat May 7 16:24:00 GMT 2011


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

           Summary: gfortran.dg/coarray/image_index_1.f90 -fcoarray=single
                     -O2  (test for excess errors)
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


At r173533 with or without
http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00566.html applied, the following
new fortran testsuite regressions occur on x86_64-apple-darwin10...

WARNING: gfortran.dg/coarray/image_index_1.f90 -fcoarray=single  -O2 
compilation failed to produce executable
FAIL: gfortran.dg/coarray/image_index_1.f90 -fcoarray=lib  -O2  -lcaf_single
(test for excess errors)
WARNING: gfortran.dg/coarray/image_index_1.f90 -fcoarray=lib  -O2  -lcaf_single
compilation failed to produce executable
FAIL: gfortran.dg/coarray/image_index_2.f90 -fcoarray=single  -O2  (test for
excess errors)
WARNING: gfortran.dg/coarray/image_index_2.f90 -fcoarray=single  -O2 
compilation failed to produce executable
FAIL: gfortran.dg/coarray/image_index_2.f90 -fcoarray=lib  -O2  -lcaf_single
(test for excess errors)
WARNING: gfortran.dg/coarray/image_index_2.f90 -fcoarray=lib  -O2  -lcaf_single
compilation failed to produce executable
FAIL: gfortran.dg/coarray/this_image_1.f90 -fcoarray=single  -O2  (test for
excess errors)
WARNING: gfortran.dg/coarray/this_image_1.f90 -fcoarray=single  -O2 
compilation failed to produce executable
FAIL: gfortran.dg/coarray/this_image_1.f90 -fcoarray=lib  -O2  -lcaf_single
(test for excess errors)
WARNING: gfortran.dg/coarray/this_image_1.f90 -fcoarray=lib  -O2  -lcaf_single
compilation failed to produce executable
FAIL: gfortran.dg/coarray/this_image_2.f90 -fcoarray=single  -O2  (test for
excess errors)
WARNING: gfortran.dg/coarray/this_image_2.f90 -fcoarray=single  -O2 
compilation failed to produce executable
FAIL: gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib  -O2  -lcaf_single
(test for excess errors)
WARNING: gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib  -O2  -lcaf_single
compilation failed to produce executable

these are of the form...

Executing on host:
/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/gcc/testsuite/gfortran/../../gfortran
-B/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/gcc/testsuite/gfortran/../../
-B/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libgfortran/
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90
 -fcoarray=single  -O2   
-B/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libgfortran/.libs
-L/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libgfortran/.libs
-L/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libgfortran/.libs
-B/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libquadmath/.libs
-L/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libquadmath/.libs
-L/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libquadmath/.libs
-L/sw/src/fink.build/gcc47-4.7.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/i386/libiberty
 -lm   -m32 -o ./image_index_1.exe    (timeout = 300)
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:84.26:

  index1 = image_index(a, [3, -4, 88] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:85.26:

  index2 = image_index(b, [-1, 0] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:90.26:

  index1 = image_index(a, [3, -3, 88] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:91.26:

  index2 = image_index(b, [0, 0] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:29.24:

index1 = image_index(a, [3, -4, 88] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:30.24:

index2 = image_index(b, [-1, 0] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:35.24:

index1 = image_index(a, [3, -3, 88] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:36.24:

index2 = image_index(b, [0, 0] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:45.24:

index1 = image_index(d, [-1, 1] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:46.24:

index2 = image_index(d, [0, 1] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:53.24:

index1 = image_index(e, [-1, 3] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:54.24:

index2 = image_index(e, [-1, 4] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:67.24:

index1 = image_index(a, [1, 0, 0] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:68.24:

index2 = image_index(a, [3, 1, 2] )  ! = 213, yeah!
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:69.24:

index3 = image_index(a, [3, 1, 0] )  ! = 13
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
compiler exited with status 1
output is:
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:84.26:

  index1 = image_index(a, [3, -4, 88] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:85.26:

  index2 = image_index(b, [-1, 0] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:90.26:

  index1 = image_index(a, [3, -3, 88] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:91.26:

  index2 = image_index(b, [0, 0] )
                          1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:29.24:

index1 = image_index(a, [3, -4, 88] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:30.24:

index2 = image_index(b, [-1, 0] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:35.24:

index1 = image_index(a, [3, -3, 88] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:36.24:

index2 = image_index(b, [0, 0] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:45.24:

index1 = image_index(d, [-1, 1] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:46.24:

index2 = image_index(d, [0, 1] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:53.24:

index1 = image_index(e, [-1, 3] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:54.24:

index2 = image_index(e, [-1, 4] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 2
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:67.24:

index1 = image_index(a, [1, 0, 0] )
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:68.24:

index2 = image_index(a, [3, 1, 2] )  ! = 213, yeah!
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3
/sw/src/fink.build/gcc47-4.7.0-1000/gcc-4.7-20110507/gcc/testsuite/gfortran.dg/coarray/image_index_1.f90:69.24:

index3 = image_index(a, [3, 1, 0] )  ! = 13
                        1
Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1)
shall be 1 (corank) not 3

FAIL: gfortran.dg/coarray/image_index_1.f90 -fcoarray=single  -O2  (test for
excess errors)



More information about the Gcc-bugs mailing list