mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 03:40:26 +08:00
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
This commit is contained in:
parent
304b14b107
commit
d3ea650c44
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user