]> git.ipfire.org Git - thirdparty/gcc.git/commit
strub: add note on attribute access
authorAlexandre Oliva <oliva@adacore.com>
Mon, 11 Dec 2023 18:09:13 +0000 (15:09 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Mon, 11 Dec 2023 18:09:13 +0000 (15:09 -0300)
commite4fc59e0d50cd3d2bb3a004fff135f5955621d01
treee3f0db58c5cb78ec92dfaa4cf72945eadd59367a
parentb806c88fab3f9c6833563f9a44b608dd5dd14de9
strub: add note on attribute access

Document why attribute access doesn't need the same treatment as fn
spec, and check that the assumption behind it holds.

for  gcc/ChangeLog

* ipa-strub.cc (pass_ipa_strub::execute): Check that we don't
add indirection to pointer parameters, and document attribute
access non-interactions.
gcc/ipa-strub.cc