diff options
author | Richard Biener <rguenther@suse.de> | 2023-12-11 10:08:24 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-12-12 15:25:24 +0100 |
commit | eee13a3730bd1d7aa7b40687b1ee49c17d95159f (patch) | |
tree | 54ccfb8771a04e75c16c269a9415d7e3990cc1c2 /test-driver | |
parent | 878cb5acf0c499702ffd315e273f55e8bd0970b8 (diff) | |
download | gcc-eee13a3730bd1d7aa7b40687b1ee49c17d95159f.zip gcc-eee13a3730bd1d7aa7b40687b1ee49c17d95159f.tar.gz gcc-eee13a3730bd1d7aa7b40687b1ee49c17d95159f.tar.bz2 |
ipa/92606 - properly handle no_icf attribute for variables
The following adds no_icf handling for variables where the attribute
was rejected. It also fixes the check for no_icf by checking both
the source and the targets decl.
PR ipa/92606
gcc/c-family/
* c-attribs.cc (handle_noicf_attribute): Also allow the
attribute on global variables.
gcc/
* ipa-icf.cc (sem_item_optimizer::merge_classes): Check
both source and alias for the no_icf attribute.
* doc/extend.texi (no_icf): Document variable attribute.
Diffstat (limited to 'test-driver')
0 files changed, 0 insertions, 0 deletions