This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: faster tree type checking
- To: Zack Weinberg <zack at bitmover dot com>
- Subject: Re: faster tree type checking
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 19 Aug 1999 01:08:40 -0700
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <199908190702.AAA30482@zack.bitmover.com>
On Thu, Aug 19, 1999 at 12:02:10AM -0700, Zack Weinberg wrote:
> + if (TREE_CODE(__t) != (code)) \
> + tree_check_failed (__t, code, trim_filename(__FILE__), \
> + __LINE__, __PRETTY_FUNCTION__); \
You can trim the code expansion a bit by moving the call
to trim_filename inside the error reporting function.
Otherwise it's ok.
r~