projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
584bb3e
)
* ifcvt.c (noce_operand_ok): Handle properly unarry operations.
author
Jan Hubicka
<jh@suse.cz>
Fri, 2 Mar 2001 11:00:29 +0000
(12:00 +0100)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Fri, 2 Mar 2001 11:00:29 +0000
(11:00 +0000)
From-SVN: r40181
gcc/ChangeLog
patch
|
blob
|
history
gcc/ifcvt.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 73859316b99181539999d18caabf238af5722bb8..d1eb0ac54aa10ea98ddb773cc5dc646f95dea6a4 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
+
+ * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
+
2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk>
* cppfiles.c (struct include_file): Update.
diff --git
a/gcc/ifcvt.c
b/gcc/ifcvt.c
index fd934b5643ec909aa5a166b57dbc64310ffdeec8..06c25fd321ca3682ecef07f3d712fa73950371aa 100644
(file)
--- a/
gcc/ifcvt.c
+++ b/
gcc/ifcvt.c
@@
-1417,8
+1417,9
@@
noce_operand_ok (op)
default:
switch (GET_RTX_CLASS (GET_CODE (op)))
{
- case 'c':
case '1':
+ return ! may_trap_p (XEXP (op, 0));
+ case 'c':
case '2':
return ! may_trap_p (XEXP (op, 0)) && ! may_trap_p (XEXP (op, 1));
}