Add support for copy specifiers in fnspec
authorJan Hubicka <jh@suse.cz>
Thu, 12 Nov 2020 13:56:40 +0000 (14:56 +0100)
committerJan Hubicka <jh@suse.cz>
Thu, 12 Nov 2020 13:56:40 +0000 (14:56 +0100)
commit071a31a53388229213f323ecdc680ff8aeda456c
tree2827d05e893bf315f87c40de4368e7969438723a
parentb71ff8c15f5a7d6b1cc1524b4d27843f0d88dbda
Add support for copy specifiers in fnspec

* attr-fnspec.h: Update topleve comment.
(attr_fnspec::arg_direct_p): Accept 1...9.
(attr_fnspec::arg_maybe_written_p): Reject 1...9.
(attr_fnspec::arg_copied_to_arg_p): New member function.
* builtins.c (builtin_fnspec): Update fnspec of block copy.
* tree-ssa-alias.c (attr_fnspec::verify): Update.
gcc/attr-fnspec.h
gcc/builtins.c
gcc/tree-ssa-alias.c