diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-02 19:28:05 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-02 19:28:05 +0000 |
commit | 9d63dbe6b454a33381a73e1ca93aff85b0594f05 (patch) | |
tree | f8a1cb507af3e7ceb424d8056fc0f50558e9cd28 /gcc/tree-mudflap.c | |
parent | f98abc094eceacf320655d4f16c9f71243455544 (diff) | |
download | gcc-9d63dbe6b454a33381a73e1ca93aff85b0594f05.tar.gz |
2008-03-02 Basile Starynkevitch <basile@starynkevitch.net>
merged with trunk 132817
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@132818 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r-- | gcc/tree-mudflap.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c index 4b9c11830ba..190a3d3ce2d 100644 --- a/gcc/tree-mudflap.c +++ b/gcc/tree-mudflap.c @@ -1,5 +1,5 @@ /* Mudflap: narrow-pointer bounds-checking by tree rewriting. - Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Frank Ch. Eigler <fche@redhat.com> and Graydon Hoare <graydon@redhat.com> @@ -121,9 +121,7 @@ mf_varname_tree (tree decl) const char *sourcefile; unsigned sourceline = xloc.line; unsigned sourcecolumn = 0; -#ifdef USE_MAPPED_LOCATION sourcecolumn = xloc.column; -#endif sourcefile = xloc.file; if (sourcefile == NULL && current_function_decl != NULL_TREE) sourcefile = DECL_SOURCE_FILE (current_function_decl); @@ -214,11 +212,9 @@ mf_file_function_line_tree (location_t location) if (xloc.line > 0) { -#ifdef USE_MAPPED_LOCATION if (xloc.column > 0) sprintf (linecolbuf, "%d:%d", xloc.line, xloc.column); else -#endif sprintf (linecolbuf, "%d", xloc.line); colon = ":"; line = linecolbuf; |