------- Comment #16 from jamborm at gcc dot gnu dot org 2010-09-06 18:25 ------- Created an attachment (id=21714) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21714&action=view) Patch to address IPA-CP parameter removal issues
This patch makes IPA-CP to refrain from modifying a function when it sees a any type attributes. It fixes the test case. I do not expect it to cause any problems elsewhere but I have not yet bootstrapped or tested it (I have just scheduled both for tonight). As far as I understand it there is already a test in our testsuite that fails (with the patch from comment #7 applied) and so I am not going to add an extra one. I think it's best to check this in separately and I will submit it for approval tomorrow if there are no unforeseen problems. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43665