diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2004-06-24 12:09:44 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2004-06-24 12:09:44 +0000 |
commit | bb2d400f6145f628e9973d529ca4dc017bb5b978 (patch) | |
tree | e77324035e5ec7669c9962c640334d0abdb0e288 /gcc/c-decl.c | |
parent | 79a4758dd5744731bad51286b13943b77abed1c3 (diff) | |
download | gcc-bb2d400f6145f628e9973d529ca4dc017bb5b978.zip gcc-bb2d400f6145f628e9973d529ca4dc017bb5b978.tar.gz gcc-bb2d400f6145f628e9973d529ca4dc017bb5b978.tar.bz2 |
c-decl.c (finish_function): Do not check for DEFAULT_MAIN_RETURN.
* c-decl.c (finish_function): Do not check for DEFAULT_MAIN_RETURN.
* system.h (DEFAULT_MAIN_RETURN): Poison.
* doc/tm.texi (DEFAULT_MAIN_RETURN): Remove documentation.
From-SVN: r83592
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 1f0db19..f317020 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6240,13 +6240,8 @@ finish_function (void) } else { -#ifdef DEFAULT_MAIN_RETURN - /* Make it so that `main' always returns success by default. */ - DEFAULT_MAIN_RETURN; -#else if (flag_isoc99) c_finish_return (integer_zero_node); -#endif } } |