Re: [PATCH 1/2] icf: Remove nop code from sem_function::init.

2025-04-22 Thread Andrew Pinski
On Tue, Apr 22, 2025 at 12:11 AM Martin Jambor wrote: > > Hi, > > On Thu, Apr 17 2025, Andrew Pinski wrote: > > Here we had: > > node = node; > > Which does nothing so let's remove it. > > > > gcc/ChangeLog: > > > > * ipa-icf.cc (sem_function::init): Remove assignment of node from > > its

Re: [PATCH 1/2] icf: Remove nop code from sem_function::init.

2025-04-22 Thread Martin Jambor
Hi, On Thu, Apr 17 2025, Andrew Pinski wrote: > Here we had: > node = node; > Which does nothing so let's remove it. > > gcc/ChangeLog: > > * ipa-icf.cc (sem_function::init): Remove assignment of node from > itself. I'm not sure if you meant to push this as obvious or whether you were lo

[PATCH 1/2] icf: Remove nop code from sem_function::init.

2025-04-17 Thread Andrew Pinski
Here we had: node = node; Which does nothing so let's remove it. gcc/ChangeLog: * ipa-icf.cc (sem_function::init): Remove assignment of node from itself. Signed-off-by: Andrew Pinski --- gcc/ipa-icf.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/ipa-icf.cc b/gcc/ipa-icf.c