Re: [PATCH] c++: set loc on call even if result is discarded

2022-04-08 Thread Jason Merrill via Gcc-patches
On 4/7/22 18:48, Alexandre Oliva wrote: On Apr 6, 2022, Jason Merrill wrote: On 4/6/22 15:37, Alexandre Oliva wrote: Need to adjust this subject line, as well. *nod*, thanks * tree.cc (protected_set_expr_location): Propagate locus to call wrapped in cast-to-void. I'm reluctant to put

Re: [PATCH] c++: set loc on call even if result is discarded

2022-04-08 Thread Richard Biener via Gcc-patches
On Fri, Apr 8, 2022 at 12:49 AM Alexandre Oliva via Gcc-patches wrote: > > On Apr 6, 2022, Jason Merrill wrote: > > > On 4/6/22 15:37, Alexandre Oliva wrote: > > Need to adjust this subject line, as well. > > *nod*, thanks > > >> * tree.cc (protected_set_expr_location): Propagate locus to > >>

Re: [PATCH] c++: set loc on call even if result is discarded

2022-04-07 Thread Alexandre Oliva via Gcc-patches
On Apr 6, 2022, Jason Merrill wrote: > On 4/6/22 15:37, Alexandre Oliva wrote: > Need to adjust this subject line, as well. *nod*, thanks >> * tree.cc (protected_set_expr_location): Propagate locus to >> call wrapped in cast-to-void. > I'm reluctant to put this C++-specific change in a