diff options
author | Jan Hubicka <jh@suse.cz> | 2004-01-13 02:35:27 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-01-13 01:35:27 +0000 |
commit | 2d3270129fac84d3d3420a1da10330404ccadc2a (patch) | |
tree | 45863b0867b1a5dca9004db917fa2c41f48f77a5 /gcc/toplev.h | |
parent | 04cc79bb8928ff2c97bef9df08dc252eecdc9845 (diff) | |
download | gcc-2d3270129fac84d3d3420a1da10330404ccadc2a.tar.gz |
cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there is always_inline callee.
* cgraphunit.c (cgraph_optimize_function): Always do
optimize_inline_calls when there is always_inline callee.
(cgraph_decide_inlining): Fix formating.
* tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
functions.
(expand_call_inline): Likewise.
* toplev.h (sorry): Fix prototype.
* gcc.dg/always_inline.c: New test.
* gcc.dg/debug/20031231-1.c: Fix.
From-SVN: r75781
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index 31611c3a220..3c1a1eb3021 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -60,7 +60,7 @@ extern void error (const char *, ...); extern void fatal_error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2) ATTRIBUTE_NORETURN; extern void pedwarn (const char *, ...); -extern void sorry (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2); +extern void sorry (const char *, ...); extern void inform (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2); extern void rest_of_decl_compilation (tree, const char *, int, int); |