Re: [PATCH] Introduce build_debug_expr_decl

2021-11-09 Thread Richard Biener via Gcc-patches
On Tue, 9 Nov 2021, Martin Jambor wrote: > Hi, > > On Mon, Nov 08 2021, Prathamesh Kulkarni wrote: > > On Mon, 8 Nov 2021 at 23:24, Martin Jambor wrote: > >> > >> Hi, > >> > >> this patch introduces a helper function build_debug_expr_decl to build > >> DEBUG_EXPR_DECL tree nodes in the most comm

Re: [PATCH] Introduce build_debug_expr_decl

2021-11-09 Thread Martin Jambor
Hi, On Mon, Nov 08 2021, Prathamesh Kulkarni wrote: > On Mon, 8 Nov 2021 at 23:24, Martin Jambor wrote: >> >> Hi, >> >> this patch introduces a helper function build_debug_expr_decl to build >> DEBUG_EXPR_DECL tree nodes in the most common way and replaces with a >> call of this function all code

Re: [PATCH] Introduce build_debug_expr_decl

2021-11-08 Thread Richard Biener via Gcc-patches
On Mon, 8 Nov 2021, Martin Jambor wrote: > Hi, > > this patch introduces a helper function build_debug_expr_decl to build > DEBUG_EXPR_DECL tree nodes in the most common way and replaces with a > call of this function all code pieces which build such a DECL itself > and sets its mode to the TYPE_

Re: [PATCH] Introduce build_debug_expr_decl

2021-11-08 Thread Prathamesh Kulkarni via Gcc-patches
On Mon, 8 Nov 2021 at 23:24, Martin Jambor wrote: > > Hi, > > this patch introduces a helper function build_debug_expr_decl to build > DEBUG_EXPR_DECL tree nodes in the most common way and replaces with a > call of this function all code pieces which build such a DECL itself > and sets its mode to