Commit eeca434a by Richard Guenther Committed by Richard Biener

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
parent 48c7b524
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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment