summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-25 03:45:37 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-25 03:45:37 +0000
commit7965079c602337756f37c5c82d6043d686b4700e (patch)
tree1384514299fb504c9d14e1021034eebebf7f8bb6 /gcc/cse.c
parente557e5850b3200b0dd00123f4e77ed23a9184aa2 (diff)
downloadgcc-7965079c602337756f37c5c82d6043d686b4700e.tar.gz
* cse.c (delete_trivially_dead_insns): Speed up by minimizing
calls to find_reg_note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 5bc6ce40c90..60dc9a9484b 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7329,7 +7329,7 @@ delete_trivially_dead_insns (rtx insns, int nreg)
ndead++;
}
- if (find_reg_note (insn, REG_LIBCALL, NULL_RTX))
+ if (in_libcall && find_reg_note (insn, REG_LIBCALL, NULL_RTX))
{
in_libcall = 0;
dead_libcall = 0;