This is the mail archive of the gcc-patches@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]

Tiny patch to print MEM_ALIAS_SET in rtl dumps


	* print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.

Index: print-rtl.c
===================================================================
RCS file: /usr/local/cvs/gcs/gcc/print-rtl.c,v
retrieving revision 1.1.1.11
diff -u -p -r1.1.1.11 print-rtl.c
--- print-rtl.c	1998/09/07 20:54:35	1.1.1.11
+++ print-rtl.c	1998/09/08 13:31:21
@@ -259,6 +259,9 @@ print_rtx (in_rtx)
 	abort ();
       }
 
+  if (GET_CODE (in_rtx) == MEM)
+    fprintf (outfile, " %d", MEM_ALIAS_SET (in_rtx));
+
 #if HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT && LONG_DOUBLE_TYPE_SIZE == 64
   if (GET_CODE (in_rtx) == CONST_DOUBLE && FLOAT_MODE_P (GET_MODE (in_rtx)))
     {



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