diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2018-02-21 21:11:15 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2018-02-21 20:11:15 +0000 |
commit | 5d4991da5c47c3deaa2cd444002ad62cb74c3586 (patch) | |
tree | 6b40a79212e82991575e9b1a51703b275853aa67 /gcc | |
parent | ea49d40b3e4fe753cc9180bd9bb814b2a8262721 (diff) | |
download | gcc-5d4991da5c47c3deaa2cd444002ad62cb74c3586.zip gcc-5d4991da5c47c3deaa2cd444002ad62cb74c3586.tar.gz gcc-5d4991da5c47c3deaa2cd444002ad62cb74c3586.tar.bz2 |
* ipa-cp.c (determine_versionability): Fix comment typos.
From-SVN: r257878
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ipa-cp.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bc276e..2905e18 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2018-02-21 Jan Hubicka <hubicka@ucw.cz> + * ipa-cp.c (determine_versionability): Fix comment typos. + +2018-02-21 Jan Hubicka <hubicka@ucw.cz> + PR c/84229 * ipa-cp.c (determine_versionability): Do not version functions caling va_arg_pack. diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 182dc49..ee41a8d 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -631,9 +631,9 @@ determine_versionability (struct cgraph_node *node, } /* Functions calling BUILT_IN_VA_ARG_PACK and BUILT_IN_VA_ARG_PACK_LEN - works only when inlined. Cloning them may still lead to better code - becuase ipa-cp will not give up on cloning further. If the function is - external this however leads to wrong code becuase we may end up producing + work only when inlined. Cloning them may still lead to better code + because ipa-cp will not give up on cloning further. If the function is + external this however leads to wrong code because we may end up producing offline copy of the function. */ if (DECL_EXTERNAL (node->decl)) for (cgraph_edge *edge = node->callees; !reason && edge; |