This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] PATCH to ease fileline/location_t merge


Per Bothner <per@bothner.com> writes:

> +#ifdef USE_MAPPED_LOCATION
> +#define EXPR_LOCATION(NODE)					\
> +  (IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (NODE)))	\
> +   ? (NODE)->exp.locus						\
> +   : UNKNOWN_LOCATION)

Why is this not a tree-checking ICE if !IS_EXPR_CODE_CLASS (...) ?

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]