Matthew Malcomson writes:
> In C++17, an empty class deriving from an empty base is not an
> aggregate, while in C++14 it is. In order to implement this, GCC adds
> an artificial field to such classes.
>
> This artificial field has no mapping to Fundamental Data Types in the
> AArch64 PCS ABI and
Thanks for doing this.
Matthew Malcomson writes:
> In C++17, an empty class deriving from an empty base is not an
> aggregate, while in C++14 it is. In order to implement this, GCC adds
> an artificial field to such classes.
>
> This artificial field has no mapping to Fundamental Data Types in t
On Tue, Apr 21, 2020 at 02:39:12PM +0100, Matthew Malcomson wrote:
> --- a/gcc/config/aarch64/aarch64.c
> +++ b/gcc/config/aarch64/aarch64.c
> @@ -15909,13 +15909,30 @@ aarch64_conditional_register_usage (void)
> }
> }
>
> +enum cpp17empty_state {
> +DONT_AVOID = 0,
> +AVOID = 1,
>