This fixes boostrap in targets where ASM_OUTPUT_EXTERNAL is not
defined.
gcc/ChangeLog
* varasm.cc (assemble_external_libcall): Refer in assert only ifdef
ASM_OUTPUT_EXTERNAL.
/* Declare library function name external when first used, if nec. */
if (! SYMBOL_REF_USED (fun))
{
+#ifdef ASM_OUTPUT_EXTERNAL
gcc_assert (!pending_assemble_externals_processed);
+#endif
SYMBOL_REF_USED (fun) = 1;
/* Make sure the libcall symbol is in the symtab so any
reference to it will mark its tree node as referenced, via