This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix for PRs 28023 and 28800
- From: Ryan Mansfield <RMansfield at qnx dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 2 Oct 2006 15:40:15 -0400
- Subject: Fix for PRs 28023 and 28800
I was looking through bugzilla for beginner projects and I came across the
following low hanging fruit.
2006-10-02 Ryan Mansfield <rmansfield@qnx.com>
PR other/28023
* doc/invoke.texi: Fix default of max-inline-recursive-depth.
--- invoke.texi (revision 117370)
+++ invoke.texi (working copy)
@@ -6019,7 +6019,7 @@
taken into account. For function not declared inline, recursive inlining
happens only when @option{-finline-functions} (included in @option{-O3}) is
enabled and @option{--param max-inline-recursive-depth-auto} is used. The
-default value is 450.
+default value is 8.
@item min-inline-recursive-probability
Recursive inlining is profitable only for function having deep recursion
2006-10-02 Ryan Mansfield <rmansfield@qnx.com>
PR c/28800
* c-parser.c: Fix empty translation unit warning.
--- c-parser.c (revision 117370)
+++ c-parser.c (working copy)
@@ -1084,7 +1084,7 @@
if (c_parser_next_token_is (parser, CPP_EOF))
{
if (pedantic)
- pedwarn ("ISO C forbids an empty source file");
+ pedwarn ("ISO C forbids an empty translation unit");
}
else
{
Regards,
Ryan Mansfield