This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix unnecessary call clobbering due to type of global_var
Daniel Berlin wrote:
So trivially, this should be "if ((n_clobbered == 0 &&
ai->num_calls_found > 0)
|| .."
I'm about to submit a patch for this.
Ah, yes. I remember. It's been fixed in TCB. It needed a tweak to the
out-of-ssa code, IIRC. Check ChangeLog.tcb.
In the long run, we should probably find a nicer way of linking calls
that could have side-effects together in chains, instead of global var.
>
Agreed. Can't remember off-hand how I fixed this on TCB. But I do
remember removing this hunk of code.
Diego.