Mercurial > hg > CbC > CbC_gcc
diff gcc/print-rtl.c @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/print-rtl.c Fri Feb 12 23:41:23 2010 +0900 +++ b/gcc/print-rtl.c Mon May 24 12:47:05 2010 +0900 @@ -1,6 +1,6 @@ /* Print RTL for GCC. Copyright (C) 1987, 1988, 1992, 1997, 1998, 1999, 2000, 2002, 2003, - 2004, 2005, 2007, 2008, 2009 + 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -36,11 +36,11 @@ generator programs. */ #ifndef GENERATOR_FILE #include "tree.h" -#include "real.h" #include "flags.h" #include "hard-reg-set.h" #include "basic-block.h" #include "diagnostic.h" +#include "tree-pretty-print.h" #include "cselib.h" #include "tree-pass.h" #endif @@ -236,7 +236,7 @@ { int flags = SYMBOL_REF_FLAGS (in_rtx); if (flags) - fprintf (outfile, " [flags 0x%x]", flags); + fprintf (outfile, " [flags %#x]", flags); } else if (i == 2 && GET_CODE (in_rtx) == SYMBOL_REF) { @@ -316,7 +316,7 @@ #ifndef GENERATOR_FILE cselib_val *val = CSELIB_VAL_PTR (in_rtx); - fprintf (outfile, " %i", val->value); + fprintf (outfile, " %u:%u", val->uid, val->hash); dump_addr (outfile, " @", in_rtx); dump_addr (outfile, "/", (void*)val); #endif @@ -512,16 +512,6 @@ sawclose = 0; break; - case 'b': -#ifndef GENERATOR_FILE - if (XBITMAP (in_rtx, i) == NULL) - fputs (" {null}", outfile); - else - bitmap_print (outfile, XBITMAP (in_rtx, i), " {", "}"); -#endif - sawclose = 0; - break; - case 't': #ifndef GENERATOR_FILE dump_addr (outfile, " ", XTREE (in_rtx, i)); @@ -548,8 +538,11 @@ { #ifndef GENERATOR_FILE case MEM: - fprintf (outfile, " [" HOST_WIDE_INT_PRINT_DEC, - (HOST_WIDE_INT) MEM_ALIAS_SET (in_rtx)); + if (__builtin_expect (final_insns_dump_p, false)) + fprintf (outfile, " ["); + else + fprintf (outfile, " [" HOST_WIDE_INT_PRINT_DEC, + (HOST_WIDE_INT) MEM_ALIAS_SET (in_rtx)); if (MEM_EXPR (in_rtx)) print_mem_expr (outfile, MEM_EXPR (in_rtx));