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: Fix for objc/45925


"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


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