OSDN Git Service

2006-12-13 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Dec 2006 09:56:24 +0000 (09:56 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Dec 2006 09:56:24 +0000 (09:56 +0000)
* 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/ChangeLog
gcc/ipa-reference.c

index 2db866c..6dc18a3 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-13  Richard Guenther  <rguenther@suse.de>
+
+       * ipa-reference.c (scan_for_static_refs): Also scan
+       tcc_comparison class trees.
+
 2006-12-12 David Daney  <ddaney@avtrex.com>
 
        * config/mips/mips.h (ASM_OUTPUT_EXTERNAL): Undefine it before
index 9427fd5..521c84c 100644 (file)
@@ -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);