Commit 691eb42f by Richard Guenther Committed by Richard Biener

ipa-reference.c (scan_for_static_refs): Also scan tcc_comparison class trees.

2006-12-13  Richard Guenther  <rguenther@suse.de>

	* ipa-reference.c (scan_for_static_refs): Also scan
	tcc_comparison class trees.

From-SVN: r119821
parent 2989d30c
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> 2006-12-12 David Daney <ddaney@avtrex.com>
* config/mips/mips.h (ASM_OUTPUT_EXTERNAL): Undefine it before * config/mips/mips.h (ASM_OUTPUT_EXTERNAL): Undefine it before
......
...@@ -507,6 +507,7 @@ scan_for_static_refs (tree *tp, ...@@ -507,6 +507,7 @@ scan_for_static_refs (tree *tp,
switch (TREE_CODE_CLASS (TREE_CODE (rhs))) switch (TREE_CODE_CLASS (TREE_CODE (rhs)))
{ {
case tcc_binary: case tcc_binary:
case tcc_comparison:
{ {
tree op0 = TREE_OPERAND (rhs, 0); tree op0 = TREE_OPERAND (rhs, 0);
tree op1 = TREE_OPERAND (rhs, 1); tree op1 = TREE_OPERAND (rhs, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment