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

            Bug ID: 71443
           Summary: [7 regression] test case
                    gcc.dg/plugin/must-tail-call-2.c reports error
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wdijkstr at arm dot com
  Target Milestone: ---

There are 2 new failures in the tail-call-2.c test on recent trunk builds:
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 excess errors)

The error reported is:
/home/wdijkstr/gcc/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c: In function
'test_2_caller':^M
/home/wdijkstr/gcc/gcc/testsuite/gcc.dg/plugin/must-tail-call-2.c:32:10: error:
cannot tail-call: argument must be passed by copying^M

The argument is a large structure which is passed by reference on AArch64. So
it looks like the test needs to allow for this possibility. This appears
related to PR71293 for Power.

Reply via email to