gcc/gcc ChangeLog Makefile.in calls.c tree.h c ...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Mon Jul 23 02:16:00 GMT 2001
CVSROOT: /cvs/gcc
Module name: gcc
Branch: ast-optimizer-branch
Changes by: nathan@gcc.gnu.org 2001-07-23 02:16:00
Modified files:
gcc : ChangeLog Makefile.in calls.c tree.h
gcc/cp : ChangeLog Make-lang.in cp-tree.h decl.c
optimize.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.old-deja/g++.warn: inline1.C
Log message:
* Makefile.in (calls.o): Depend on intl.h.
* calls.c: Include intl.h.
(ECF_NEED_STACK_FRAME, ECF_NEED_ARG_FRAME): New flags.
(special_function_p): Detect when we need a stack or arg
frame. Don't optimize on length.
(setjmp_call_p): Remove.
(uninlinable_call_p): New function.
* tree.h (setjmp_call_p): Remove.
(uninlinable_call_p): Declare.
cp:
* Make-lang.in (cp/optimize.o): Depend on intl.h, flags.h.
* cp-tree.h (calls_setjmp_p): Remove.
* decl.c (finish_function): Don't call calls_setjmp_p.
* optimize.c: Include intl.h, flags.h.
(FUNCTION_ATTRIBUTE_INLINABLE_P): Provide default
implementation.
(optimize_function_real): Don't mark uninlinable, just cos it
is varadic. Call uninlinable_function_p.
(calls_setjmp_r): Remove.
(calls_setjmp_p): Remove.
(uninlinable_function_p): New function.
(uninlinable_expr_p): New function.
testsuite:
* g++.old-deja/g++.warn/inline1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.10739.2.1&r2=1.10739.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.701&r2=1.701.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/calls.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.188&r2=1.188.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.257&r2=1.257.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.2445.2.1&r2=1.2445.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/Make-lang.in.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.88&r2=1.88.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.629.2.1&r2=1.629.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.804.2.1&r2=1.804.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/optimize.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.75.2.1&r2=1.75.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1284&r2=1.1284.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.warn/inline1.C.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=NONE&r2=1.1.2.1
More information about the Gcc-cvs
mailing list