* ipa-cp.c (determine_versionability): Fix comment typos.

From-SVN: r257878
This commit is contained in:
Jan Hubicka 2018-02-21 21:11:15 +01:00 committed by Jan Hubicka
parent ea49d40b3e
commit 5d4991da5c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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;