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

            Bug ID: 116080
           Summary: New tests from r15-2233-g8d1af8f904a0c0 fail
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:8d1af8f904a0c08656d976cbf8ca56dba35197b0, r15-2233-g8d1af8f904a0c0

These both fail on powerpc64 BE and g++.dg/musttail10.C fails on powerpc64 LE.

FAIL: c-c++-common/musttail12.c  -std=c++14 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++17 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++20 (test for excess errors)
FAIL: g++.dg/musttail10.C    (test for errors, line 11)
FAIL: g++.dg/musttail10.C   (test for excess errors)

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++1/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++1/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/musttail12.c -m32
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++14 -S -o musttail12.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/musttail12.c: In
function 'str cstruct(int)':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/musttail12.c:13:38:
error: cannot tail-call: tail call must be same type
compiler exited with status 1
FAIL: c-c++-common/musttail12.c  -std=c++14 (test for excess errors)



spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C -m64
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++11 -S -o musttail10.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C: In function
'double g()':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C:7:45: error:
cannot tail-call: return value changed after call
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C: In function 'T
g1() [with T = int]':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C:11:39: error:
cannot tail-call: target is not able to optimize the call into a sibling call
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C: In function 'T
g2() [with T = double]':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C:15:39: error:
cannot tail-call: target is not able to optimize the call into a sibling call
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C: In function 'T
g3() [with T = C]':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C:20:40: error:
cannot tail-call: return value in memory
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C: In function 'T
g4() [with T = int]':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/musttail10.C:24:44: error:
cannot tail-call: return value changed after call
compiler exited with status 1


commit 8d1af8f904a0c08656d976cbf8ca56dba35197b0 (HEAD)
Author: Andi Kleen <a...@linux.intel.com>
Date:   Tue Jan 23 23:54:56 2024 -0800

    Add tests for C/C++ musttail attributes

Reply via email to