Go to file
Steven Bosscher b3c3af2f63 tree.h (DID_INLINE_FUNC): Remove macro.
2003-08-05  Steven Bosscher  <steven@gcc.gnu.org>

	* tree.h (DID_INLINE_FUNC): Remove macro.
	(DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
	add tree check for FUNCTION_DECL.
	(DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
	(struct tree_decl): Rename inlined_function_flag to
	declared_inline_flag.
	* c-common.h (c_lang_decl): Remove.
	(DECL_ESTIMATED_INSNS): Remove.
	* c-tree.h (struct lang_decl): Don't include c_lang_decl.
	(DECL_DECLARED_INLINE_P): Remove.
	* c-decl.c (grokdeclarator): Update comment.  With -finline-functions,
	do not reset DECL_DECLARED_INLINE_P.  Don't use DID_INLINE_FUNC.
	(finish_function): Make uninlinable a bool.  Fixup call to
	tree_inlinable_function_p() and fix some code style issues.
	* cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
	* cgraph.c (dump_cgraph): Likewise.
	* cgraphunit.c (cgraph_decide_inlining): Likewise
	(cgraph_finalize_compilation_unit): Likewise.
	Also update call to tree_inlinable_function_p().
	(cgraph_default_inline_p): Don't use DID_INLINE_FUNC.  Instead
	look at DECL_DECLARED_INLINE and reverse logic.
	* print-tree.c (print_node): Likewise.
	* toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
	* tree-inline.h (tree_inlinable_function_p): Make a bool.  Update
	prototype.
	* tree-inline.c (inlinable_function_p): Split up in this function to
	check for basic inlining inhibiting conditions, and new
	limits_allow_inlining() function.  Warn if inlining is impossible
	because the inline candidate calls alloca or uses sjlj exceptions.
	(limits_allow_inlining): this new function to check if the inlining
	limits are satisfied.  Throttle from currfn_max_inline_insns, not from
	MAX_INLINE_INSNS_SINGLE.  The latter only makes sense if
	MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
	Update prototypes.
	(tree_inlinable_function_p): Make a bool.  Update call to
	inlinable_function_p
	(expand_call_inline): Use limits_allow_inlining() when not in
	unit-at-a-time mode to decide on inlining.  Don't use DID_INLINE_FUNC,
	instead see if the function was declared `inline'.

cp/
	* cp-tree.h (struct lang_decl): Don't include c_lang_decl.
	(DECL_DECLARED_INLINE_P): Remove.
	* decl2.c (import_export_decl): Only look at DECL_DECLARED_INLINE_P
	if decl is a FUNCTION_DECL.  This never made sense, but now it is
	required to avoid a tree check failure.
	* decl.c (grokfndecl): Don't touch DID_INLINE_FUNC.
	* optimize.c (maybe_clone_body): Likewise.

java/
	* java-tree.h (DECL_ESTIMATED_INSNS): Remove.

From-SVN: r70174
2003-08-05 14:11:53 +00:00
boehm-gc gc.h (GC_CreateThread): Declare with WINAPI attribute. 2003-07-31 04:52:36 +00:00
config
contrib * texi2pod.pl: Remove extra line. 2003-08-01 03:10:56 +00:00
fastjar * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version. 2003-07-30 01:37:07 +00:00
gcc tree.h (DID_INLINE_FUNC): Remove macro. 2003-08-05 14:11:53 +00:00
include
INSTALL
intl
libf2c
libffi ffi.c (ffi_prep_args64): Modify for changed gcc structure passing. 2003-08-02 00:49:01 +09:30
libiberty
libjava aclocal.m4: check for libart-config binary under the name libart2-config as well. 2003-08-05 06:45:20 +00:00
libobjc
libstdc++-v3 Convert to new autotools. 2003-08-05 02:00:18 +00:00
maintainer-scripts crontab: Update invocation of gcc_release according to the previous changes there. 2003-07-29 10:32:50 +00:00
zlib re PR bootstrap/7126 (zlib version is wrong in zlib/configure.in) 2003-07-12 02:04:33 +00:00
.cvsignore
ABOUT-NLS
ChangeLog Use the proper authors of the README.SCO file in the ChangeLog entry. 2003-08-04 10:48:01 +00:00
config-ml.in config-ml.in: Use ac_configure_args directly instead of ml_arguments. 2003-07-29 19:17:46 +00:00
config.guess
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath
config.sub
configure configure.in (noconfigdirs): Do not add GDB when m32r-*-*. 2003-08-01 21:34:32 +00:00
configure.in configure.in (noconfigdirs): Do not add GDB when m32r-*-*. 2003-08-01 21:34:32 +00:00
COPYING
COPYING.LIB
install-sh install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS * MAINTAINERS (fortran 95): Add myself, Steven Bosscher and Toon Moene. 2003-07-26 16:53:54 +00:00
Makefile.def
Makefile.in Makefile.tpl (check, check-c++): Express dependencies using dependencies rather than commands. 2003-08-02 00:48:19 +00:00
Makefile.tpl Makefile.tpl (check, check-c++): Express dependencies using dependencies rather than commands. 2003-08-02 00:48:19 +00:00
missing install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
mkdep
mkinstalldirs install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
move-if-change
README
README.SCO * README.SCO: New file. 2003-08-03 14:51:42 +00:00
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.