varpool.c (varpool_extra_name_alias): Return NULL, not false.

2011-06-03  Jack Howarth <howarth@bromo.med.uc.edu>

	 * varpool.c (varpool_extra_name_alias): Return NULL, not false.

From-SVN: r174612
This commit is contained in:
Jack Howarth 2011-06-03 18:23:22 +00:00 committed by Mike Stump
parent 8929d9eadf
commit 34e0c8d5fe
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-06-03 Jack Howarth <howarth@bromo.med.uc.edu>
* varpool.c (varpool_extra_name_alias): Return NULL, not false.
2011-06-03 Richard Henderson <rth@redhat.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

View File

@ -676,7 +676,7 @@ varpool_extra_name_alias (tree alias, tree decl)
#ifndef ASM_OUTPUT_DEF
/* If aliases aren't supported by the assembler, fail. */
return false;
return NULL;
#endif
gcc_assert (TREE_CODE (decl) == VAR_DECL);