diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e4dfe5d79d..50bf3289acf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-06-20 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> + + * tree.h (DECL_SOURCE_COLUMN): New accessor. + 2012-06-20 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (<rounding_insn><mode>2): Macroize expander diff --git a/gcc/tree.h b/gcc/tree.h index 1539becd95c..8bd0580397d 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2670,6 +2670,7 @@ struct function; (DECL_MINIMAL_CHECK (NODE)->decl_minimal.locus) #define DECL_SOURCE_FILE(NODE) LOCATION_FILE (DECL_SOURCE_LOCATION (NODE)) #define DECL_SOURCE_LINE(NODE) LOCATION_LINE (DECL_SOURCE_LOCATION (NODE)) +#define DECL_SOURCE_COLUMN(NODE) LOCATION_COLUMN (DECL_SOURCE_LOCATION (NODE)) #define DECL_IS_BUILTIN(DECL) \ (DECL_SOURCE_LOCATION (DECL) <= BUILTINS_LOCATION) |