This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: fairly mechanical PATCH for EXPR_LOC_OR_HERE macro
- From: Richard Henderson <rth at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 31 Oct 2010 14:11:55 -0700
- Subject: Re: RFA: fairly mechanical PATCH for EXPR_LOC_OR_HERE macro
- References: <4CC75720.5050004@redhat.com>
On 10/26/2010 03:33 PM, Jason Merrill wrote:
> Author: Jason Merrill <jason@redhat.com>
> Date: Tue Oct 26 14:38:00 2010 -0400
>
> * tree.h (EXPR_LOC_OR_HERE): New macro.
> * builtins.c (c_strlen): Use it.
> * c-decl.c (build_enumerator): Likewise.
> * gimplify.c (internal_get_tmp_var): Likewise.
> (shortcut_cond_expr): Likewise.
> (gimplify_one_sizepos): Likewise.
> c-family/
> * c-common.c (conversion_warning, warn_for_collisions_1): Use
> EXPR_LOC_OR_HERE.
> cp/
> * decl.c (pop_switch): Use EXPR_LOC_OR_HERE.
> * typeck.c (convert_for_assignment): Likewise.
Ok.
r~