https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82324

            Bug ID: 82324
           Summary: Problem in new trunk test case
                    gfortran.dg/promotion_4.f90
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

The new test case gfortran.dg/promotion_4.f90 doesn't seem to compile
correctly.  I saw this on powerpc64 both BE and LE.

make -k check-fortran RUNTESTFLAGS=dg.exp=gfortran.dg/promotion_4.f90
. . .
Running /home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/dg.exp ...
FAIL: gfortran.dg/promotion_4.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/promotion_4.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/promotion_4.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/promotion_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/promotion_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/promotion_4.f90   -Os  (test for excess errors)


In the gfortran.log file from a full run:

Executing on host:
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gfortran1/../../gfortran
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gfortran1/../../
-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gfortran.dg/promotion_4.f90 
-fno-diagnostics-show-caret -fdiagnostics-color=never    -O0  -fdefault-real-10

-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs
 -lm    -o ./promotion_4.exe    (timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gfortran1/../../gfortran
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gfortran1/../../
-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gfortran.dg/promotion_4.f90
-fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -fdefault-real-10
-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs
-lm -o ./promotion_4.exe
f951: Fatal Error: REAL(KIND=10) is not available for '-fdefault-real-10'
option
compilation terminated.
compiler exited with status 1
output is:
f951: Fatal Error: REAL(KIND=10) is not available for '-fdefault-real-10'
option
compilation terminated.

FAIL: gfortran.dg/promotion_4.f90   -O0  (test for excess errors)
Excess errors:
f951: Fatal Error: REAL(KIND=10) is not available for '-fdefault-real-10'
option
compilation terminated.

UNRESOLVED: gfortran.dg/promotion_4.f90   -O0  compilation failed to produce
executable

Reply via email to