[doc, committed] fix typos in docs/comments for devirtualization optimizations
Sandra Loosemore
sandra@codesourcery.com
Sat Jan 3 03:19:00 GMT 2015
I noticed a number of typos in the documentation for the
devirtualization optimization options in invoke.texi, also in the short
option description in common.opt. When I was browsing the code to make
sure I understood the purpose of these options, I noticed that there
were very many more typos in the comments in ipa-devirt.c. I've made a
pass through everything to clean things up and checked in this patch
under the "obvious fix" rule.
There were a couple things I didn't address here:
* I suggest renaming the function type_known_to_have_no_deriavations_p
to type_known_to_have_no_derivations_p. (I suppose such a code change
requires a complete bootstrap and regression test.... I'm lazy....)
* I noticed the comments documenting possible_polymorphic_call_targets
appear to be describing parameters and behavior that aren't there any
more. I'll leave fixing that up to somebody who has a deeper
understanding of the code.
-Sandra
2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi (Option Summary): Fix spelling of
-fdevirtualize-at-ltrans.
([-fdevirtualize]): Fix markup.
([-fdevirtualize-speculatively]): Fix typo.
([-fdevirtualize-at-ltrans]): Likewise. Make description less
implementor-speaky.
* common.opt (fdevirtualize-at-ltrans): Likewise.
* ipa-devirt.c: Fix typos in comments throughout the file.
(ipa_devirt): Fix typos in format strings for dump output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devirt.patch
Type: text/x-patch
Size: 20444 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150103/2a006aa9/attachment.bin>
More information about the Gcc-patches
mailing list