diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-03 06:06:01 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-03 06:06:01 +0000 |
commit | 2dda64a6258fe213cb75f8a1b381d6a8ce338bb4 (patch) | |
tree | 69dc5d71503b8283d8144704ac5beaf98a8a2c94 /gcc/df-core.c | |
parent | d3ed35175e394ed9bf2721192f14f57c91c1fbe9 (diff) | |
download | gcc-2dda64a6258fe213cb75f8a1b381d6a8ce338bb4.tar.gz |
2009-06-03 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148111
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-core.c')
-rw-r--r-- | gcc/df-core.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/df-core.c b/gcc/df-core.c index c42b20f2ce7..8057b54df10 100644 --- a/gcc/df-core.c +++ b/gcc/df-core.c @@ -2120,7 +2120,13 @@ df_ref_debug (df_ref ref, FILE *file) DF_REF_FLAGS (ref), DF_REF_TYPE (ref)); if (DF_REF_LOC (ref)) - fprintf (file, "loc %p(%p) chain ", (void *)DF_REF_LOC (ref), (void *)*DF_REF_LOC (ref)); + { + if (flag_dump_noaddr) + fprintf (file, "loc #(#) chain "); + else + fprintf (file, "loc %p(%p) chain ", (void *)DF_REF_LOC (ref), + (void *)*DF_REF_LOC (ref)); + } else fprintf (file, "chain "); df_chain_dump (DF_REF_CHAIN (ref), file); |