http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54709



--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2012-09-26 12:48:49 UTC ---

(In reply to comment #3)

> Seems that doesn't work (yeah, the builtin defs issue ... bah).  The following

> might (w/o reverting the previous change):

> 

> Index: gcc/tree.h

> ===================================================================

> --- gcc/tree.h  (revision 191756)

> +++ gcc/tree.h  (working copy)

> @@ -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,



Hmm, I've tested this one and it didn't fix this bug.

Reply via email to