On 10/11/2024 19:25, Torbjörn SVENSSON wrote:
> Ok for trunk and releases/gcc-14?
> 
> --
> 
> Test fails for Cortex-M0 with:
> 
> .../pr81812.C:6:8: error: generic thunk code fails for method 'virtual void 
> ChildNode::_ZTv0_n12_NK9ChildNode5errorEz(...) const' which uses '...'
> 
> According to PR108277, it's expected that thumb1 targets does not
> support empty virtual functions with ellipsis.
> 
> gcc/testsuite/ChangeLog:
> 
>       * g++.dg/torture/pr81812.C: Add xfail for thumb1.
> 
> Signed-off-by: Torbjörn SVENSSON <torbjorn.svens...@foss.st.com>
> ---
>  gcc/testsuite/g++.dg/torture/pr81812.C | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/gcc/testsuite/g++.dg/torture/pr81812.C 
> b/gcc/testsuite/g++.dg/torture/pr81812.C
> index d235e237588..b5c621d2beb 100644
> --- a/gcc/testsuite/g++.dg/torture/pr81812.C
> +++ b/gcc/testsuite/g++.dg/torture/pr81812.C
> @@ -1,3 +1,5 @@
> +// { dg-xfail-if "PR108277" { arm_thumb1 } }
> +
>  struct Error {
>    virtual void error(... ) const;
>  };

OK.  There's no reason that I can see why this can't be fixed.  It just needs 
somebody to write (and test) the code :)

R.

Reply via email to