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

            Bug ID: 83281
           Summary: [8 regression]
                    libgomp.oacc-c-c++-common/reduction-cplx-flt.c and
                    reduction-cplx-dbl.c fail starting with r255335
           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: ---

Given the description of the revision do the test cases just need updating?

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/ -x c++
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c
-B/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/gcc-trunk/libgomp/testsuite/../../include
-I/home/seurer/gcc/gcc-trunk/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenacc
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -O2 -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util
-B/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs
-lstdc++ -lm -o ./reduction-cplx-dbl.exe
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:
In function 'int main()':
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:31:
error: unable to find numeric literal operator 'operator""i'
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:31:
note: add 'using namespace std::complex_literals' (from <complex>) to enable
the C++14 user-defined literal suffixes
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:31:
note: or use 'j' instead of 'i' for the GNU built-in suffix
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:38:
error: unable to find numeric literal operator 'operator""i'
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:38:
note: add 'using namespace std::complex_literals' (from <complex>) to enable
the C++14 user-defined literal suffixes
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:38:
note: or use 'j' instead of 'i' for the GNU built-in suffix
compiler exited with status 1
output is:
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:
In function 'int main()':
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:31:
error: unable to find numeric literal operator 'operator""i'
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:31:
note: add 'using namespace std::complex_literals' (from <complex>) to enable
the C++14 user-defined literal suffixes
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:31:
note: or use 'j' instead of 'i' for the GNU built-in suffix
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:38:
error: unable to find numeric literal operator 'operator""i'
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:38:
note: add 'using namespace std::complex_literals' (from <complex>) to enable
the C++14 user-defined literal suffixes
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:38:
note: or use 'j' instead of 'i' for the GNU built-in suffix

FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1  -O2  (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:31:
error: unable to find numeric literal operator 'operator""i'
/home/seurer/gcc/gcc-trunk/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/reduction-cplx-dbl.c:102:38:
error: unable to find numeric literal operator 'operator""i'

Reply via email to