summaryrefslogtreecommitdiffstats
path: root/gcc/ipa-reference.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-13 09:56:24 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-13 09:56:24 +0000
commit2eb5c889f514f9d1856e97bb1ad81ee56a50b491 (patch)
tree7bd7f4a1cf32f4c5ec77e6441c3d94b8ed7b6036 /gcc/ipa-reference.c
parent29d774d0cb1a5bbd04f5bc62a1f25e4327b8deca (diff)
downloadppe42-gcc-2eb5c889f514f9d1856e97bb1ad81ee56a50b491.tar.gz
ppe42-gcc-2eb5c889f514f9d1856e97bb1ad81ee56a50b491.zip
2006-12-13 Richard Guenther <rguenther@suse.de>
* 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
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