This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] PATCH to ease fileline/location_t merge
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 23 Apr 2004 12:18:53 -0700
- Subject: Re: [tree-ssa] PATCH to ease fileline/location_t merge
- References: <40895EA4.7080208@bothner.com>
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