From: rguenth Date: Wed, 13 Dec 2006 09:56:24 +0000 (+0000) Subject: 2006-12-13 Richard Guenther X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2eb5c889f514f9d1856e97bb1ad81ee56a50b491;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2db866ce8389..6dc18a3bcb51 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-12-13 Richard Guenther + + * ipa-reference.c (scan_for_static_refs): Also scan + tcc_comparison class trees. + 2006-12-12 David Daney * config/mips/mips.h (ASM_OUTPUT_EXTERNAL): Undefine it before diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index 9427fd5db8c6..521c84c6424b 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);