This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for objc/45925
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: "Nicola Pero" <nicola dot pero at meta-innovation dot com>
- Cc: "gcc-patches\ at gnu dot org" <gcc-patches at gnu dot org>
- Date: Thu, 07 Oct 2010 11:12:26 +0200
- Subject: Re: Fix for objc/45925
- References: <1286442447.74294365@192.168.2.230>
"Nicola Pero" <nicola.pero@meta-innovation.com> writes:
> Index: objc-act.c
> ===================================================================
> --- objc-act.c (revision 165067)
> +++ objc-act.c (working copy)
> @@ -10325,7 +10325,7 @@ objc_finish_foreach_loop (location_t location, tre
> (NULL_TREE, build_int_cst (NULL_TREE, 16), NULL_TREE))));
> }
> #endif
> - t = build2 (MODIFY_EXPR, void_type_node, objc_foreach_batchsize_decl, t);
> + t = build2 (MODIFY_EXPR, void_type_node, objc_foreach_batchsize_decl, convert (long_unsigned_type_node, t));
Please break this line (again below).
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University