This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42508] [4.5 Regression] wrong code with "-O1 -fipa-sra"
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2010 14:15:43 -0000
- Subject: [Bug tree-optimization/42508] [4.5 Regression] wrong code with "-O1 -fipa-sra"
- References: <bug-42508-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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