summaryrefslogtreecommitdiff
path: root/gcc/cif-code.def
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-10 09:22:04 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-10 09:22:04 +0000
commit479b4ace31f14e7625b8eaf60abd09f50ac49247 (patch)
tree72a7d68e142e1cc9ac621e45bb6e3ba5fc93b548 /gcc/cif-code.def
parent241f5399090ba2a6508e10f7c721964d5b8f922e (diff)
downloadgcc-479b4ace31f14e7625b8eaf60abd09f50ac49247.tar.gz
2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
* cif-code.def (OVERWRITABLE): Correct the comment for overwritable function. * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the inline fail caused by overwritable functions. * gcc.dg/tree-ssa/inline-11.c: New test git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cif-code.def')
-rw-r--r--gcc/cif-code.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cif-code.def b/gcc/cif-code.def
index 55e0ef45b3b..d1c49417325 100644
--- a/gcc/cif-code.def
+++ b/gcc/cif-code.def
@@ -48,7 +48,7 @@ DEFCIFCODE(REDEFINED_EXTERN_INLINE,
/* Function is not inlinable. */
DEFCIFCODE(FUNCTION_NOT_INLINABLE, N_("function not inlinable"))
-/* Function is not overwritable. */
+/* Function is overwritable. */
DEFCIFCODE(OVERWRITABLE, N_("function body can be overwritten at link time"))
/* Function is not an inlining candidate. */