summaryrefslogtreecommitdiffstats
path: root/gcc/ipa-reference.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-reference.c')
-rw-r--r--gcc/ipa-reference.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c
index 9427fd5db8c..521c84c6424 100644
--- a/gcc/ipa-reference.c
+++ b/gcc/ipa-reference.c
@@ -507,6 +507,7 @@ scan_for_static_refs (tree *tp,
switch (TREE_CODE_CLASS (TREE_CODE (rhs)))
{
case tcc_binary:
+ case tcc_comparison:
{
tree op0 = TREE_OPERAND (rhs, 0);
tree op1 = TREE_OPERAND (rhs, 1);
OpenPOWER on IntegriCloud