diff options
author | Richard Guenther <rguenther@suse.de> | 2012-09-26 13:16:07 +0000 |
---|---|---|
committer | Richard Guenther <rguenther@suse.de> | 2012-09-26 13:16:07 +0000 |
commit | 38a05a091e5570a291f663df78567e6ec9738f18 (patch) | |
tree | 004be752010cf2e5b9488355f97ab93a42e0d70a /gcc/tree.h | |
parent | 508b6491b90356efc63f9c53e3cb6fae7412e205 (diff) |
2012-09-26 Richard Guenther <rguenther@suse.de>
* tree.h (DECL_IS_BUILTIN): Compare LOCATION_LOCUS.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index edc47eec432..254eaef2a71 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2617,7 +2617,7 @@ struct function; #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) + (LOCATION_LOCUS (DECL_SOURCE_LOCATION (DECL)) <= BUILTINS_LOCATION) /* For FIELD_DECLs, this is the RECORD_TYPE, UNION_TYPE, or QUAL_UNION_TYPE node that the field is a member of. For VAR_DECL, |