projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eb0d3d
)
* ifcvt.c (find_cond_trap): Avoid invalid RTL sharing.
author
Jan Hubicka
<jh@suse.cz>
Tue, 3 Jul 2007 22:14:27 +0000
(
00:14
+0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Tue, 3 Jul 2007 22:14:27 +0000
(22:14 +0000)
From-SVN: r126281
gcc/ChangeLog
patch
|
blob
|
history
gcc/ifcvt.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index
0267508
..
371fb6a
100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2007-07-03 Jan Hubicka <jh@suse.cz>
+
+ * ifcvt.c (find_cond_trap): Avoid invalid RTL sharing.
+
2007-07-03 Eric Christopher <echristo@apple.com>
* doc/cppopts.texi: Add conflicting option note to -dM.
diff --git
a/gcc/ifcvt.c
b/gcc/ifcvt.c
index
dd7764b
..
8a346bb
100644
(file)
--- a/
gcc/ifcvt.c
+++ b/
gcc/ifcvt.c
@@
-3311,8
+3311,8
@@
find_cond_trap (basic_block test_bb, edge then_edge, edge else_edge)
}
/* Attempt to generate the conditional trap. */
- seq = gen_cond_trap (code,
XEXP (cond, 0
),
-
XEXP (cond, 1
),
+ seq = gen_cond_trap (code,
copy_rtx (XEXP (cond, 0)
),
+
copy_rtx (XEXP (cond, 1)
),
TRAP_CODE (PATTERN (trap)));
if (seq == NULL)
return FALSE;