calls: Introduce cxx17_empty_base_field_p [PR94383]
authorJakub Jelinek <jakub@redhat.com>
Wed, 22 Apr 2020 14:44:42 +0000 (16:44 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 22 Apr 2020 14:44:42 +0000 (16:44 +0200)
commitc3a34659036b55fa36a5355fdd67133f427eeb2d
tree2a42175d9f7f989fa0acc263563ccb13b024e69a
parent4e16452e2900fc79b090794e7b7a5727f1136a4a
calls: Introduce cxx17_empty_base_field_p [PR94383]

As multiple targets are affected apparently, I believe at least
aarch64, arm, powerpc64le, s390{,x} and ia64,
I think we should have a middle-end predicate for this, so that if we need
to tweak it, we can do it in one spot.

2020-04-22  Jakub Jelinek  <jakub@redhat.com>

PR target/94383
* calls.h (cxx17_empty_base_field_p): Declare.
* calls.c (cxx17_empty_base_field_p): Define.
gcc/ChangeLog
gcc/calls.c
gcc/calls.h