This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2005 13:11:01 -0000
- Subject: [Bug tree-optimization/22591] [4.0/4.1 Regression] wrong alias information causes an incorrect redundant load elimination
- References: <20050721155650.22591.Simon.Finn@reify.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-07-26 13:10 -------
I have (with whatever load of patches applied...)
;; Function ListSwap (ListSwap)
ListSwap (x, y)
{
struct Node * tmp;
struct _Node * D.1292;
<bb 0>:
tmp = x->next;
if (tmp != 0B) goto <L0>; else goto <L1>;
<L0>:;
x->next = y->next;
y->next = tmp;
D.1292 = x->next;
x->prev->next = x;
D.1292->prev = x;
<L1>:;
return;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22591