This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/71293] New: [7 regression] test case gcc.dg/plugin/must-tail-call-2.c fails starting with r236514


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

            Bug ID: 71293
           Summary: [7 regression] test case
                    gcc.dg/plugin/must-tail-call-2.c fails starting with
                    r236514
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

From looking at the test results for other platforms this appears to be
specific to power.  It fails on both BE and LE.


Executing on host: /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c  
-fno-diagnostics-show-caret -fdiagnostics-color=never 
-fplugin=./must_tail_call_plugin.so -Wno-pedantic -S   -o must-tail-call-2.s   
(timeout = 300)
spawn /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c
-fno-diagnostics-show-caret -fdiagnostics-color=never
-fplugin=./must_tail_call_plugin.so -Wno-pedantic -S -o must-tail-call-2.s
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_1':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:17:10:
error: cannot tail-call: callee returns a structure
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_2_caller':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:32:10:
error: cannot tail-call: inconsistent size of stack space allocated for
arguments which are passed in registers
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_3':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:39:3:
error: cannot tail-call: target is not able to optimize the call into a sibling
call
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_4':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:48:3:
error: cannot tail-call: nested function
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_5':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:57:3:
error: cannot tail-call: target is not able to optimize the call into a sibling
call
compiler exited with status 1
output is:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_1':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:17:10:
error: cannot tail-call: callee returns a structure
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_2_caller':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:32:10:
error: cannot tail-call: inconsistent size of stack space allocated for
arguments which are passed in registers
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_3':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:39:3:
error: cannot tail-call: target is not able to optimize the call into a sibling
call
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_4':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:48:3:
error: cannot tail-call: nested function
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In
function 'test_5':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:57:3:
error: cannot tail-call: target is not able to optimize the call into a sibling
call

PASS: gcc.dg/plugin/must-tail-call-2.c -fplugin=./must_tail_call_plugin.so 
(test for errors, line 17)
FAIL: gcc.dg/plugin/must-tail-call-2.c -fplugin=./must_tail_call_plugin.so 
(test for errors, line 32)
FAIL: gcc.dg/plugin/must-tail-call-2.c -fplugin=./must_tail_call_plugin.so 
(test for errors, line 39)
PASS: gcc.dg/plugin/must-tail-call-2.c -fplugin=./must_tail_call_plugin.so 
(test for errors, line 48)
FAIL: gcc.dg/plugin/must-tail-call-2.c -fplugin=./must_tail_call_plugin.so 
(test for errors, line 57)
FAIL: gcc.dg/plugin/must-tail-call-2.c -fplugin=./must_tail_call_plugin.so
(test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:32:10:
error: cannot tail-call: inconsistent size of stack space allocated for
arguments which are passed in registers
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:39:3:
error: cannot tail-call: target is not able to optimize the call into a sibling
call
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:57:3:
error: cannot tail-call: target is not able to optimize the call into a sibling
call

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]