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: RFA: fairly mechanical PATCH for EXPR_LOC_OR_HERE macro


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~


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