]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agolanghooks.c: Include rtl.h, insn-config.h and integrate.h.
Janis Johnson [Wed, 10 Oct 2001 07:02:22 +0000 (07:02 +0000)]
langhooks.c: Include rtl.h, insn-config.h and integrate.h.

* langhooks.c: Include rtl.h, insn-config.h and integrate.h.
* Makefile.in (langhooks.o): Add dependencies.

From-SVN: r46142

23 years agors6000.c (rs6000_emit_load_toc_table): Don't strdup the toc label.
John Wehle [Wed, 10 Oct 2001 04:43:56 +0000 (04:43 +0000)]
rs6000.c (rs6000_emit_load_toc_table): Don't strdup the toc label.

* rs6000.c (rs6000_emit_load_toc_table): Don't
strdup the toc label.
(create_TOC_reference): Likewise.

From-SVN: r46141

23 years agoconfig.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent version default.
Danny Smith [Wed, 10 Oct 2001 00:27:21 +0000 (00:27 +0000)]
config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent version default.

* config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
version default.

From-SVN: r46139

23 years agoi386.c (ix86_attribute_table): Correct min_len, max_len fields for dllimport, dllexpo...
Danny Smith [Wed, 10 Oct 2001 00:20:11 +0000 (00:20 +0000)]
i386.c (ix86_attribute_table): Correct min_len, max_len fields for dllimport, dllexport and shared.

* config/i386/i386.c (ix86_attribute_table): Correct
min_len, max_len fields for dllimport, dllexport and shared.

From-SVN: r46137

23 years agobcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
Joseph Myers [Tue, 9 Oct 2001 23:33:57 +0000 (00:33 +0100)]
bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".

* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
* strtod.c: Use "ISO C" instead of "ANSI C".
* functions.texi: Regenerate.

From-SVN: r46136

23 years agoc-tree.texi, [...]: Consistently use "nonzero" instead of "non-zero".
Joseph Myers [Tue, 9 Oct 2001 23:11:55 +0000 (00:11 +0100)]
c-tree.texi, [...]: Consistently use "nonzero" instead of "non-zero".

* doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
Consistently use "nonzero" instead of "non-zero".

From-SVN: r46134

23 years ago[multiple changes]
Alexandre Petit-Bianco [Tue, 9 Oct 2001 22:55:35 +0000 (15:55 -0700)]
[multiple changes]

2001-10-09  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_cast): Call patch_string on the first operand of
the incoming node, update it if necessary. Fixes java/4510.

2001-10-05  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (register_incomplete_type): Set JDEP_SUPER to be given
a NULL enclosing context if appropriate. Fixes java/4466.

2001-09-17  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_method_invocation): Inner class creation context
check not enforced within constructors. Fixes PR java/1873.

( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00397.html )

From-SVN: r46133

23 years agostrtod.c (_strtod_r): Logic to check for missing digits after exponent had 'else...
Per Bothner [Tue, 9 Oct 2001 22:54:26 +0000 (15:54 -0700)]
strtod.c (_strtod_r): Logic to check for missing digits after exponent had 'else' attached to wrong 'if'.

* strtod.c (_strtod_r):  Logic to check for missing digits
after exponent had 'else' attached to wrong 'if'.

From-SVN: r46132

23 years agoacconfig.h: Fix comment formatting.
Kazu Hirata [Tue, 9 Oct 2001 22:40:12 +0000 (22:40 +0000)]
acconfig.h: Fix comment formatting.

* acconfig.h: Fix comment formatting.
* c-dump.h: Likewise.
* c-tree.h: Likewise.
* conditions.h: Likewise.
* expr.h: Likewise.
* function.h: Likewise.
* gthr.h: Likewise.
* hwint.h: Likewise.
* integrate.h: Likewise.
* intl.h: Likewise.
* loop.h: Likewise.
* optabs.h: Likewise.

From-SVN: r46131

23 years agohowto.html: Tweak markup and value type.
Phil Edwards [Tue, 9 Oct 2001 22:23:52 +0000 (22:23 +0000)]
howto.html: Tweak markup and value type.

2001-10-09  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/howto.html:  Tweak markup and value type.
* docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
nonzero arguments, add new note on threading.
* docs/html/faq/index.html:  Update.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46130

23 years ago* java/net/SocketImpl.java: Merge with Classpath
Mark Wielaard [Tue, 9 Oct 2001 21:44:54 +0000 (21:44 +0000)]
* java/net/SocketImpl.java: Merge with Classpath

From-SVN: r46129

23 years agoconfigopts.html: More HTML->XHTML and lowercasing of tags.
Phil Edwards [Tue, 9 Oct 2001 20:18:14 +0000 (20:18 +0000)]
configopts.html: More HTML->XHTML and lowercasing of tags.

2001-10-09  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
* docs/html/documentation.html:  Likewise.
* docs/html/explanations.html:  Likewise.
* docs/html/install.html:  Likewise.
* docs/html/17_intro/howto.html:  Likewise.
* docs/html/17_intro/license.html:  Likewise.  Tighten up language.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/ext/sgiexts.html:  Likewise.
* docs/html/faq/index.html:  Likewise.  Not so many absolute links.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46128

23 years ago* java/net/DatagramSocketImpl.java: Merge with Classpath
Mark Wielaard [Tue, 9 Oct 2001 17:40:13 +0000 (17:40 +0000)]
* java/net/DatagramSocketImpl.java: Merge with Classpath

From-SVN: r46127

23 years agofix dates
Jason Merrill [Tue, 9 Oct 2001 15:55:12 +0000 (11:55 -0400)]
fix dates

From-SVN: r46126

23 years agoreorganize
Jason Merrill [Tue, 9 Oct 2001 15:44:25 +0000 (11:44 -0400)]
reorganize

From-SVN: r46125

23 years agospew.c (end_input): No longer static.
Jason Merrill [Tue, 9 Oct 2001 15:44:17 +0000 (11:44 -0400)]
spew.c (end_input): No longer static.

        * spew.c (end_input): No longer static.
        * cp-tree.h: Declare it.
        * parse.y (datadef): Add "error END_OF_SAVED_INPUT" expansion.

From-SVN: r46124

23 years agocall.c (standard_conversion): Add bad conversion between integers and pointers.
Jason Merrill [Tue, 9 Oct 2001 15:42:44 +0000 (11:42 -0400)]
call.c (standard_conversion): Add bad conversion between integers and pointers.

        * call.c (standard_conversion): Add bad conversion between
        integers and pointers.
        (convert_like_real): Don't use convert_for_initialization for bad
        conversions; complain here and use cp_convert.
        (build_over_call): Don't handle bad conversions specially.
        (perform_implicit_conversion): Allow bad conversions.
        (can_convert_arg_bad): New fn.
        * cp-tree.h: Declare it.
        * typeck.c (convert_for_assignment): Use it.
        (ptr_reasonably_similar): Any target type is similar to void.

From-SVN: r46123

23 years agoc-common.h: Fix comment formatting.
Kazu Hirata [Tue, 9 Oct 2001 14:03:13 +0000 (14:03 +0000)]
c-common.h: Fix comment formatting.

* c-common.h: Fix comment formatting.
* c-dump.c: Likewise.
* cfg.c: Likewise.
* diagnostic.h: Likewise.
* except.c: Likewise.
* gcc.h: Likewise.
* gcov-io.h: Likewise.
* genattrtab.c: Likewise.
* output.h: Likewise.
* predict.h: Likewise.
* reload1.c: Likewise.
* reload.h: Likewise.
* resource.h: Likewise.
* scan.h: Likewise.
* system.h: Likewise.
* tree.h: Likewise.
* tree-inline.c: Likewise.
* tsystem.h: Likewise.
* varasm.c: Likewise.
* xcoffout.h: Likewise.

From-SVN: r46122

23 years ago* doc/gcc.texi: Document preference for "nonzero" over "non-zero".
Joseph Myers [Tue, 9 Oct 2001 11:44:31 +0000 (12:44 +0100)]
* doc/gcc.texi: Document preference for "nonzero" over "non-zero".

From-SVN: r46119

23 years agofreebsd.h, [...]: Update FSF address.
Joseph Myers [Tue, 9 Oct 2001 10:16:27 +0000 (11:16 +0100)]
freebsd.h, [...]: Update FSF address.

* config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
config/i386/i386elf.h, config/i386/netbsd-elf.h,
config/i386/netware.h, config/mcore/gfloat.h,
config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
config/netware.h, gccbug.in: Update FSF address.

ada:
* 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
FSF address.

testsuite:
* consistency.vlad/vlad.exp, g++.old-deja/g++.mike/p784.C,
g++.old-deja/old-deja.exp, g77.f-torture/compile/compile.exp,
g77.f-torture/execute/execute.exp,
g77.f-torture/noncompile/noncompile.exp,
gcc.c-torture/compile/compile.exp,
gcc.c-torture/execute/execute.exp,
gcc.c-torture/execute/ieee/ieee.exp,
gcc.c-torture/execute/memcheck/memcheck.exp,
gcc.c-torture/unsorted/unsorted.exp, gcc.misc-tests/linkage.exp,
objc/execute/execute.exp: Update FSF address.

From-SVN: r46118

23 years agoDaily bump.
GCC Administrator [Tue, 9 Oct 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46116

23 years agocmdlne-C.c: Update.
Neil Booth [Tue, 9 Oct 2001 06:16:25 +0000 (06:16 +0000)]
cmdlne-C.c: Update.

* gcc.dg/cpp/cmdlne-C.c: Update.
* gcc.dg/cpp/cmdlne-C2.c: New.

From-SVN: r46115

23 years agoc-common.c: Fix comment typos.
Kazu Hirata [Tue, 9 Oct 2001 06:03:16 +0000 (06:03 +0000)]
c-common.c: Fix comment typos.

* c-common.c: Fix comment typos.
* cfgrtl.c: Likewise.
* collect2.c: Likewise.
* cpplex.c: Likewise.
* doloop.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.
* global.c: Likewise.
* ifcvt.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
* protoize.c: Likewise.
* regclass.c: Likewise.
* reorg.c: Likewise.
* rtl.h: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.
* doc/cpp.texi: Likewise.
* doc/c-tree.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/objc.texi: Likewise.
* doc/tm.texi: Likewise.

From-SVN: r46114

23 years agoparse.y (find_as_inner_class): Don't disregard the enclosing scope when name qualifie...
Bryce McKinlay [Tue, 9 Oct 2001 05:40:35 +0000 (05:40 +0000)]
parse.y (find_as_inner_class): Don't disregard the enclosing scope when name qualifier matches a package name.

        * parse.y (find_as_inner_class): Don't disregard the enclosing scope
        when name qualifier matches a package name.

From-SVN: r46113

23 years agoImplement Darwin PowerPC ABI.
John Hornkvist [Tue, 9 Oct 2001 05:32:16 +0000 (05:32 +0000)]
Implement Darwin PowerPC ABI.

2001-10-09  John Hornkvist  <john@toastedmarshmallow.com>

        Implement Darwin PowerPC ABI.
        * configure.in: Handle powerpc-*-darwin*.
        * Makefile.am: Set source files for POWERPC_DARWIN.
        * configure: Rebuilt.
        * Makefile.in: Rebuilt.
        * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
        POWERPC_DARWIN.
        * src/powerpc/darwin.S: New file.
        * src/powerpc/ffi_darwin.c: New file.

From-SVN: r46112

23 years ago* varasm.c (set_named_section_flags): Initialize "declared".
Richard Henderson [Tue, 9 Oct 2001 04:45:18 +0000 (21:45 -0700)]
* varasm.c (set_named_section_flags): Initialize "declared".

From-SVN: r46111

23 years agoMakefile.in (treeprs.ads, [...]): Automatically build utilities when files need to...
Geert Bosch [Mon, 8 Oct 2001 23:46:22 +0000 (01:46 +0200)]
Makefile.in (treeprs.ads, [...]): Automatically build utilities when files need to be regenerated.

2001-10-08  Geert Bosch  <bosch@gnat.com>

* Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
Automatically build utilities when files need to be regenerated.

From-SVN: r46110

23 years ago* xsnames.adb: New utility for updating snames.ads and snames.adb
Geert Bosch [Mon, 8 Oct 2001 23:39:37 +0000 (01:39 +0200)]
* xsnames.adb: New utility for updating snames.ads and snames.adb

From-SVN: r46109

23 years agovarasm.c (struct in_named_entry): Add declared.
Robert Lipe [Mon, 8 Oct 2001 22:41:55 +0000 (22:41 +0000)]
varasm.c (struct in_named_entry): Add declared.

* varasm.c  (struct in_named_entry): Add declared.
(named_section_first_declaration): New function.
(default_elf_asm_named_section): Use it.
* output.h (named_section_first_declaration): New.

From-SVN: r46108

23 years agoi386.md (movsi_xor): Export.
Richard Henderson [Mon, 8 Oct 2001 22:38:45 +0000 (15:38 -0700)]
i386.md (movsi_xor): Export.

        * i386.md (movsi_xor): Export.
        (setcc peep2): Use it when available; add an alternative to
        match zero_extendhisi2_and.

From-SVN: r46107

23 years agoromp-protos.h (romp_initialize_trampoline): New function.
Kaveh R. Ghazi [Mon, 8 Oct 2001 21:55:05 +0000 (21:55 +0000)]
romp-protos.h (romp_initialize_trampoline): New function.

* romp-protos.h (romp_initialize_trampoline): New function.
* romp.c (romp_initialize_trampoline): Likewise.
* romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
romp_initialize_trampoline.

From-SVN: r46104

23 years ago3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
Kaveh R. Ghazi [Mon, 8 Oct 2001 21:23:52 +0000 (21:23 +0000)]
3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.

* m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
* m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.

From-SVN: r46100

23 years agounroll.c (loop_iterations): Extend check for multiple back edges.
Franz Sirl [Mon, 8 Oct 2001 21:20:43 +0000 (21:20 +0000)]
unroll.c (loop_iterations): Extend check for multiple back edges.

2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* unroll.c (loop_iterations): Extend check for multiple back edges.

From-SVN: r46099

23 years agoURLDecoder.java: Remerge with Classpath
Mark Wielaard [Mon, 8 Oct 2001 21:03:34 +0000 (21:03 +0000)]
URLDecoder.java: Remerge with Classpath

* java/net/URLDecoder.java: Remerge with Classpath
* java/net/URLEncoder.java: Merge with Classpath

From-SVN: r46098

23 years ago20011008-3.c: New.
Franz Sirl [Mon, 8 Oct 2001 21:01:03 +0000 (21:01 +0000)]
20011008-3.c: New.

2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.c-torture/execute/20011008-3.c: New.

From-SVN: r46097

23 years agolanghooks.h: New file.
Alexandre Oliva [Mon, 8 Oct 2001 20:54:07 +0000 (20:54 +0000)]
langhooks.h: New file.

* langhooks.h: New file.
* Makefile.in (OBJS): Added langhooks.o.
(c-lang.o): Depend on langhooks.h.
(c-common.o): Don't depend on tree-inline.h.
(tree-inline.o): Depend on toplev.h.
(langhooks.o): New rule.
* c-common.c: Don't include tree-inline.h.
(c_mark_lang_decl): Mark argument c as unused.
(c_common_lang_init): Don't initialize hooks here.
* c-lang.c: Include langhooks.h, then override some macros.
(lang_hooks): Initialize with macros in langhooks.h.
(c_init): Don't initialize hooks here.
* toplev.c (struct lang_hooks_for_tree_inlining): New struct.
(struct lang_hooks): Add tree_inlining.  Refer to langhooks.h.
* tree-inline.c: Include toplev.h.  Don't define hook variables.
* tree-inline.h: Don't define hook types nor declare hook
variables.  Move macros to...
* langhooks.c: ... new file, as functions.  Adjust all callers.

From-SVN: r46096

23 years agoMake-lang.in (CXX_OBJS): Added cp-lang.o.
Alexandre Oliva [Mon, 8 Oct 2001 20:53:41 +0000 (20:53 +0000)]
Make-lang.in (CXX_OBJS): Added cp-lang.o.

* Make-lang.in (CXX_OBJS): Added cp-lang.o.
(cp/cp-lang.o): New rule.
* cp-tree.h: Declare hooks.
* tree.c: Make hooks non-static.
(init_tree): Don't initialize hooks here.
* lex.c: Likewise.  Move definition of lang_hooks to...
* cp-lang.c: ... new file.

From-SVN: r46095

23 years ago* POTFILES.in: Add newly-added files.
Alexandre Oliva [Mon, 8 Oct 2001 20:53:26 +0000 (20:53 +0000)]
* POTFILES.in: Add newly-added files.

From-SVN: r46094

23 years agore PR libgcj/4481 (java.io.File.getParent not working properly)
Tom Tromey [Mon, 8 Oct 2001 20:42:13 +0000 (20:42 +0000)]
re PR libgcj/4481 (java.io.File.getParent not working properly)

Fix for PR libgcj/4481:
* java/io/File.java (getParent): Handle case where path is "/".
(normalizePath): Use correct string for UNC leader.

From-SVN: r46093

23 years agore PR java/4489 (bytecode generation endless loop with certain switch() exprs)
Tom Tromey [Mon, 8 Oct 2001 20:35:03 +0000 (20:35 +0000)]
re PR java/4489 (bytecode generation endless loop with certain switch() exprs)

Fix for PR java/4489:
* jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Always
force a new label when computing `body_block'.

From-SVN: r46092

23 years agosibcall.c (optimize_sibling_and_tail_recursive_calls): Call purge_mem_unchanging_flag...
Jeffrey A Law [Mon, 8 Oct 2001 20:24:55 +0000 (20:24 +0000)]
sibcall.c (optimize_sibling_and_tail_recursive_calls): Call purge_mem_unchanging_flag on all instructions...

* sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
purge_mem_unchanging_flag on all instructions, not just on those
before NOTE_INSN_FUNCTION_BEG.

From-SVN: r46091

23 years agocppmacro.c (_cpp_create_definition): Leave comments off.
Neil Booth [Mon, 8 Oct 2001 20:05:36 +0000 (20:05 +0000)]
cppmacro.c (_cpp_create_definition): Leave comments off.

* cppmacro.c (_cpp_create_definition): Leave comments off.

* doc/cpp.texi: Update.

From-SVN: r46089

23 years agoc-decl.c (grokfield): Make sure the only unnamed fields we're allowing are either...
DJ Delorie [Mon, 8 Oct 2001 19:44:53 +0000 (15:44 -0400)]
c-decl.c (grokfield): Make sure the only unnamed fields we're allowing are either structs or unions.

* c-decl.c (grokfield): Make sure the only unnamed fields
we're allowing are either structs or unions.
* doc/extend.texi: Add documentation for the unnamed field
extension.

From-SVN: r46088

23 years ago20011008-1.c: New.
DJ Delorie [Mon, 8 Oct 2001 19:42:40 +0000 (15:42 -0400)]
20011008-1.c: New.

* gcc.dg/20011008-1.c: New.
* gcc.dg/20011008-2.c: New.

From-SVN: r46087

23 years ago* java/io/BufferedInputStream.java: Merge with Classpath
Mark Wielaard [Mon, 8 Oct 2001 18:53:49 +0000 (18:53 +0000)]
* java/io/BufferedInputStream.java: Merge with Classpath

From-SVN: r46086

23 years agoaclocal.m4 (gcc_AC_PROG_GNAT): New.
Zack Weinberg [Mon, 8 Oct 2001 17:58:31 +0000 (17:58 +0000)]
aclocal.m4 (gcc_AC_PROG_GNAT): New.

top:
* aclocal.m4 (gcc_AC_PROG_GNAT): New.
* configure.in: Use it.
* configure: Regenerated.
* config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
ada:
* Make-lang.in (ADAFLAGS): Add -W -Wall.
(ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
(gnat1): Also depend on attribs.o.
(gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
* Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
(ADAC): Set to @ADAC@ in stage1, $(CC) later.
(ADAFLAGS): Add -W -Wall.
(ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
take out CFLAGS.

(.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
Use $(ADAC), not $(CC), as compilation command.

(gnattools): Depend directly on tools to build, don't use
recursive make.
(gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.

* einfo.h, sinfo.h: New files (autogenerated).

From-SVN: r46085

23 years agocppfiles.c (open_file): Don't mark zero-length files never-reread here.
Neil Booth [Mon, 8 Oct 2001 17:54:15 +0000 (17:54 +0000)]
cppfiles.c (open_file): Don't mark zero-length files never-reread here.

* cppfiles.c (open_file): Don't mark zero-length files
never-reread here.  Don't output diagnostics here either.
(stack_include_file): Mark them never-reread here.
(_cpp_read_file): Update.

From-SVN: r46084

23 years ago* config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
Richard Henderson [Mon, 8 Oct 2001 17:39:53 +0000 (10:39 -0700)]
* config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.

From-SVN: r46083

23 years agocomperr.adb (Abort_In_Progress): New.
Richard Henderson [Mon, 8 Oct 2001 17:09:23 +0000 (10:09 -0700)]
comperr.adb (Abort_In_Progress): New.

        * comperr.adb (Abort_In_Progress): New.
        (Compiler_Abort): Use it to prevent recursion.

From-SVN: r46082

23 years agoexpr.c (store_expr): When converting a CONST_INT for storage in a SUBREG...
Richard Henderson [Mon, 8 Oct 2001 16:54:45 +0000 (09:54 -0700)]
expr.c (store_expr): When converting a CONST_INT for storage in a SUBREG...

        * expr.c (store_expr): When converting a CONST_INT for storage
        in a SUBREG, convert it to both SUBREG modes before stripping
        the SUBREG.

From-SVN: r46081

23 years agovarasm.c (restore_varasm_status): New.
Richard Henderson [Mon, 8 Oct 2001 16:46:24 +0000 (09:46 -0700)]
varasm.c (restore_varasm_status): New.

        * varasm.c (restore_varasm_status): New.
        * function.h: Declare it.
        * function.c (pop_function_context_from): Call it.

From-SVN: r46080

23 years agoc-common.h (struct c_lang_decl): Add declared_inline.
Richard Henderson [Mon, 8 Oct 2001 16:37:06 +0000 (09:37 -0700)]
c-common.h (struct c_lang_decl): Add declared_inline.

        * c-common.h (struct c_lang_decl): Add declared_inline.
        * c-tree.h (DECL_DECLARED_INLINE_P): New.
        * c-lang.c (c_disregard_inline_limits): Use it.
        * c-decl.c (duplicate_decls): Likewise.
        (pushdecl, redeclaration_error_message): Likewise.
        (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
        (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
        Set DECL_INLINE if -finline-functions.
        (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.

        * cp-tree.h (struct lang_decl_flags): Remove declared_inline.
        (DECL_DECLARED_INLINE_P): Use the bit in struct c_lang_decl.

From-SVN: r46079

23 years agocrontab: Build weekly snapshots.
Joseph Myers [Mon, 8 Oct 2001 16:16:56 +0000 (17:16 +0100)]
crontab: Build weekly snapshots.

maintainer-scripts:
* crontab: Build weekly snapshots.

contrib:
* snapshot: Remove.

From-SVN: r46078

23 years agoatree.adb: Set Error_Posted in Error node, helps error recovery.
Robert Dewar [Mon, 8 Oct 2001 16:15:06 +0000 (16:15 +0000)]
atree.adb: Set Error_Posted in Error node, helps error recovery.

* atree.adb: Set Error_Posted in Error node, helps error recovery.

* par-endh.adb (Output_End_Expected): We should also not test
Error_Posted on the Error node, since now it is always set.

* cstand.adb (Create_Standard): Set Etype of Error to Any_Type
to help error recovery. Part of general work on 9407-004.

* par.adb: Add ??? for misuse of error

* sem_res.adb:
(Resolve): Defend against Error, fixes 9407-003.
(Resolve_Discrete_Subtype_Indication): Defend against Error.

* sinfo.ads (N_Error): Now has Etype field (which will be set
to Any_Type to help error recovery).

From-SVN: r46077

23 years agomisc.c (gnat_expand_expr, [...]): Consistently set MEM attributes from expression...
Richard Kenner [Mon, 8 Oct 2001 14:06:05 +0000 (14:06 +0000)]
misc.c (gnat_expand_expr, [...]): Consistently set MEM attributes from expression; fixes bootstrap failure on x86.

* misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
Consistently set MEM attributes from expression; fixes
bootstrap failure on x86.

From-SVN: r46076

23 years ago* 5oosinte.adb: Add 2001 to copyright notice.
Geert Bosch [Mon, 8 Oct 2001 13:42:41 +0000 (15:42 +0200)]
* 5oosinte.adb: Add 2001 to copyright notice.

From-SVN: r46075

23 years agoceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
Geert Bosch [Mon, 8 Oct 2001 13:24:19 +0000 (15:24 +0200)]
ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].

2001-10-08  Geert Bosch  (bosch@gnat.com)

* ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].

* csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].

From-SVN: r46074

23 years agogcc_release: Copy from 3.0 branch.
Joseph Myers [Mon, 8 Oct 2001 07:58:43 +0000 (08:58 +0100)]
gcc_release: Copy from 3.0 branch.

* gcc_release: Copy from 3.0 branch.  Add support for building the
weekly snapshots on gcc.gnu.org.

From-SVN: r46073

23 years agoDaily bump.
GCC Administrator [Mon, 8 Oct 2001 07:35:10 +0000 (07:35 +0000)]
Daily bump.

From-SVN: r46071

23 years agocppmacro.c (funlike_invocation_p): Move some logic to caller in enter_macro_context.
Neil Booth [Mon, 8 Oct 2001 06:15:14 +0000 (06:15 +0000)]
cppmacro.c (funlike_invocation_p): Move some logic to caller in enter_macro_context.

* cppmacro.c (funlike_invocation_p): Move some logic to caller
in enter_macro_context.  Create a padding token in its own context
if necessary when the search for '(' fails.
(enter_macro_context): Update.

* gcc.dg/cpp/spacing1.c: Update test.

From-SVN: r46070

23 years agoalloca.c, [...]: Improve manual formatting.
Joseph Myers [Sun, 7 Oct 2001 21:53:31 +0000 (22:53 +0100)]
alloca.c, [...]: Improve manual formatting.

* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
spelling.  Give names to function arguments in documentation.  Use
(void) prototypes in documentation.
* functions.texi: Regenerate.

From-SVN: r46068

23 years agoacinclude.m4: Fix spelling error of "separate" as "seperate".
Joseph Myers [Sun, 7 Oct 2001 18:02:46 +0000 (19:02 +0100)]
acinclude.m4: Fix spelling error of "separate" as "seperate".

config:
* acinclude.m4: Fix spelling error of "separate" as "seperate".

gcc:
* ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
genmultilib, toplev.c: Fix spelling errors of "separate" as
"seperate", and corresponding spelling errors of related words.

gcc/ada:
* 5oosinte.adb: Fix spelling error of "separate" as "seperate".

gcc/testsuite:
* gcc.c-torture/unsorted/unsorted.exp, lib/file-format.exp: Fix
spelling errors of "separate" as "seperate".

libffi:
* src/x86/ffi.c: Fix spelling error of "separate" as "seperate".

libjava:
* defineclass.cc, java/awt/image/ColorModel.java,
java/awt/image/SampleModel.java, java/lang/Package.java,
java/security/cert/X509Extension.java: Fix spelling errors of
"separate" as "seperate", and corresponding spelling errors of
related words.

libstdc++-v3:
* docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
spelling errors of "separate" as "seperate", and corresponding
spelling errors of related words.
* docs/html/faq/index.txt: Regenerate.

From-SVN: r46063

23 years agobuiltins.c (expand_builtin_setjmp_receiver): Const-ify.
Kaveh R. Ghazi [Sun, 7 Oct 2001 16:51:11 +0000 (16:51 +0000)]
builtins.c (expand_builtin_setjmp_receiver): Const-ify.

* builtins.c (expand_builtin_setjmp_receiver): Const-ify.
* c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
Likewise.
* c-dump.c (dump_option_value_info): Likewise.
* c-format.c (format_length_info, format_char_info,
format_flag_spec, format_flag_pair, format_kind_info): Likewise.
* collect2.c (names): Likewise.
* cppdefault.h (default_include): Likewise.
* cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
* flow.c (life_analysis): Likewise.
* gcc.c (dir_separator_str, modify_target, option_map,
target_option_translations, spec_list_1, extra_specs_1,
init_spec): Likewise.
* gcov.c (gcov_version_string): Likewise.
* genattr.c (write_units): Likewise.
* genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
* gengenrtl.c (rtx_definition, defs): Likewise.
* genrecog.c (pred_table): Likewise.
* global.c (global_alloc): Likewise.
* lcm.c (optimize_mode_switching): Likewise.
* local-alloc.c (find_free_reg): Likewise.
* params.h (param_info): Likewise.
* predict.c (predictor_info): Likewise.
* protoize.c (unexpansion_struct): Likewise.
* real.c (bmask): Likewise.
* recog.h (insn_operand_data, insn_data): Likewise.
* regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
* stmt.c (expand_nl_goto_receiver): Likewise.
* toplev.c (da, debug_args, lang_opt, documented_lang_options,
target_switches, target_options): Likewise.
* tradcif.y (token, tokentab2, yylex): Likewise.
* tree.h (attribute_spec): Likewise.

* alpha.c (override_options, alpha_lookup_xfloating_lib_func):
Likewise.
* arc.c (arc_output_function_epilogue): Likewise.
* arm.c (processors, all_cores, all_architectures,
arm_override_options, isr_attribute_arg, isr_attribute_args,
arm_isr_value): Likewise.
* avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
Likewise.
* c4x.c (c4x_int_reglist): Likewise.
* d30v.c (override_options): Likewise.
* h8300.c (shift_insn): Likewise.
* i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
* i386.h (processor_costs, ix86_cost): Likewise.
* m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
* m68hc11.h (processor_costs, m68hc11_cost): Likewise.
* m68k.c (codes_68881, codes_FPA): Likewise.
* m88k.c (mode_from_align, max_from_align, all_from_align,
best_from_align, m_options): Likewise.
* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
* mcore.c (mode_from_align): Likewise.
* mips/elf64.h (UNIQUE_SECTION): Likewise.
* mips/iris6gld.h (UNIQUE_SECTION): Likewise.
* mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
* mips.h (mips_regno_to_class): Likewise.
* ns32k.c (scales): Likewise.
* pa.c (import_string, magic_milli): Likewise.
* rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
* sparc.c (leaf_reg_remap, sparc_override_options,
reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
Likewise.
* sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.

cp:
* class.c (build_vtable_entry_ref): Const-ify.
* decl.c (predefined_identifier,
initialize_predefined_identifiers): Likewise.
* init.c (build_new_1): Likewise.
* lex.c (cplus_tree_code_type, cplus_tree_code_length, resword):
Likewise.

f:
* bad.c (_ffebad_message_, ffebad_messages_): Const-ify.
* bld.c (ffebld_arity_op_): Likewise.
* bld.h (ffebld_arity_op_): Likewise.
* com.c (ffecom_init_0): Likewise.
* intdoc.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
_ffeintrin_imp_, names, gens, imps, specs, cc_pair,
cc_descriptions, cc_summaries): Likewise.
* intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
_ffeintrin_imp_, ffeintrin_names_, ffeintrin_gens_,
ffeintrin_imps_, ffeintrin_specs_): Likewise.

java:
* jcf-io.c (format_uint): Const-ify.
* lang.c (java_tree_code_type, java_tree_code_length): Likewise.
* lex.c (java_get_line_col): Likewise.
* parse.y (build_incdec): Likewise.

From-SVN: r46062

23 years agoFix reload conflict testing to take correct order of output reloads into account.
Dale Johannesen [Sun, 7 Oct 2001 15:05:20 +0000 (15:05 +0000)]
Fix reload conflict testing to take correct order of output reloads into account.

From-SVN: r46061

23 years agodemangle.h (demangler_engine): Const-ify.
Kaveh R. Ghazi [Sun, 7 Oct 2001 14:45:04 +0000 (14:45 +0000)]
demangle.h (demangler_engine): Const-ify.

include:
* demangle.h (demangler_engine): Const-ify.
* libiberty.h (buildargv): Likewise.

libiberty:
* argv.c (buildargv, tests, main): Const-ify.
* cp-demangle.c (operator_code): Likewise.
* cplus-dem.c (optable, libiberty_demanglers,
cplus_demangle_set_style, cplus_demangle_name_to_style,
print_demangler_list): Likewise.
* hashtab.c (higher_prime_number): Likewise.
* strcasecmp.c (charmap): Likewise.
* strerror.c (error_info, strerror, main): Likewise.
* strncasecmp.c (charmap): Likewise.
* strsignal.c (signal_info): Likewise.

From-SVN: r46060

23 years agoc-tree.texi, tm.texi: Consistently put NULL and NULL_TREE inside @code.
Joseph Myers [Sun, 7 Oct 2001 11:05:45 +0000 (12:05 +0100)]
c-tree.texi, tm.texi: Consistently put NULL and NULL_TREE inside @code.

* doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
NULL_TREE inside @code.

From-SVN: r46057

23 years agogcc.texi: Document consistent style of "32-bit", "Objective-C", and "@code{NULL}".
Joseph Myers [Sun, 7 Oct 2001 10:36:17 +0000 (11:36 +0100)]
gcc.texi: Document consistent style of "32-bit", "Objective-C", and "@code{NULL}".

* doc/gcc.texi: Document consistent style of "32-bit",
"Objective-C", and "@code{NULL}".

From-SVN: r46055

23 years agoDaily bump.
GCC Administrator [Sun, 7 Oct 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46053

23 years agocpplex.c (enum spell_type): Add SPELL_NUMBER.
Zack Weinberg [Sat, 6 Oct 2001 23:11:27 +0000 (23:11 +0000)]
cpplex.c (enum spell_type): Add SPELL_NUMBER.

* cpplex.c (enum spell_type): Add SPELL_NUMBER.
(cpp_token_len, cpp_spell_token, cpp_output_token,
_cpp_equiv_tokens): Handle it.
* cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
* cppexp.c (_cpp_parse_expr): Use the correct operator code in
error messages.

From-SVN: r46052

23 years ago* gcc.c (default_compilers): Remove .ada.
Richard Kenner [Sat, 6 Oct 2001 11:48:02 +0000 (11:48 +0000)]
* gcc.c (default_compilers): Remove .ada.

From-SVN: r46051

23 years ago* doc/cppinternals.texi: Update.
Neil Booth [Sat, 6 Oct 2001 11:29:51 +0000 (11:29 +0000)]
* doc/cppinternals.texi: Update.

From-SVN: r46050

23 years agogcc.c (main): Set this_file_error if the appropriate compiler for a language has...
Zack Weinberg [Sat, 6 Oct 2001 08:01:50 +0000 (08:01 +0000)]
gcc.c (main): Set this_file_error if the appropriate compiler for a language has not been...

* gcc.c (main): Set this_file_error if the appropriate
compiler for a language has not been installed.

From-SVN: r46049

23 years agoDaily bump.
GCC Administrator [Sat, 6 Oct 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46047

23 years ago* config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
Ulrich Weigand [Sat, 6 Oct 2001 00:18:18 +0000 (00:18 +0000)]
* config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.

From-SVN: r46046

23 years agoDecimalFormat.java (format): Use localized minus sign when generating exponent; never...
Tom Tromey [Fri, 5 Oct 2001 21:25:23 +0000 (21:25 +0000)]
DecimalFormat.java (format): Use localized minus sign when generating exponent; never use `+'.

* java/text/DecimalFormat.java (format): Use localized minus sign
when generating exponent; never use `+'.  Use floor to compute
exponent.

From-SVN: r46045

23 years agonews.texi: Document libf2c being built as a shared library.
Toon Moene [Fri, 5 Oct 2001 21:24:04 +0000 (23:24 +0200)]
news.texi: Document libf2c being built as a shared library.

2001-10-05  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Document libf2c being built as a shared library.
Use of array elements in bounds of adjustable arrays ditto.

From-SVN: r46044

23 years ago* adaint.h: Small formatting fix.
Geert Bosch [Fri, 5 Oct 2001 21:07:05 +0000 (23:07 +0200)]
* adaint.h: Small formatting fix.

From-SVN: r46043

23 years ago* gccbug.in (CATEGORIES): Add ada.
Joseph Myers [Fri, 5 Oct 2001 20:43:39 +0000 (21:43 +0100)]
* gccbug.in (CATEGORIES): Add ada.

From-SVN: r46042

23 years agostormy-abi: Document abi changes.
Catherine Moore [Fri, 5 Oct 2001 20:33:09 +0000 (20:33 +0000)]
stormy-abi: Document abi changes.

        * config/stormy16/stormy-abi:  Document abi changes.
        * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
        (ICALL_REGS): New register class.
        (NUM_ARGUMENT_REGISTERS): Now 6.
        (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
        in registers.
        (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
        * config/stormy16.md (call_internal, call_value_internal,
        indirect_jump): Use new 'z' constraint.

From-SVN: r46041

23 years ago* doc/cppinternals.texi: Update.
Neil Booth [Fri, 5 Oct 2001 20:09:42 +0000 (20:09 +0000)]
* doc/cppinternals.texi: Update.

From-SVN: r46040

23 years agoatomicity.h (__compare_and_swap): Remove unused function.
Phil Edwards [Fri, 5 Oct 2001 18:43:43 +0000 (18:43 +0000)]
atomicity.h (__compare_and_swap): Remove unused function.

2001-10-05  Phil Edwards  <pme@gcc.gnu.org>

* config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
unused function.
* config/cpu/arm/bits/atomicity.h:  Likewise.
* config/cpu/generic/bits/atomicity.h:  Likewise.
* config/cpu/i486/bits/atomicity.h:  Likewise.
* config/cpu/ia64/bits/atomicity.h:  Likewise.
* config/cpu/mips/bits/atomicity.h:  Likewise.
* config/cpu/powerpc/bits/atomicity.h:  Likewise.
* config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
* config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.

From-SVN: r46038

23 years agodwarf2out.c (FRAME_BEGIN_LABEL): New.
Richard Henderson [Fri, 5 Oct 2001 18:20:15 +0000 (11:20 -0700)]
dwarf2out.c (FRAME_BEGIN_LABEL): New.

        * dwarf2out.c (FRAME_BEGIN_LABEL): New.
        (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
        the gas section-name-as-label feature.

From-SVN: r46037

23 years agoAdler32.java: Merge with Classpath
Mark Wielaard [Fri, 5 Oct 2001 15:21:35 +0000 (15:21 +0000)]
Adler32.java: Merge with Classpath

* java/util/zip/Adler32.java: Merge with Classpath
* java/util/zip/CRC32.java: Ditto
* java/util/zip/Checksum.java: Ditto
* java/util/zip/DataFormatException.java: Ditto
* java/util/zip/ZipException.java: Ditto

From-SVN: r46035

23 years agojni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size
Martin Kahlert [Fri, 5 Oct 2001 14:23:06 +0000 (14:23 +0000)]
jni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size

2001-10-04  Martin Kahlert  <martin.kahlert@infineon.com>

* jni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size

From-SVN: r46034

23 years ago* doc/cppinternals.texi: Update.
Neil Booth [Fri, 5 Oct 2001 13:56:00 +0000 (13:56 +0000)]
* doc/cppinternals.texi: Update.

From-SVN: r46033

23 years agoi386.c (ix86_split_to_parts): Use trunc_int_for_mode to ensure valid SImode constants.
Richard Kenner [Fri, 5 Oct 2001 12:14:22 +0000 (12:14 +0000)]
i386.c (ix86_split_to_parts): Use trunc_int_for_mode to ensure valid SImode constants.

* config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
to ensure valid SImode constants.

From-SVN: r46032

23 years agoDaily bump.
GCC Administrator [Fri, 5 Oct 2001 07:16:47 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r46031

23 years agoMakefile.in: Move libg2c.so and libg2c.{l}a to the same directory at install.
Toon Moene [Fri, 5 Oct 2001 06:51:46 +0000 (08:51 +0200)]
Makefile.in: Move libg2c.so and libg2c.{l}a to the same directory at install.

2001-10-05  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Move libg2c.so and libg2c.{l}a to
the same directory at install.

From-SVN: r46029

23 years agoOops, removed duplicate entries that I had moved into earlier patches.
Alexandre Oliva [Fri, 5 Oct 2001 04:23:22 +0000 (04:23 +0000)]
Oops, removed duplicate entries that I had moved into earlier patches.

From-SVN: r46026

23 years agoMakefile.in (c-decl.o): Depend on tree-inline.h.
Alexandre Oliva [Fri, 5 Oct 2001 04:20:27 +0000 (04:20 +0000)]
Makefile.in (c-decl.o): Depend on tree-inline.h.

* Makefile.in (c-decl.o): Depend on tree-inline.h.
(c-lang.o): Likewise, as well as insn-config.h and integrate.h.
* c-decl.c: Include tree-inline.h.
(c_expand_body): Call optimize_inline_calls. Determine whether
a function is inlinable upfront, and only clear
DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
* c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
(c_disregard_inline_limits): New function.
(inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
(c_post_options): Enable tree inlining if inlining is enabled.
Don't inline trees when instrumenting functions.
(c_init): Initialize lang_disregard_inline_limits and
lang_cannot_inline_tree_fn.
* tree-inline.c (initialize_inlined_parameters): Handle calls
with fewer arguments than declared parameters, and fewer
parameters than passed arguments.  Don't assume value is a
DECL.
(declare_return_variable): Convert return value back to the
original type, if it was promoted.
(tree_inlinable_function_p): New function.
(inlinable_function_p): Don't look at DECL_INLINE if we're
inlining all functions.  Make it work with a NULL id.
Re-check DECL_UNINLINABLE after language-specific checks.
(varargs_function_p): Move back to cp/tree.c.
* tree-inline.h (tree_inlinable_function_p): Declare it.
(varargs_function_p): Removed declaration.
* integrate.h (function_attribute_inlinable_p): Declare it.
* integrate.c (function_attribute_inlinable_p): Export it.
(save_for_inline): Don't bother to prepare argvec when not
inlining.
* cse.c (check_for_label_ref): Don't check deleted labels.

From-SVN: r46025

23 years ago20010122-1.c: Don't assume alloca() is enough to avoid inlining.
Alexandre Oliva [Fri, 5 Oct 2001 04:20:06 +0000 (04:20 +0000)]
20010122-1.c: Don't assume alloca() is enough to avoid inlining.

* gcc.c-torture/execute/20010122-1.c: Don't assume alloca() is
enough to avoid inlining.

From-SVN: r46024

23 years agoMakefile.in (tree-inline.o): Depend on newly-included headers.
Alexandre Oliva [Fri, 5 Oct 2001 03:48:18 +0000 (03:48 +0000)]
Makefile.in (tree-inline.o): Depend on newly-included headers.

* Makefile.in (tree-inline.o): Depend on newly-included headers.
* tree-inline.c: Include headers needed for the functions moved in.
(struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
(remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
(copy_body, initialize_inlined_parameters): Likewise.
(declare_return_variable, inlinable_function_p): Likewise.
(expand_call_inline, expand_calls_inline): Likewise.
(optimize_inline_calls, clone_body): Likewise.
(walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
(copy_tree_r, remap_save_expr): Likewise.

From-SVN: r46023

23 years agooptimize.c (struct inline_data): Moved to ../tree-inline.c.
Alexandre Oliva [Fri, 5 Oct 2001 03:47:57 +0000 (03:47 +0000)]
optimize.c (struct inline_data): Moved to ../tree-inline.c.

* optimize.c (struct inline_data): Moved to ../tree-inline.c.
(INSNS_PER_STMT): Likewise.
(remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
(copy_body, initialize_inlined_parameters): Likewise.
(declare_return_variable, inlinable_function_p): Likewise.
(expand_call_inline, expand_calls_inline): Likewise.
(optimize_inline_calls, clone_body): Likewise.
* tree.c (walk_tree): Moved to ../tree-inline.c.
(walk_tree_without_duplicates): Likewise.
(copy_tree_r, remap_save_expr): Likewise.

From-SVN: r46022

23 years agoMakefile.in (OBJS): Added tree-inline.o.
Alexandre Oliva [Fri, 5 Oct 2001 02:49:16 +0000 (02:49 +0000)]
Makefile.in (OBJS): Added tree-inline.o.

* Makefile.in (OBJS): Added tree-inline.o.
(c-common.o): Depend on tree-inline.h.
(tree-inline.o): New target.
* c-common.c: Include tree-inline.h.
(c_mark_lang_decl): Don't mark saved_tree.
(c_common_lang_init): Set lang_anon_aggr_type_p.
* c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
(struct c_lang_decl): Moved saved_tree to tree_decl.
* ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
* integrate.h (function_attribute_inlinable_p): Declare it.
* integrate.c (function_attribute_inlinable_p): Export it.
* tree-inline.c: New file.  Define variables declared in...
* tree-inline.h: New file.  Declare functions to be moved to
tree-inline.c.  Define macros and declare types and hooks for
language-specific tree inlining.
(flag_inline_trees): Moved definition from cp/decl2.c.
* tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
(TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
(struct tree_decl): Moved saved_tree from c_lang_decl and
inlined_fns from C++'s lang_decl.

From-SVN: r46021

23 years agoMake-lang.in (cp/decl.o, cp/tree.o): Depend on tree-inline.h.
Alexandre Oliva [Fri, 5 Oct 2001 02:48:47 +0000 (02:48 +0000)]
Make-lang.in (cp/decl.o, cp/tree.o): Depend on tree-inline.h.

* Make-lang.in (cp/decl.o, cp/tree.o): Depend on tree-inline.h.
(cp/pt.o, cp/semantics.o, cp/optimize.o): Likewise.
* cp-tree.h (lang_decl): Moved inlined_fns to tree_decl.
(TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved to ../tree.h.
(flag_inline_trees): Moved declaration to ../tree-inline.h.
(walk_tree): Moved declaration to ../tree-inline.h.
(walk_tree_without_duplicates, copy_tree_r): Likewise.
(remap_save_expr): Likewise.
* decl.c: Include tree-inline.h.
(lang_mark_tree): Don't mark inlined_fns.
* decl2.c (flag_inline_trees): Moved defn to ../tree-inline.c.
* optimize.c: Include tree-inline.h.
(optimize_inline_calls): Move declaration to ../tree.h, as
non-static.
(remap_decl): Use language-independent constructs and hooks.
(remap_block, copy_body_r, declare_return_variable): Likewise.
(inlinable_function_p): Likewise.  Don't test for
DECL_LANG_SPECIFIC before DECL_INLINED_FNS as inlined_fns is
no longer language-specific.
(optimize_inline_calls): Likewise.  Make it non-static.  Moved
call of dump_function to...
(optimize_function): Here...
(clone_body): New function, extracted from...
(maybe_clone_body): ... here.  Build decl_map locally and pass
it on to clone_body.
* pt.c, semantics.c: Include tree-inline.h.
* tree.c: Likewise.
(cp_walk_subtrees): New language-specific hook for tree inlining.
(cp_cannot_inline_tree_fn, cp_add_pending_fn_decls,
cp_is_overload_p, cp_auto_var_in_fn_p,
cp_copy_res_decl_for_inlining): Likewise.
(walk_tree): Move language-specific constructs into...
(cp_walk_subtrees): this new function.
(copy_tree_r): Use language-independent constructs and hooks.
(init_tree): Initialize tree inlining hooks.
(remap_save_expr): Adjust prototype so that the declaration
does not require the definition of splay_tree.

From-SVN: r46020

23 years ago* java/lang/reflect/Modifier.java: Merge with Classpath
Mark Wielaard [Fri, 5 Oct 2001 00:16:03 +0000 (00:16 +0000)]
* java/lang/reflect/Modifier.java: Merge with Classpath

From-SVN: r46019

23 years agoMakefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which propagated HOST_CC...
Loren J. Rittle [Thu, 4 Oct 2001 22:11:47 +0000 (22:11 +0000)]
Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which propagated HOST_CC...

* Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.

From-SVN: r46017

23 years agoindex.html: Describe DR #22, and a workaround.
Phil Edwards [Thu, 4 Oct 2001 20:10:46 +0000 (20:10 +0000)]
index.html: Describe DR #22, and a workaround.

2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Describe DR #22, and a workaround.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46016

23 years agoCOPYING.DOC: New file, GFDL v1.1 from the FSF.
Phil Edwards [Thu, 4 Oct 2001 20:03:22 +0000 (20:03 +0000)]
COPYING.DOC: New file, GFDL v1.1 from the FSF.

2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
* docs/html/17_intro/license.html:  New file.  Explain the licenses
in use.

* docs/html/configopts.html:  Link to license.html.
* docs/html/documentation.html:  Likewise.
* docs/html/explanations.html:  Likewise.
* docs/html/install.html:  Likewise.
* docs/html/17_intro/howto.html:  Likewise.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/ext/sgiexts.html:  Likewise.
* docs/html/faq/index.html:  Likewise.  New question, linking to
the new license.html.

From-SVN: r46015

23 years agohowto.html: Fix mis-sed in header from 20010917.
Phil Edwards [Thu, 4 Oct 2001 19:54:54 +0000 (19:54 +0000)]
howto.html: Fix mis-sed in header from 20010917.

2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/faq/index.html:  Likewise.  Spacing fix.

From-SVN: r46014

This page took 0.108932 seconds and 5 git commands to generate.