OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
kenner [Thu, 15 Nov 2001 23:34:17 +0000 (23:34 +0000)]
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.

* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47074 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/rs6000.h: Fix a comment typo.
shebs [Thu, 15 Nov 2001 21:06:51 +0000 (21:06 +0000)]
    * config/rs6000/rs6000.h: Fix a comment typo.
        (RTX_COSTS): Sort processor versions better.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47073 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.md: Fix insn length of bit insns.
kazu [Thu, 15 Nov 2001 20:49:01 +0000 (20:49 +0000)]
* config/h8300/h8300.md: Fix insn length of bit insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47070 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoWhite-space change
kenner [Thu, 15 Nov 2001 20:17:48 +0000 (20:17 +0000)]
White-space change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47069 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
law [Thu, 15 Nov 2001 18:11:24 +0000 (18:11 +0000)]
    * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
        * configure.in (HAVE_UINTPTR_T): Test for system defining
        uintptr_t and define HAVE_UINTPTR_T appropriately.
        * regex.c (uintptr_t): Do not provide a definition if the
        system provided one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47068 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * regex.c (PREFIX): Provide an alternate definition for
law [Thu, 15 Nov 2001 18:04:08 +0000 (18:04 +0000)]
* regex.c (PREFIX): Provide an alternate definition for
non-ANSI/ISO compilers.
(ARG_PREFIX): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47067 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
jason [Thu, 15 Nov 2001 17:55:28 +0000 (17:55 +0000)]
    * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
        DIEs if there were errors in the source.

        * config/alpha/alpha-interix.h, config/alpha/elf.h,
        config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
        config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
        config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
        config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
        config/elfos.h, config/lynx.h, config/netware.h,
        config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
        config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
        uses to use ASM_LONG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47066 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoreduce arena size for small targets
jason [Thu, 15 Nov 2001 17:48:07 +0000 (17:48 +0000)]
reduce arena size for small targets

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47065 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoavoid includes
jason [Thu, 15 Nov 2001 17:47:40 +0000 (17:47 +0000)]
avoid includes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47064 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * method.c (use_thunk): Don't emit debugging information for thunks.
jason [Thu, 15 Nov 2001 17:33:24 +0000 (17:33 +0000)]
    * method.c (use_thunk): Don't emit debugging information for thunks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47063 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-15 Alan Matsuoka <alanm@redhat.com>
alanm [Thu, 15 Nov 2001 16:50:48 +0000 (16:50 +0000)]
2001-11-15  Alan Matsuoka  <alanm@redhat.com>

* gensupport.c process_include : Change call to alloca to
xmalloc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47062 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * parse.y: Add ... IDENTIFIER SCOPE and ... PTYPENAME SCOPE expansions.
jason [Thu, 15 Nov 2001 15:09:43 +0000 (15:09 +0000)]
    * parse.y: Add ... IDENTIFIER SCOPE and ... PTYPENAME SCOPE expansions.
        * decl.c (make_typename_type): Handle getting a class template.
        * search.c (lookup_field_r): A class template is good enough for
        want_type.

        * call.c (convert_like_real): Only use cp_convert for the bad part.
        (standard_conversion): Also allow bad int->enum.
        * typeck.c (ptr_reasonably_similar): Also allow functions to
        interconvert.  Pointers to same-size integers are reasonably
        similar.

        * cvt.c (convert_to_void): If we build a new COND_EXPR, always
        give it void type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47060 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/rs6000.md: Use spaces instead of tabs in output
aldyh [Thu, 15 Nov 2001 15:04:10 +0000 (15:04 +0000)]
  * config/rs6000/rs6000.md: Use spaces instead of tabs in output
        templates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47059 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * final.c (alter_subreg): If simplify_subreg can't do anything,
kenner [Thu, 15 Nov 2001 14:58:19 +0000 (14:58 +0000)]
* final.c (alter_subreg): If simplify_subreg can't do anything,
handle REG ourselves and abort for others.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47058 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
kazu [Thu, 15 Nov 2001 14:52:51 +0000 (14:52 +0000)]
* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
routines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47057 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * fix-header.c (read_scan_file): Update.
neil [Thu, 15 Nov 2001 14:47:04 +0000 (14:47 +0000)]
* fix-header.c (read_scan_file): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47055 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * toplev.c (toplev_main): Don't start timing until after
kenner [Thu, 15 Nov 2001 13:59:47 +0000 (13:59 +0000)]
* toplev.c (toplev_main): Don't start timing until after
command-line options are parsed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47054 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
schwab [Thu, 15 Nov 2001 13:12:54 +0000 (13:12 +0000)]
* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
makefile frag, not host makefile frag.
(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
used.
        (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
* config/m88k/t-dgux (STMP_FIXPROTO): Define.
* config/i386/t-cygwin (STMP_FIXPROTO): Define.
* config/i386/t-dgux (STMP_FIXPROTO): Define.
* config/x-interix: Don't define STMP_FIXPROTO and
FIXPROTO_DEFINES.
* config/t-interix: New file, define STMP_FIXPROTO.
* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
* config/t-svr4 (FIXPROTO_DEFINES): Define.
* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
* config/m68k/t-hp3200: Renamed from x-hp3200.
* config/i370/t-oe: Renamed from x-oe.
* config/mips/t-iris: Renamed from x-iris.
* config/pa/t-bsd: Renamed from x-pa.
* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
config/rs6000/x-cygwin: Remove files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47053 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
schwab [Thu, 15 Nov 2001 13:05:54 +0000 (13:05 +0000)]
* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
makefile frag, not host makefile frag.
(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
used.
        (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
* config/m88k/t-dgux (STMP_FIXPROTO): Define.
* config/i386/t-cygwin (STMP_FIXPROTO): Define.
* config/i386/t-dgux (STMP_FIXPROTO): Define.
* config/x-interix: Don't define STMP_FIXPROTO and
FIXPROTO_DEFINES.
* config/t-interix: New file, define STMP_FIXPROTO.
* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
* config/t-svr4 (FIXPROTO_DEFINES): Define.
* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
* config/m68k/t-hp3200: Renamed from x-hp3200.
* config/i370/t-oe: Renamed from x-oe.
* config/mips/t-iris: Renamed from x-iris.
* config/pa/t-bsd: Renamed from x-pa.
* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
config/rs6000/x-cygwin: Remove files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47052 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in: Check for target objdump and use that in eh_frame
schwab [Thu, 15 Nov 2001 12:11:52 +0000 (12:11 +0000)]
* configure.in: Check for target objdump and use that in eh_frame
optimization test.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47051 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
jakub [Thu, 15 Nov 2001 10:41:48 +0000 (10:41 +0000)]
* cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
conditional jump, request updating life into for the block
containing it.  Fix a typo which prevented life info update.
Clear blocks bitmap before using it.

* gcc.c-torture/compile/20011114-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47050 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
jakub [Thu, 15 Nov 2001 10:30:59 +0000 (10:30 +0000)]
* config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.

* gcc.c-torture/compile/20011114-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47049 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * jump.c (squeeze_notes): Return true if no real insns were found.
jakub [Thu, 15 Nov 2001 10:28:52 +0000 (10:28 +0000)]
* jump.c (squeeze_notes): Return true if no real insns were found.
* rtl.h (squeeze_notes): Adjust prototype.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
squeeze_notes finds no real instructions, abort.
(merge_blocks_move_successor_nojumps): Likewise.
* loop.c (find_and_verify_loops): Likewise.
* stmt.c (expand_end_case): Likewise.
* ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
find any real instructions.

* gcc.c-torture/compile/20011114-4.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47048 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Thu, 15 Nov 2001 10:03:41 +0000 (10:03 +0000)]
cp:
PR g++/3154
* init.c (sort_base_init): Remove unreachable code.
(expand_member_init): Adjust comment to reflect reality. Simplify
and remove unreachable code.
testsuite:
* g++.dg/other/init1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47047 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c: Include c-lex.h.
neil [Thu, 15 Nov 2001 10:01:10 +0000 (10:01 +0000)]
* c-common.c: Include c-lex.h.
(c_common_lang_init): Change prototype.  Call init_c_lex and
init_pragma from here.
* c-common.h (c_common_lang_init): Change prototype.
* c-decl.c (init_decl_processing): Rename.  Call c_parse_init.
* c-lang.c (c_init): Change prototype.  Update.
(c_init_options): Update.
* c-lex.c (cpp_filename): Remove.
(init_c_lex): Update.  Read the main file, and get the original
file name.
(yyparse): Finish the command line options.
* c-parse.in (c_parse_init): Call init_reswords here.
(init_parse): Remove.
* c-tree.h (c_init_decl_processing): New.
* cpphash.c (_cpp_init_hashtable): After initializing the hash
table, populate it.
* cppinit.c (read_original_filename, cpp_finish_options): New.
(cpp_create_reader): New prototype. Defer hash table initialization.
(cpp_start_read): Rename cpp_read_main_file.  Initialize the
hash table.  Get the original filename.
* cpplib.h (cpp_create_reader): Update.
(cpp_start_read): Remove.
(cpp_read_main_file, cpp_finish_options): New.
* cppmain.c (main, do_preprocessing): Update.
* langhooks.h (struct langhooks): Update init prototype.
* toplev.c (general_init, parse_options_and_default_flags,
process_options, lang_indpendent_init, lang_dependent_init,
init_asm_output): New; perform the bulk of initialization.
(compile_file): Move most of initialization to above functions.
(debug_hooks): Initialize statically.
(set_Wunused): Relocate.
(toplev_main): Move most of initialization to other init functions.
Have a clear logic flow.
* tree.h (init_parse, init_decl_processing): Remove.
ada:
* misc.c (gnat_init): Change prototype.  Include the
functionality of the old init_parse and init_decl_processing.
(gnat_init_decl_processing): New prototype.
(init_parse): Remove.
* utils.c (init_decl_processing): Rename gnat_init_decl_processing.
cp: * cp-tree.h (init_reswords, cxx_init_decl_processing): New.
(cxx_init): Update prototype.
* decl.c (init_decl_processing): Rename.  Move null node init
to its creation time.
* lex.c (cxx_init_options): Update.
(cxx_init): Combine with old init_parse; also call
cxx_init_decl_processing.
f: * com.c (ffecom_init_decl_processing): Renamed from
init_decl_processing.
(init_parse): Move contents to ffe_init.
(ffe_init): Update prototype.
java: * decl.c (init_decl_processing): Rename java_init_decl_processing.
* java-tree.h: New prototype.
* lang.c (java_init): Update prototype.  Combine with old init_parse.
objc: * objc-act.c (objc_init): Update prototype, combine with old
init_parse.
(objc_init_options): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47046 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
ljrittle [Thu, 15 Nov 2001 09:06:14 +0000 (09:06 +0000)]
    * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
        wording.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47045 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago libstc++/4219
ljrittle [Thu, 15 Nov 2001 08:52:23 +0000 (08:52 +0000)]
    libstc++/4219
        * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
        (single_client_alloc): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47044 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 15 Nov 2001 08:16:43 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47042 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (purge_all_dead_edges): Use int as argument for
aj [Thu, 15 Nov 2001 07:55:45 +0000 (07:55 +0000)]
* cfgrtl.c (purge_all_dead_edges): Use int as argument for
portability.
* basic-block.h: Adjust prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47041 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/aix31.h: Fix comment formatting.
kazu [Thu, 15 Nov 2001 05:21:09 +0000 (05:21 +0000)]
* config/rs6000/aix31.h: Fix comment formatting.
* config/rs6000/beos.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/eabi.asm: Likewise.
* config/rs6000/linux.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/lynx.h: Likewise.
* config/rs6000/netbsd.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/sol2.h: Likewise.
* config/rs6000/tramp.asm: Likewise.
* config/rs6000/xcoff.h: Likewise.
* config/rs6000/xm-beos.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47040 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoChangeLog entries for:
alanm [Thu, 15 Nov 2001 04:25:36 +0000 (04:25 +0000)]
ChangeLog entries for:
2001-11-05  Alan Matsuoka  <alanm@redhat.com>

* rtl.def (INCLUDE) : Define.
* gensupport.c  (init_include_reader, process_include,
save_string) :  New functions to implement an include facility
in .md files.
* gensupport.h : Add prototype for init_md_reader_args.
* genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
genextract.c genflags.c genopinit.c genoutput.c
genpeep.c genrecog.c: Change call to init_md_reader to
init_md_reader_args.
* md.texi: Document (include "path") and -I directives for RTL
generation tools.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47039 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/noncompile/920923-1.c: stormy16 produces an extra error
geoffk [Thu, 15 Nov 2001 03:55:26 +0000 (03:55 +0000)]
* gcc.dg/noncompile/920923-1.c: stormy16 produces an extra error
message.

* gcc.c-torture/execute/20011114-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47038 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* integrate.c (get_hard_reg_initial_reg): New.
dj [Thu, 15 Nov 2001 03:02:24 +0000 (03:02 +0000)]
* integrate.c (get_hard_reg_initial_reg): New.
* integrate.h (get_hard_reg_initial_reg): Prototype.
* local-alloc.c (block_alloc): Don't tie pseudos that
represent call-saved hard regs' initial values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47037 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/compile/20010327-1.c: Revert last change.
geoffk [Thu, 15 Nov 2001 02:32:39 +0000 (02:32 +0000)]
* gcc.c-torture/compile/20010327-1.c: Revert last change.
* gcc.c-torture/compile/20011114-1.c: New test, exactly
like the (before this change) version of 20010327-1.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47036 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/lang/natString.cc: correct argument order for
hboehm [Thu, 15 Nov 2001 02:22:52 +0000 (02:22 +0000)]
* java/lang/natString.cc: correct argument order for
_Jv_AllocPtrFreeObj

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47035 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-14 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 15 Nov 2001 00:28:54 +0000 (00:28 +0000)]
2001-11-14  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: Update to use `@command', `@option.
* invoke.texi: Ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47034 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * verify.cc (class _Jv_BytecodeVerifier) [op_dup2]: Fixed logic.
tromey [Thu, 15 Nov 2001 00:24:38 +0000 (00:24 +0000)]
* verify.cc (class _Jv_BytecodeVerifier) [op_dup2]: Fixed logic.
[op_dup_x2]: Likewise.
[op_dup2_x1]: Likewise.
[op_dup2_x2]: Likewise.
(branch_prepass): Added `op_newarray' case.  Updated unrecognized
instruction error.
(verify_instructions_0): Updated unrecognized instruction error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47033 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
ghazi [Wed, 14 Nov 2001 23:46:45 +0000 (23:46 +0000)]
* m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
recursion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47032 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/lang/reflect/Constructor.java (toString): Use more
tromey [Wed, 14 Nov 2001 23:42:38 +0000 (23:42 +0000)]
* java/lang/reflect/Constructor.java (toString): Use more
efficient form of Modifier.toString().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47031 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/string-opt-13.c: New testcase.
rth [Wed, 14 Nov 2001 23:37:31 +0000 (23:37 +0000)]
    * gcc.c-torture/execute/string-opt-13.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47030 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * fold-const.c (fold): Optimize strlen comparisons against zero.
rth [Wed, 14 Nov 2001 23:36:24 +0000 (23:36 +0000)]
    * fold-const.c (fold): Optimize strlen comparisons against zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47029 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Re-merges with Classpath, from various people:
tromey [Wed, 14 Nov 2001 22:42:42 +0000 (22:42 +0000)]
Re-merges with Classpath, from various people:
* java/lang/reflect/Modifier.java: Reindented.
(toString): Only trim trailing space if text was added to
StringBuffer.
* java/lang/reflect/ReflectPermission: Reindented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47028 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-14 David O'Brien <obrien@FreeBSD.org>
obrien [Wed, 14 Nov 2001 21:44:21 +0000 (21:44 +0000)]
2001-11-14  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
Include various CPU headers via tm_file.  a.out based platforms now
properly include sparc/aout.h.  sol2.h usage now implies including
elfos.h, svr4.h, and sparc/sysv4.h.
* config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
Also define to '1'.
* sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
Remove.  They are a.out specific and belong in sparc/aout.h.
* sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
sparc/sparc.h.
* sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
Moved here from sparc/sparc.h.
* config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
defining.
* config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
* config/sparc/lynx.h:  Don't include lynx.h.
(SELECT_SECTION): Do not undef.
* config/sparc/openbsd.h: Don't include sparc/sparc.h.
* config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
and sparc/sysv4.h.
* config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
* config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
sparc/aout.h now.
* config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
Don't undef, there is no need.
* config/sparc/splet.h (CPP_PREDEFINES): Define.
* config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
* config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
Don't include sparc/sparc.h.
* config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
elfos.h and svr4.h.
(TARGET_VERSION): Define.
* config/sparc/vxsim.h (TARGET_VERSION): Define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20011114132416.B17112@redhat.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47023 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in (noconfigdirs) [h8300*-*-*, h8500-*-*]: Disable
hp [Wed, 14 Nov 2001 21:39:36 +0000 (21:39 +0000)]
* configure.in (noconfigdirs) [h8300*-*-*, h8500-*-*]: Disable
libf2c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47022 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-14 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 14 Nov 2001 21:11:43 +0000 (21:11 +0000)]
2001-11-14  Aldy Hernandez  <aldyh@redhat.com>

        * encoding.c: Add target_flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47021 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-05 Alan Matsuoka <alanm@redhat.com>
alanm [Wed, 14 Nov 2001 20:17:08 +0000 (20:17 +0000)]
2001-11-05  Alan Matsuoka  <alanm@redhat.com>

* rtl.def (INCLUDE) : Define.
* gensupport.c  (init_include_reader, process_include,
save_string) :  New functions to implement an include facility
in .md files.
* gensupport.h : Add prototype for init_md_reader_args.  *
genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
genextract.c genflags.c genopinit.c genoutput.c
genpeep.c genrecog.c: Change call to init_md_reader to
init_md_reader_args.
* md.texi: Document (include "path") and -I directives for RTL
generation tools.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47020 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
hubicka [Wed, 14 Nov 2001 19:36:17 +0000 (19:36 +0000)]
* cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
(cfg_layout_finalize): Use it.
* bb-reorder.c (HAVE_epilogue): Remove.
(make_reorder_chain): Do not care special placement of
last basic block.

* predict.c (expected_value_to_br_prob): Delete the note
once transformed.

* c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
measure integration time separately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47019 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Re-merges with Classpath, from various people:
tromey [Wed, 14 Nov 2001 19:11:52 +0000 (19:11 +0000)]
Re-merges with Classpath, from various people:
* java/lang/Double.java (parseDouble): Fixed ordering of
modifiers.
* java/lang/reflect/AccessibleObject.java: Javadoc, reindented.
* java/lang/reflect/Member.java: Reindented.
* java/lang/reflect/Modifier.java: Reindented.
(toString): Only trim trailing space if text was added to
StringBuffer.
* java/util/ConcurrentModificationException.java: Javadoc
updates.
* java/util/EmptyStackException.java: Likewise.
* java/util/NoSuchElementException.java: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47018 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * function.c (struct temp_slot): ALIGN now unsigned.
kenner [Wed, 14 Nov 2001 17:30:04 +0000 (17:30 +0000)]
* function.c (struct temp_slot): ALIGN now unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47016 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/dsp16xx/dsp16xx.c: Fix comment formatting.
kazu [Wed, 14 Nov 2001 15:28:18 +0000 (15:28 +0000)]
* config/dsp16xx/dsp16xx.c: Fix comment formatting.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/dsp16xx/dsp16xx.md: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47015 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (get_shift_alg): Reorganize the code
kazu [Wed, 14 Nov 2001 14:28:06 +0000 (14:28 +0000)]
* config/h8300/h8300.c (get_shift_alg): Reorganize the code
that deals with 7-bit shifts in HImode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47014 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
hubicka [Wed, 14 Nov 2001 13:51:10 +0000 (13:51 +0000)]
* dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
* final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
(final_scan_insn): Update call of alter_subreg.
(cleanup_subreg_operands): Likewise.
(alter_subreg): Rewrite using simplify_subreg.
(output_address, output_operand): Update call of alter_subreg.
* output.h (alter_subreg): Update prototype.
* sdbout.c (sdbout_symbol): Update call of alter_subreg.
* simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
* Makefile.in (final.o): Add depdendancy on expr.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47013 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.dg/init/array2.C: New test.
rsandifo [Wed, 14 Nov 2001 12:54:39 +0000 (12:54 +0000)]
* g++.dg/init/array2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47009 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * decl.c (check_initializer): Try to complete the type of an
rsandifo [Wed, 14 Nov 2001 12:53:09 +0000 (12:53 +0000)]
    * decl.c (check_initializer): Try to complete the type of an
        array element before checking whether it's complete.  Don't
        complain about arrays with complete element types but an
        unknown size.
        (cp_finish_decl): Build the hierarchical constructor before
        calling maybe_deduce_size_from_array_init.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47008 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-lang.c (finish_file): Make I unsigned to eliminate warning.
kenner [Wed, 14 Nov 2001 11:33:11 +0000 (11:33 +0000)]
* c-lang.c (finish_file): Make I unsigned to eliminate warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47006 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 14 Nov 2001 08:17:31 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47004 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* gcc.c-torture/execute/20010122-1.c: Prevent unwanted inlining.
aoliva [Wed, 14 Nov 2001 05:48:12 +0000 (05:48 +0000)]
* gcc.c-torture/execute/20010122-1.c: Prevent unwanted inlining.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47002 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (sparc-*-linux*): Mention requirements for
jsturm [Wed, 14 Nov 2001 03:31:47 +0000 (03:31 +0000)]
* doc/install.texi (sparc-*-linux*): Mention requirements for
binutils and glibc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47000 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gjavah.c (method_signature): New global.
tromey [Wed, 14 Nov 2001 01:43:56 +0000 (01:43 +0000)]
* gjavah.c (method_signature): New global.
(HANDLE_METHOD): Set it.
(decompile_return_statement): New function.
(decompile_method): Use it.
(print_method_info): Removed `synth' argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46999 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocontrib:
jsm28 [Wed, 14 Nov 2001 00:47:47 +0000 (00:47 +0000)]
contrib:
* texi2pod.pl: Handle @ifnottex, @iftex and @display.  Handle @var
in verbatim blocks specially.  Handle @unnumbered, @unnumberedsec
and @center.  Allow [a-z] after @enumerate.  Handle 0 and numbers
greater than 9 in enumerations.

gcc:
* Makefile.in (POD2MAN): Don't include --section=1.
(manext): Rename to man1ext.  All users changed.
(man7ext): New.
(man7dir): New.
(generated-manpages): Also depend on $(docdir)/gfdl.7,
$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
--section=1 in calls to $(POD2MAN).
($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
(maintainer-clean, install, uninstall): Handle the new man pages.
($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
(installdirs): Create man7dir.
* doc/cpp.texi: Include GFDL in this manual.  In the man page,
refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
the SEE ALSO man page section.
* doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
and fsf-funding(7) in the SEE ALSO man page section.
* doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
* doc/include/fdl.texi, doc/include/funding.texi,
doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.

gcc/cp:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).

gcc/f:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46998 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
rth [Wed, 14 Nov 2001 00:40:28 +0000 (00:40 +0000)]
    * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
        as appropriate for the artificial decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46997 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-14 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 14 Nov 2001 00:16:47 +0000 (00:16 +0000)]
2001-11-14  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.1: Remove from CVS.
* Make-lang.in: Build g77.1 in $(srcdir).
Add --section=1 to POD2MAN command line.
* invoke.texi: Correct copyright years.
Add more sections to man page.  Add GFDL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46996 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * loop.c (combine_movables): Turn off combination until
rth [Wed, 14 Nov 2001 00:15:30 +0000 (00:15 +0000)]
    * loop.c (combine_movables): Turn off combination until
        move_movables validation bugs are fixed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46995 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Fix for PR libgcj/4859:
tromey [Tue, 13 Nov 2001 23:09:23 +0000 (23:09 +0000)]
Fix for PR libgcj/4859:
* java/util/Timer.java (TaskQueue.isStopped): New method.
(Scheduler.run): Don't re-schedule task if queue has been
stopped.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46994 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config.gcc (powerpc|rs6000): Set default cpp options based
dj [Tue, 13 Nov 2001 22:08:28 +0000 (22:08 +0000)]
* config.gcc (powerpc|rs6000): Set default cpp options based
on --with-cpu settings.
* config/rs6000/softfloat.h: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46993 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Tue, 13 Nov 2001 21:05:57 +0000 (21:05 +0000)]
cp:
PR g++/4206
* parse.y (already_scoped_stmt): Remove.
(simple_stmt, WHILE & FOR): Use implicitly_scoped_stmt.
testsuite:
* g++.dg/other/forscope1.C: New test.
* g++.dg/ext/forscope1.C: New test.
* g++.dg/ext/forscope2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46992 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (shift_alg_si): Use special code for
kazu [Tue, 13 Nov 2001 21:00:28 +0000 (21:00 +0000)]
* config/h8300/h8300.c (shift_alg_si): Use special code for
25-bit shifts on H8/S.
(get_shift_alg): Generate special code for 25-bit shifts on
H8/S.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46991 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Rebuilt.
tromey [Tue, 13 Nov 2001 17:43:41 +0000 (17:43 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added JNIWeakRef.java.
* jni.cc: Include JNIWeakRef.h.
(unwrap): New function.
(_Jv_JNI_DefineClass): Use it.
(_Jv_JNI_GetSuperclass): Likewise.
(_Jv_JNI_IsAssignableFrom): Likewise.
(_Jv_JNI_Throw): Likewise.
(_Jv_JNI_ThrowNew): Likewise.
(_Jv_JNI_IsSameObject): Likewise.
(_Jv_JNI_AllocObject): Likewise.
(_Jv_JNI_GetObjectClass): Likewise.
(_Jv_JNI_IsInstanceOf): Likewise.
(_Jv_JNI_GetAnyMethodID): Likewise.
(array_from_valist): Likewise.
(_Jv_JNI_CallAnyMethodV): Likewise.
(_Jv_JNI_CallAnyMethodA): Likewise.
(_Jv_JNI_CallAnyVoidMethodV): Likewise.
(_Jv_JNI_CallAnyVoidMethodA): Likewise.
(_Jv_JNI_CallStaticMethodV): Likewise.
(_Jv_JNI_CallStaticMethod): Likewise.
(_Jv_JNI_CallStaticMethodA): Likewise.
(_Jv_JNI_NewObjectV): Likewise.
(_Jv_JNI_NewObject): Likewise.
(_Jv_JNI_NewObjectA): Likewise.
(_Jv_JNI_GetField): Likewise.
(_Jv_JNI_SetField): Likewise.
(_Jv_JNI_GetAnyFieldID): Likewise.
(_Jv_JNI_SetStaticField): Likewise.
(_Jv_JNI_GetStringLength): Likewise.
(_Jv_JNI_GetStringChars): Likewise.
(_Jv_JNI_ReleaseStringChars): Likewise.
(_Jv_JNI_GetStringUTFLength): Likewise
(_Jv_JNI_GetStringUTFChars): Likewise.
(_Jv_JNI_GetStringRegion): Likewise.
(_Jv_JNI_GetStringUTFRegion): Likewise.
(_Jv_JNI_GetStringCritical): Likewise.
(_Jv_JNI_GetArrayLength): Likewise.
(_Jv_JNI_NewObjectArray): Likewise.
(_Jv_JNI_GetObjectArrayElement): Likewise.
(_Jv_JNI_SetObjectArrayElement): Likewise.
(_Jv_JNI_GetPrimitiveArrayElements): Likewise.
(_Jv_JNI_ReleasePrimitiveArrayElements): Likewise.
(_Jv_JNI_GetPrimitiveArrayRegion): Likewise.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.
(_Jv_JNI_MonitorEnter): Likewise.
(_Jv_JNI_MonitorExit): Likewise.
(_Jv_JNI_ToReflectedField): Likewise.
(_Jv_JNI_FromReflectedField): Likewise.
(_Jv_JNI_ToReflectedMethod): Likewise.
(_Jv_JNI_FromReflectedMethod): Likewise.
(_Jv_JNI_NewGlobalRef): Likewise.
(_Jv_JNI_DeleteGlobalRef): Likewise.
(_Jv_JNI_DeleteLocalRef): Likewise.
(_Jv_JNI_NewLocalRef): Likewise.
(_Jv_JNI_NewWeakGlobalRef): New function.
(_Jv_JNI_DeleteWeakGlobalRef): Likewise.
(_Jv_JNIFunctions): Updated for new methods.
(NOT_IMPL): Removed.
* gnu/gcj/runtime/JNIWeakRef.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46990 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDuh, missed this.
jakub [Tue, 13 Nov 2001 16:52:37 +0000 (16:52 +0000)]
Duh, missed this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46989 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (adjust_address_1): Add ADJUST argument.
jakub [Tue, 13 Nov 2001 16:45:18 +0000 (16:45 +0000)]
* emit-rtl.c (adjust_address_1): Add ADJUST argument.
(adjust_automodify_address_1): New.
* expr.h (adjust_address, adjust_address_nv): Adjust.
(adjust_automodify_address, adjust_automodify_address_nv): Define.
(adjust_address_1): Update prototype.
(adjust_automodify_address_1): Add prototype.
* expr.c (move_by_pieces_1): Use adjust_automodify_address.
(store_by_pieces_2): Likewise.

* gcc.c-torture/execute/20011113-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46988 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (explow.o): Now depends on ggc.h.
kenner [Tue, 13 Nov 2001 14:12:02 +0000 (14:12 +0000)]
* Makefile.in (explow.o): Now depends on ggc.h.
* explow.c (ggc.h): Include.
(set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46985 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (expr.o): Depends on insn-attr.h.
kenner [Tue, 13 Nov 2001 10:47:40 +0000 (10:47 +0000)]
* Makefile.in (expr.o): Depends on insn-attr.h.
* expr.c (insn-attr.h): New include.
(force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
of MEM.
(highest_pow2_factor, case INTEGER_CST): Handle negative values.
(expand_expr): Remove unneeded mark_temp_addr_taken calls and
clean up related usage in ADDR_EXPR.
(expand_expr_unaligned): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46980 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (change_address): Fix typo in alias setting.
kenner [Tue, 13 Nov 2001 10:41:03 +0000 (10:41 +0000)]
* emit-rtl.c (change_address): Fix typo in alias setting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46979 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 13 Nov 2001 08:16:49 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46978 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (cfgcleanup.o): Depend on insn-config.h
ghazi [Tue, 13 Nov 2001 05:49:50 +0000 (05:49 +0000)]
* Makefile.in (cfgcleanup.o): Depend on insn-config.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46976 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-12 Jim Meyering <meyering@lucent.com>
dj [Tue, 13 Nov 2001 03:46:00 +0000 (03:46 +0000)]
2001-11-12  Jim Meyering  <meyering@lucent.com>

* obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
* getopt.c (_): Likewise.
* regex.c (_): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46975 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * MAINTAINERS (Write After Approval): Add self.
rodrigc [Tue, 13 Nov 2001 03:26:13 +0000 (03:26 +0000)]
* MAINTAINERS (Write After Approval): Add self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46973 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR bootstrap/3451
rodrigc [Tue, 13 Nov 2001 03:20:58 +0000 (03:20 +0000)]
PR bootstrap/3451
* c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46972 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-13 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 13 Nov 2001 00:55:38 +0000 (00:55 +0000)]
2001-11-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Change dependencies on stamp files
into dependencies on the generated .la files.
Get rid of objlist.  Update comment.
* libF77/Makefile.in: Ditto.
* libI77/Makefile.in: Ditto.
* libU77/Makefile.in: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46970 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-12 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 12 Nov 2001 23:52:28 +0000 (23:52 +0000)]
2001-11-12  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
sparc64-*-linux*):  Include various CPU headers via tm_file.
* config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
(SELECT_SECTION): Likewise.
(SELECT_RTX_SECTION): Likewise.
* config/sparc/sparc_bi.h: New file.
* config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
* config/sparc/linux-aout.h: Likewise.
* config/sparc/linux.h: Don't include sparc/sysv4.h.
* config/sparc/linux64.h: Likewise.
(SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
* config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
* config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
and dbxcoff.h
(ASM_OUTPUT_IDENT): Do not #undef.
(SELECT_SECTION): Likewise.
(SELECT_RTX_SECTION): Likewise.
* config/sparc/liteelf.h: Don't include gofast.h.
* config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
* config/sparc/lynx.h: Don't include sparc/sparc.h.
* config/sparc/pbd.h: Likewise.
* config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
* config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
* config/sparc/rtemself.h: Don't include rtems.h.
* config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
* config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
sparc_bi.h instead.
* config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
* config/sparc/sol2.h: Include sparc/sparc.h directly.
* config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
* config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
* config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
* config/sparc/sp86x-elf.h: Don't include gofast.h.
* config/sparc/splet.h: Don't include sparc/aout.h.
* config/sparc/sun4o3.h: Don't include sparc/sparc.h.
* config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
* config/sparc/vxsim.h: Don't include sparc/sysv4.h.
* config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
* config/sparc/vxsparc64.h: Don't include gofast.h.
(SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20011112.151527.70477368.davem@redhat.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46969 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/standards.texi: Mention C99 TC1.
jsm28 [Mon, 12 Nov 2001 23:35:22 +0000 (23:35 +0000)]
* doc/standards.texi: Mention C99 TC1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46968 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * mips-protos.h (mips_output_conditional_branch): Const-ify.
ghazi [Mon, 12 Nov 2001 22:57:52 +0000 (22:57 +0000)]
* mips-protos.h (mips_output_conditional_branch): Const-ify.
* mips.c (mips_output_conditional_branch): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46967 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-12 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 12 Nov 2001 20:16:49 +0000 (20:16 +0000)]
2001-11-12  David O'Brien  <obrien@FreeBSD.org>
* MAINTAINERS: mips and s390 are also CPU ports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46966 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (shift_alg_si): Use special code for
kazu [Mon, 12 Nov 2001 20:02:32 +0000 (20:02 +0000)]
* config/h8300/h8300.c (shift_alg_si): Use special code for
15-bit logical shifts and 31-bit logical shifts.
(get_shift_alg): Generate special code for 15-bit and 31-bit
logical shifts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46965 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (shift_alg_qi): Use rotations when
kazu [Mon, 12 Nov 2001 18:20:59 +0000 (18:20 +0000)]
* config/h8300/h8300.c (shift_alg_qi): Use rotations when
doing 6-bit logical shifts on H8/S.
(shift_alg_qi): Use special code for 21-bit shifts on H8/S.
(get_shift_alg): Generate special code for 21-bit shifts on
H8/S.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46961 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-12 H.J. Lu <hjl@gnu.org>
hjl [Mon, 12 Nov 2001 18:18:05 +0000 (18:18 +0000)]
2001-11-12  H.J. Lu <hjl@gnu.org>

* cp/cvt.c (ocp_convert): Don't warn the address of a weak
function is always `true'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46960 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (get_shift_alg): Remove a redundant
kazu [Mon, 12 Nov 2001 17:27:35 +0000 (17:27 +0000)]
* config/h8300/h8300.c (get_shift_alg): Remove a redundant
label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46957 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * alias.c (nonoverlapping_memrefs_p): Only update size from memref
kenner [Mon, 12 Nov 2001 16:56:48 +0000 (16:56 +0000)]
* alias.c (nonoverlapping_memrefs_p): Only update size from memref
if both size and offset known.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46956 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-12 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 12 Nov 2001 16:33:55 +0000 (16:33 +0000)]
2001-11-12  David O'Brien  <obrien@FreeBSD.org>
* MAINTAINERS: mcore, cris and mmix are also CPU ports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46955 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-12 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 12 Nov 2001 16:21:57 +0000 (16:21 +0000)]
2001-11-12  David O'Brien  <obrien@FreeBSD.org>
* config/ia64/freebsd.h: Fix misspelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46953 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/gcc.texi: Move several chapters out to ...
jsm28 [Mon, 12 Nov 2001 15:46:48 +0000 (15:46 +0000)]
* doc/gcc.texi: Move several chapters out to ...
* doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
doc/include/linux-and-gnu.texi, doc/interface.texi,
doc/makefile.texi, doc/passes.texi, doc/portability.texi:
... here.  New files.
* doc/gcc.texi, doc/contrib.texi: Move section headings into
contrib.texi.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46951 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha-interix.h: Fix comment formatting.
kazu [Mon, 12 Nov 2001 15:29:46 +0000 (15:29 +0000)]
* config/alpha/alpha-interix.h: Fix comment formatting.
* config/alpha/alpha.c: Likewise.
* config/alpha/alpha.h: Likewise.
* config/alpha/alpha32.h: Likewise.
* config/alpha/freebsd.h: Likewise.
* config/alpha/unicosmk.h: Likewise.
* config/alpha/vms.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46949 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
kazu [Mon, 12 Nov 2001 15:09:04 +0000 (15:09 +0000)]
* config/h8300/h8300.c (get_shift_alg): Remove redundant code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46947 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
jakub [Mon, 12 Nov 2001 14:42:18 +0000 (14:42 +0000)]
* dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46943 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * boehm.cc (_Jv_GCCanReclaimSoftReference): Fix warning.
bryce [Mon, 12 Nov 2001 10:42:45 +0000 (10:42 +0000)]
    * boehm.cc (_Jv_GCCanReclaimSoftReference): Fix warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46941 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (set_mem_attributes): If making object, can set alignment
kenner [Mon, 12 Nov 2001 10:21:09 +0000 (10:21 +0000)]
* emit-rtl.c (set_mem_attributes): If making object, can set alignment
from type.
(replace_equiv_address): Call update_temp_slot_address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46940 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
kenner [Mon, 12 Nov 2001 10:17:51 +0000 (10:17 +0000)]
* dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46939 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
kenner [Mon, 12 Nov 2001 10:15:03 +0000 (10:15 +0000)]
* alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46938 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (shift_alg_qi): New.
kazu [Mon, 12 Nov 2001 09:22:28 +0000 (09:22 +0000)]
* config/h8300/h8300.c (shift_alg_qi): New.
(shift_alg_hi): Likewise.
(shift_alg_si): Likewise.
(get_shift_alg): Change the type of count to unsigned int.
Use the tables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46937 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Mon, 12 Nov 2001 08:16:13 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46935 138bc75d-0d04-0410-961f-82ee72b054a4