summaryrefslogtreecommitdiff
path: root/gcc/cif-code.def
diff options
context:
space:
mode:
authorZhouyi Zhou <yizhouzhou@ict.ac.cn>2013-04-10 09:22:04 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-04-10 09:22:04 +0000
commit6957a6f6f90ef5be56e154ee7ce8656ec0248e6f (patch)
tree72a7d68e142e1cc9ac621e45bb6e3ba5fc93b548 /gcc/cif-code.def
parent34ab4a5b70675e801d0cd5a68b50e770d1fe864e (diff)
downloadgcc-6957a6f6f90ef5be56e154ee7ce8656ec0248e6f.tar.gz
cif-code.def (OVERWRITABLE): Correct the comment for overwritable function.
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 From-SVN: r197667
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. */