On 09/16/2017 09:35 AM, Bernhard Reutner-Fischer wrote:
+ * for result-adjusting thinks, the FIXED_OFFSET adjustment is done after
s/think/thunk/
TIA
Good catch, thank you! I just pushed the following obvious change, as
r252904:
Fix a typo in a comment (cgraph.c:cgraph_thunk_info)
gcc/
* cgraph.h (cgraph_thunk_info): Fix a typo in a comment.
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index c668b37ef82..7daca1e40cc 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -662,7 +662,7 @@ struct GTY(()) cgraph_thunk_info {
* for this-adjusting thunks, after the FIXED_OFFSET based
adjustment is
done, add to the result the offset found in the vtable at:
vptr + VIRTUAL_VALUE
- * for result-adjusting thinks, the FIXED_OFFSET adjustment is done
after
+ * for result-adjusting thunks, the FIXED_OFFSET adjustment is done
after
the virtual one. */
bool virtual_offset_p;
--
Pierre-Marie de Rodat