]> git.ipfire.org Git - thirdparty/gcc.git/commit
strub: drop nonaliased parm from build_ref_type_for [PR113394]
authorAlexandre Oliva <oliva@adacore.com>
Wed, 31 Jan 2024 03:13:27 +0000 (00:13 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 31 Jan 2024 03:23:57 +0000 (00:23 -0300)
commitd826596acb02edf41ac4f76af2aed5efa3b8c698
treedc03a0d4e5887d8ef92b3cb2ad45ff07b758d682
parent320fb976e933e8892af905e68de65492568f2a49
strub: drop nonaliased parm from build_ref_type_for [PR113394]

Variant type copies can't have their own alias sets any more, and it's
not like setting them affected the pointed-to objects anyway.

for  gcc/ChangeLog

PR debug/113394
* ipa-strub.cc (build_ref_type_for): Drop nonaliased.  Adjust
caller.

for  gcc/testsuite/ChangeLog

PR debug/113394
* gcc.dg/strub-internal-pr113394.c: New.
gcc/ipa-strub.cc
gcc/testsuite/gcc.dg/strub-internal-pr113394.c [new file with mode: 0644]