Hi,
On Wed, Apr 20 2022, Jan Hubicka via Gcc-patches wrote:
>> On Wed, 20 Apr 2022, Jakub Jelinek wrote:
[...]
>> >
>> > if ((flag_openacc || flag_openmp)
>> > && lookup_attribute ("omp declare target", DECL_ATTRIBUTES (decl)))
>> > --- gcc/cgraphclones.cc.jj 2022-01-18 11:58:58.948991114 +0100
>> > +++ gcc/cgraphclones.cc 2022-04-19 13:38:43.594262397 +0200
>> > @@ -394,6 +394,7 @@ cgraph_node::create_clone (tree new_decl
>> > new_node->versionable = versionable;
>> > new_node->can_change_signature = can_change_signature;
>> > new_node->redefined_extern_inline = redefined_extern_inline;
>> > + new_node->semantic_interposition = semantic_interposition;
>
> This indeed makes sense to me.
but that means theat create_clone (and therefore also
create_virtual_clone) now creates nodes which are both local and
potentially interposable... is that what we want? (Does the local flag
make the interposition flag meaningless in that case?)
Martin