This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/42508] [4.5 Regression] wrong code with "-O1 -fipa-sra"



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]