Commit d3ea650c by Jan Hubicka Committed by Jan Hubicka

cgraph.c (cgraph_function_body_availability): Fix test of externally visible.


	* cgraph.c (cgraph_function_body_availability): Fix test of externally
	visible.

From-SVN: r141930
parent 304b14b1
2008-11-16 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_function_body_availability): Fix test of externally
visible.
2008-11-16 Joshua Kinard <kumba@gentoo.org>
* config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Map -march=r1[0246]000
......
......@@ -1427,7 +1427,7 @@ cgraph_function_body_availability (struct cgraph_node *node)
avail = AVAIL_NOT_AVAILABLE;
else if (node->local.local)
avail = AVAIL_LOCAL;
else if (node->local.externally_visible)
else if (!node->local.externally_visible)
avail = AVAIL_AVAILABLE;
/* If the function can be overwritten, return OVERWRITABLE. Take
......
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