Commit 5d4991da by Jan Hubicka Committed by Jan Hubicka

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

From-SVN: r257878
parent ea49d40b
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment