[PATCH] wwwdocs: Slightly improve IPA-SRA description in gcc-10/changes.html

Gerald Pfeifer gerald@pfeifer.com
Tue Apr 14 14:59:21 GMT 2020


On Tue, 14 Apr 2020, Martin Jambor wrote:
> I think that the fact that IPA-SRA can now remove unused return
> values deserves a special mention - and I also fixed the proposition
> in the name of the pass.
> 
> OK for wwwdocs?

Yes, thank you.  A small recommendation:

> +      <li>The inter-procedural scalar replacement of aggregates (IPA-SRA) pass
> +	  was re-implemented to work at link-time and can now also remove
> +	  calculating and passing unused return values.

Here I'd use "computing" instead of "calculating".

The meanings of those two words overlap, and in the sense of formal
logics everything could be seen as a calculation.  In the more common
term 

  x = 47*(y+1)

would be more of a calculation whereas

  if (y > 47) x = y; else x = f(y);

more of a computation.

Gerald


More information about the Gcc-patches mailing list