This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: powerpc testsuite regressions (was Re: Bootstrap miscomparison on mainline with checking disabled)



On May 20, 2004, at 9:01 AM, Andrew Pinski wrote:


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)


Add some comment explaining 'why'.

-
Devang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]