diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-13 09:56:24 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-13 09:56:24 +0000 |
commit | 2eb5c889f514f9d1856e97bb1ad81ee56a50b491 (patch) | |
tree | 7bd7f4a1cf32f4c5ec77e6441c3d94b8ed7b6036 | |
parent | 29d774d0cb1a5bbd04f5bc62a1f25e4327b8deca (diff) | |
download | gcc-2eb5c889f514f9d1856e97bb1ad81ee56a50b491.tar.gz |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-reference.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2db866ce838..6dc18a3bcb5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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); |