aboutsummaryrefslogtreecommitdiff
path: root/libphobos
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2023-11-06 16:20:47 +0000
committerAndrew Carlotti <andrew.carlotti@arm.com>2023-12-16 00:38:42 +0000
commit73d5d3e2b29a3ebd538b6e55f0c8d62621342317 (patch)
treea4ef8af823d30477668ad61f499914fe2e39f0b9 /libphobos
parentb26bbd1be31666c2cc83527e89dba6684d97735b (diff)
downloadgcc-73d5d3e2b29a3ebd538b6e55f0c8d62621342317.zip
gcc-73d5d3e2b29a3ebd538b6e55f0c8d62621342317.tar.gz
gcc-73d5d3e2b29a3ebd538b6e55f0c8d62621342317.tar.bz2
ada: Improve attribute exclusion handling
Change the handling of some attribute mutual exclusions to use the generic attribute exclusion lists, and fix some asymmetric exclusions by adding the exclusions for always_inline after noinline or target_clones. Aside from the new always_inline exclusions, the only change is functionality is the choice of warning message displayed. All warnings about attribute mutual exclusions now use the same message. gcc/ada/ChangeLog: * gcc-interface/utils.cc (attr_noinline_exclusions): New. (attr_always_inline_exclusions): Ditto. (attr_target_exclusions): Ditto. (attr_target_clones_exclusions): Ditto. (gnat_internal_attribute_table): Add new exclusion lists. (handle_noinline_attribute): Remove custom exclusion handling. (handle_target_attribute): Ditto. (handle_target_clones_attribute): Ditto.
Diffstat (limited to 'libphobos')
0 files changed, 0 insertions, 0 deletions