diff options
author | Richard Guenther <rguenther@suse.de> | 2012-09-26 13:16:07 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-09-26 13:16:07 +0000 |
commit | eeca434ab6eb48931800436e03f9c3e4a30a338f (patch) | |
tree | 004be752010cf2e5b9488355f97ab93a42e0d70a /gcc | |
parent | 48c7b524c1c1b2cdd17204519e3c7274ca3058d8 (diff) | |
download | gcc-eeca434ab6eb48931800436e03f9c3e4a30a338f.zip gcc-eeca434ab6eb48931800436e03f9c3e4a30a338f.tar.gz gcc-eeca434ab6eb48931800436e03f9c3e4a30a338f.tar.bz2 |
tree.h (DECL_IS_BUILTIN): Compare LOCATION_LOCUS.
2012-09-26 Richard Guenther <rguenther@suse.de>
* tree.h (DECL_IS_BUILTIN): Compare LOCATION_LOCUS.
From-SVN: r191759
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b723e4..be34843 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-09-26 Richard Guenther <rguenther@suse.de> + + * tree.h (DECL_IS_BUILTIN): Compare LOCATION_LOCUS. + 2012-09-26 Ian Lance Taylor <iant@google.com> * diagnostic.c: Include "demangle.h" and "backtrace.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, |