------- Comment #4 from jakub at gcc dot gnu dot org 2010-01-04 14:15 ------- Created an attachment (id=19460) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19460&action=view) gcc45-pr42508.patch
Fix, so far not bootstrapped/regtested. The cgraphunit.c hunk is only somewhat related, is not necessary to fix this, I've just noticed that the function was still modifying GIMPLE_CALL decl unnecessarily (and confusingly), when e->callee is an inline clone of some cgraph node with same_body aliases and GIMPLE_CALL calls the same_body alias. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42508