Patch:
Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.643
diff -u -p -r1.643 rs6000.c
--- rs6000.c 15 May 2004 12:39:34 -0000 1.643
+++ rs6000.c 20 May 2004 15:56:52 -0000
@@ -9682,6 +9682,9 @@ print_operand (FILE *file, rtx x, int co
if (GET_CODE (x) != SYMBOL_REF)
abort ();
+ if (SYMBOL_REF_DECL (x))
+ mark_decl_referenced (SYMBOL_REF_DECL (x));
+
if (XSTR (x, 0)[0] != '.')
{
switch (DEFAULT_ABI)