From 2eb5c889f514f9d1856e97bb1ad81ee56a50b491 Mon Sep 17 00:00:00 2001 From: rguenth Date: Wed, 13 Dec 2006 09:56:24 +0000 Subject: 2006-12-13 Richard Guenther * ipa-reference.c (scan_for_static_refs): Also scan tcc_comparison class trees. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119821 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ipa-reference.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/ipa-reference.c') 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); -- cgit v1.2.1