calls: Remove FIXME for cxx17_empty_base_field_p
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Apr 2020 12:47:21 +0000 (13:47 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Apr 2020 12:47:21 +0000 (13:47 +0100)
commit3bce790414afaaba10e03f7bb41e4aa3279694f5
treee999d1d877735eb30a8cbb90cffeeb6b31c10efd
parent9be3bb2c0a258fd6a7d3d05d232a21930c757d3c
calls: Remove FIXME for cxx17_empty_base_field_p

This predicate is now used by aarch64 targets.

2020-04-29  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* calls.h (cxx17_empty_base_field_p): Turn into a function declaration.
* calls.c (cxx17_empty_base_field_p): New function.  Check
DECL_ARTIFICIAL and RECORD_OR_UNION_TYPE_P in addition to the
previous checks.
gcc/ChangeLog
gcc/calls.c
gcc/calls.h