Re: [committed] aarch64: Fix parameter passing for [[no_unique_address]]

2020-04-29 Thread Jakub Jelinek via Gcc-patches
On Wed, Apr 29, 2020 at 11:48:51AM +0100, Richard Sandiford wrote: > Jakub Jelinek writes: > > On Wed, Apr 29, 2020 at 10:57:24AM +0100, Richard Sandiford wrote: > >> This patch makes the ABI code ignore zero-sized [[no_unique_address]] > >> fields when deciding whether something is a HFA or HVA.

Re: [committed] aarch64: Fix parameter passing for [[no_unique_address]]

2020-04-29 Thread Richard Sandiford
Jakub Jelinek writes: > On Wed, Apr 29, 2020 at 10:57:24AM +0100, Richard Sandiford wrote: >> This patch makes the ABI code ignore zero-sized [[no_unique_address]] >> fields when deciding whether something is a HFA or HVA. > > As you use cxx17_empty_base_field_p, can you please remove the FIXME >

Re: [committed] aarch64: Fix parameter passing for [[no_unique_address]]

2020-04-29 Thread Jakub Jelinek via Gcc-patches
On Wed, Apr 29, 2020 at 10:57:24AM +0100, Richard Sandiford wrote: > This patch makes the ABI code ignore zero-sized [[no_unique_address]] > fields when deciding whether something is a HFA or HVA. As you use cxx17_empty_base_field_p, can you please remove the FIXME in calls.h because it then

[committed] aarch64: Fix parameter passing for [[no_unique_address]]

2020-04-29 Thread Richard Sandiford
This patch makes the ABI code ignore zero-sized [[no_unique_address]] fields when deciding whether something is a HFA or HVA. As things stood, we'd get two sets of -Wpsabi warnings, one when trying to decide whether something was an SVE function, and another when actually processing the function