projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c031cb
)
ICF: Use bit or instead of if branch.
author
Martin Liska
<mliska@suse.cz>
Tue, 3 Mar 2015 12:10:57 +0000
(13:10 +0100)
committer
Martin Liska
<marxin@gcc.gnu.org>
Tue, 3 Mar 2015 12:10:57 +0000
(12:10 +0000)
* ipa-icf.c (sem_item_optimizer::merge_classes): Use bit or
instead of if branch.
From-SVN: r221147
gcc/ChangeLog
patch
|
blob
|
history
gcc/ipa-icf.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index f2fd1ff6ffb8a287fb07377a1d68b3f6976518fb..36aa08f02747ffb7496ee250ea4929f5a04f6168 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+2015-03-03 Martin Liska <mliska@suse.cz>
+
+ * ipa-icf.c (sem_item_optimizer::merge_classes): Use bit or
+ instead of if branch.
+
2015-03-03 Martin Liska <mliska@suse.cz>
PR ipa/65282
diff --git
a/gcc/ipa-icf.c
b/gcc/ipa-icf.c
index a47ca29aeea05216488ee92aa76b98c021f9927f..b61737247858f1621d0991e16d4eab2a0e4ec603 100644
(file)
--- a/
gcc/ipa-icf.c
+++ b/
gcc/ipa-icf.c
@@
-2976,8
+2976,7
@@
sem_item_optimizer::merge_classes (unsigned int prev_class_count)
alias->dump_to_file (dump_file);
}
- if (source->merge (alias))
- merged_p = true;
+ merged_p |= source->merge (alias);
}
}