gcc.git
23 years agoDaily bump.
GCC Administrator [Fri, 30 Mar 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40961

23 years ago[multiple changes]
Benjamin Kosnik [Fri, 30 Mar 2001 08:14:15 +0000 (08:14 +0000)]
[multiple changes]

2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (LIBTOOL): Don't construct -B argument here...
* tests_flags.in (CXX): Construct here.
(static_fail): Don't remove compile.out. Format with spaces.
(INCLUDES): Deal with xcompiling.
* configure.in (xcompiling): Substitute.
* testsuite/Makefile.am: Snake libjava configury.
* testsuite/Makefile.in: Regenerate.
* testsuite/23_containers/map_operators.cc: Tweaks.
* testsuite/23_containers/set_operators.cc: Tweaks.

2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

Enable dejagnu testing framework.
* configure.in: Generate testsuite/Makefile.
* configure: Regenerate.
* Makefile.am (check-install): Change rule from this...
(check-script-install): ...to this.
(check): Change rule from this...
(check-script):...to this.
* Makefile.in: Regenerate.

From-SVN: r40960

23 years agoi386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p...
Jan Hubicka [Thu, 29 Mar 2001 22:32:53 +0000 (00:32 +0200)]
i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p instead of...

* i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
instead of rtx_equal_p; fix the output template.

From-SVN: r40959

23 years agoi386.c (ix86_expand_setcc): Support 64bit.
Jan Hubicka [Thu, 29 Mar 2001 22:25:16 +0000 (00:25 +0200)]
i386.c (ix86_expand_setcc): Support 64bit.

* i386.c (ix86_expand_setcc): Support 64bit.
(ix86_expand_int_movcc): Likewise.
* i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
New patterns.

* i386.md (allocate_stack_worker): Turn to expander.
(allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.

* i386.c (print_reg): Do not print x86_64 style regs on IA-32

From-SVN: r40958

23 years ago* libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
Richard Henderson [Thu, 29 Mar 2001 21:11:23 +0000 (13:11 -0800)]
* libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.

From-SVN: r40957

23 years agomn10300.md (cmpsi): Fix first alternative's output template.
Matthew Hiller [Thu, 29 Mar 2001 02:32:46 +0000 (02:32 +0000)]
mn10300.md (cmpsi): Fix first alternative's output template.

2001-03-28  Matthew Hiller  <hiller@redhat.com>

* config/mn10300/mn10300.md (cmpsi): Fix first alternative's
output template.

* MAINTAINERS: Added self.

From-SVN: r40956

23 years agoconfigure.in: Use different syntax for subdirectory creation.
Bryce McKinlay [Thu, 29 Mar 2001 00:03:27 +0000 (00:03 +0000)]
configure.in: Use different syntax for subdirectory creation.

       * configure.in: Use different syntax for subdirectory creation.
       * configure: Rebuilt.

From-SVN: r40955

23 years agoMakefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
Richard Henderson [Wed, 28 Mar 2001 22:20:31 +0000 (14:20 -0800)]
Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.

        * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
        Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.

From-SVN: r40952

23 years agoFix abort when passing 1.0L as unnamed argument.
Jim Wilson [Wed, 28 Mar 2001 21:55:09 +0000 (21:55 +0000)]
Fix abort when passing 1.0L as unnamed argument.

* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
operand_subword.

From-SVN: r40951

23 years agoMakefile.am (CXXLINK): Add --tag disable-shared after --tag CXX.
Alexandre Oliva [Wed, 28 Mar 2001 21:18:21 +0000 (21:18 +0000)]
Makefile.am (CXXLINK): Add --tag disable-shared after --tag CXX.

* libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
--tag CXX.
(LIBTOOL): Let automake take care of its definition.
* libsupc++/Makefile.in: Rebuilt.

From-SVN: r40947

23 years ago* g++.old-deja/g++.other/eh4.C: Fix typo.
Loren J. Rittle [Wed, 28 Mar 2001 21:15:55 +0000 (21:15 +0000)]
* g++.old-deja/g++.other/eh4.C: Fix typo.

From-SVN: r40946

23 years ago* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.
Loren J. Rittle [Wed, 28 Mar 2001 21:10:51 +0000 (21:10 +0000)]
* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.

From-SVN: r40943

23 years agoexpr.c (pop_type_0): Call `concat' rather than building the string manually.
Kaveh R. Ghazi [Wed, 28 Mar 2001 19:31:43 +0000 (19:31 +0000)]
expr.c (pop_type_0): Call `concat' rather than building the string manually.

* expr.c (pop_type_0): Call `concat' rather than building the
string manually.
(pop_type): Add format specifier in call to `error'.

* parse.y (patch_method_invocation): Avoid casting away
const-ness.

From-SVN: r40940

23 years agotoplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
Kaveh R. Ghazi [Wed, 28 Mar 2001 19:24:11 +0000 (19:24 +0000)]
toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.

* toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.

* tradcif.y (yyerror): Likewise.  Add format specifier in call to
`error'.

* tradcpp.c (macroexpand): Likewise for call to `error_with_line'.

From-SVN: r40939

23 years agore PR java/2066 (Source parser segfault in resolve_package)
Alexandre Petit-Bianco [Wed, 28 Mar 2001 19:22:05 +0000 (11:22 -0800)]
re PR java/2066 (Source parser segfault in resolve_package)

2001-03-21  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (qualify_ambiguous_name): Broaden `length'
recognition. Help MODIFY_EXPR be resolved as expression names.
Fixes PR java/2066. Fixes PR java/2400.

(http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01935.html)

From-SVN: r40938

23 years agojvgenmain.c (do_mangle_classname): End string constant with '\0'.
Jeffrey Oldham [Wed, 28 Mar 2001 18:16:14 +0000 (18:16 +0000)]
jvgenmain.c (do_mangle_classname): End string constant with '\0'.

2001-03-28  Jeffrey Oldham  <oldham@codesourcery.com>

* jvgenmain.c (do_mangle_classname): End string constant with '\0'.

From-SVN: r40936

23 years agoRevert cflags patch.
DJ Delorie [Wed, 28 Mar 2001 17:50:11 +0000 (12:50 -0500)]
Revert cflags patch.

From-SVN: r40935

23 years ago20010328-1.c: New test.
Philip Blundell [Wed, 28 Mar 2001 17:46:52 +0000 (17:46 +0000)]
20010328-1.c: New test.

2001-03-28  Philip Blundell  <philb@gnu.org>

* gcc.c-torture/compile/20010328-1.c: New test.

From-SVN: r40934

23 years agolibgcc.S (__mulhi3): Correct tests to exit the loop when multiplier or multiplicand...
Marek Michalkiewicz [Wed, 28 Mar 2001 17:11:28 +0000 (19:11 +0200)]
libgcc.S (__mulhi3): Correct tests to exit the loop when multiplier or multiplicand is zero.

* config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
when multiplier or multiplicand is zero.

From-SVN: r40933

23 years agoFix missing barrier problem
Bernd Schmidt [Wed, 28 Mar 2001 14:25:37 +0000 (14:25 +0000)]
Fix missing barrier problem

From-SVN: r40932

23 years agoMake hash values more random
Bernd Schmidt [Wed, 28 Mar 2001 14:21:18 +0000 (14:21 +0000)]
Make hash values more random

From-SVN: r40931

23 years agors6000.h (EPILOGUE_USES): Use TARGET_AIX, not TARGET_TOC for special toc restore...
Richard Henderson [Wed, 28 Mar 2001 12:22:48 +0000 (04:22 -0800)]
rs6000.h (EPILOGUE_USES): Use TARGET_AIX, not TARGET_TOC for special toc restore handling.

        * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
        not TARGET_TOC for special toc restore handling.
        * config/rs6000/rs6000.md (eh_return): Likewise.

From-SVN: r40930

23 years ago* Makefile.in (make-temp-file.o): Depend on config.h.
Richard Henderson [Wed, 28 Mar 2001 11:32:54 +0000 (03:32 -0800)]
* Makefile.in (make-temp-file.o): Depend on config.h.

From-SVN: r40929

23 years agosparc.c (eligible_for_epilogue_delay): False if current_function_calls_eh_return.
Richard Henderson [Wed, 28 Mar 2001 11:23:52 +0000 (03:23 -0800)]
sparc.c (eligible_for_epilogue_delay): False if current_function_calls_eh_return.

        * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
        current_function_calls_eh_return.
        (output_function_epilogue): Handle eh_return.
        * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
        (EH_RETURN_DATA_REGNO): New.
        (EH_RETURN_STACKADJ_RTX): New.
        (EH_RETURN_HANDLER_RTX): New.
        * config/sparc/sparc.md (call/short branch peepholes): Check
        can_throw_internal instead of in_same_eh_region.

From-SVN: r40928

23 years agors6000.c (rs6000_stack_info): Allocate space for eh_return data registers.
Richard Henderson [Wed, 28 Mar 2001 11:19:20 +0000 (03:19 -0800)]
rs6000.c (rs6000_stack_info): Allocate space for eh_return data registers.

        * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
        for eh_return data registers.
        (rs6000_emit_prologue): Save eh_return data registers.
        (rs6000_emit_epilogue): Force inline restores if eh_return.
        Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
        * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
        (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
        (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
        the target uses one.
        * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
        (return_eh_si, return_eh_di): Remove.
        (eh_return): New, from corpse of eh_epilogue.
        (eh_set_lr_si, eh_set_lr_di): New.

From-SVN: r40927

23 years agoi386.c (general_no_elim_operand): Disallow virtual regs.
Richard Henderson [Wed, 28 Mar 2001 11:14:40 +0000 (03:14 -0800)]
i386.c (general_no_elim_operand): Disallow virtual regs.

        * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
        (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
        True for pic register if current_function_calls_eh_return.
        (ix86_expand_epilogue): Change "emit_return" argument into "style".
        Handle eh_return requirements.
        * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
        (EH_RETURN_STACKADJ_RTX): New.
        * config/i386/i386.md (exception_receiver): Remove.
        (eh_return, eh_return_1): New.
        * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.

From-SVN: r40926

23 years agoalpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
Richard Henderson [Wed, 28 Mar 2001 11:09:20 +0000 (03:09 -0800)]
alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.

        * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
        (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
        (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
        * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
        (EH_RETURN_DATA_REGNO): New.
        (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
        * config/alpha/alpha.md (eh_epilogue): Remove.
        (exception_receiver): Use $26 for ldgp input.
        * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.

From-SVN: r40925

23 years agoIA-64 ABI Exception Handling.
Richard Henderson [Wed, 28 Mar 2001 11:04:51 +0000 (03:04 -0800)]
IA-64 ABI Exception Handling.

From-SVN: r40924

23 years agojava-tree.h (throw_node): Define as a single member of java_global_trees instead...
Richard Henderson [Wed, 28 Mar 2001 08:59:30 +0000 (00:59 -0800)]
java-tree.h (throw_node): Define as a single member of java_global_trees instead of a separate array.

        * java-tree.h (throw_node): Define as a single member of
        java_global_trees instead of a separate array.
        (JTI_THROW_NODE): New.
        * decl.c (throw_node): Don't declare.
        (init_decl_processing): Init a scalar throw_node.
        Don't register it for gc.
        * check-init.c (check_init): Reference scalar throw_node.
        * expr.c (build_java_athrow): Likewise.
        * jcf-write.c (generate_bytecode_insns): Likewise.
        * parse.h (BUILD_THROW): Likewise.

From-SVN: r40922

23 years agodecl.c (end_java_method): Do not save and restore flag_non_call_exceptions.
Richard Henderson [Wed, 28 Mar 2001 08:38:22 +0000 (00:38 -0800)]
decl.c (end_java_method): Do not save and restore flag_non_call_exceptions.

        * decl.c (end_java_method): Do not save and restore
        flag_non_call_exceptions.
        * parse.y (source_end_java_method): Likewise.
        * lang.c (flag_exceptions): Don't declare.
        (java_init_options): Set flag_non_call_exceptions.  Set
        flag_exceptions here ...
        (java_init): ... not here.

From-SVN: r40921

23 years agodecl.c (struct named_label_list): Rename eh_region to in_try_scope, add in_catch_scope.
Richard Henderson [Wed, 28 Mar 2001 08:25:45 +0000 (00:25 -0800)]
decl.c (struct named_label_list): Rename eh_region to in_try_scope, add in_catch_scope.

        * decl.c (struct named_label_list): Rename eh_region to
        in_try_scope, add in_catch_scope.
        (struct binding_level): Rename eh_region to is_try_scope,
        add is_catch_scope.
        (note_level_for_try): Rename from note_level_for_eh.
        (note_level_for_catch): New.
        (poplevel): Copy both is_try_scope and is_catch_scope to
        the named_label_list struct.
        (check_previous_goto_1): Don't check for catch block via
        DECL_ARTIFICIAL; use in_try_scope instead.
        (check_goto): Likewise.
        * cp-tree.h (note_level_for_try, note_level_for_catch): Declare.
        * except.c (expand_start_catch_block): Call note_level_for_catch.
        * semantics.c (begin_compound_stmt): Update for note_level_for_try.

From-SVN: r40920

23 years agoDaily bump.
GCC Administrator [Wed, 28 Mar 2001 08:16:40 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40919

23 years agoregmove.c (perhaps_ends_bb_p): Use can_throw_internal to reduce false positives.
Richard Henderson [Wed, 28 Mar 2001 08:08:43 +0000 (00:08 -0800)]
regmove.c (perhaps_ends_bb_p): Use can_throw_internal to reduce false positives.

        * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
        reduce false positives.
        (regmove_optimize): Disable if flag_non_call_exceptions.

From-SVN: r40917

23 years agostmt.c (expand_return): Remove always true predicate.
Richard Henderson [Wed, 28 Mar 2001 07:49:20 +0000 (23:49 -0800)]
stmt.c (expand_return): Remove always true predicate.

        * stmt.c (expand_return): Remove always true predicate.
        (expand_decl_cleanup_no_eh): Remove dead code.

From-SVN: r40916

23 years agosched-deps.c (sched_analyze_insn): Consolidate scheduling barrier code.
Richard Henderson [Wed, 28 Mar 2001 07:42:04 +0000 (23:42 -0800)]
sched-deps.c (sched_analyze_insn): Consolidate scheduling barrier code.

        * sched-deps.c (sched_analyze_insn): Consolidate scheduling
        barrier code.  Add a scheduling barrier if a non-call insn
        can throw internally.

From-SVN: r40915

23 years agortlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
Richard Henderson [Wed, 28 Mar 2001 07:34:51 +0000 (23:34 -0800)]
rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.

        * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
        Auto-inc addresses trap only if their base register does.

From-SVN: r40914

23 years agoexcept.c (can_throw_internal): Rename from can_throw.
Richard Henderson [Wed, 28 Mar 2001 07:29:21 +0000 (23:29 -0800)]
except.c (can_throw_internal): Rename from can_throw.

        * except.c (can_throw_internal): Rename from can_throw.
        * except.h, resource.c: Update references.

From-SVN: r40913

23 years agointegrate.c (copy_insn_list): Use returnjump_p.
Richard Henderson [Wed, 28 Mar 2001 07:20:43 +0000 (23:20 -0800)]
integrate.c (copy_insn_list): Use returnjump_p.

        * integrate.c (copy_insn_list): Use returnjump_p.
        (copy_insn_notes): Recurse for CALL_PLACEHOLDER.

From-SVN: r40912

23 years agofunction.h (struct function): Move all boolean valued fields to single bit fields...
Richard Henderson [Wed, 28 Mar 2001 07:08:57 +0000 (23:08 -0800)]
function.h (struct function): Move all boolean valued fields to single bit fields at the end of the struct.

        * function.h (struct function): Move all boolean valued fields
        to single bit fields at the end of the struct.

From-SVN: r40911

23 years agoflow.c (cleanup_cfg): Take no argument.
Richard Henderson [Wed, 28 Mar 2001 06:53:49 +0000 (22:53 -0800)]
flow.c (cleanup_cfg): Take no argument.

        * flow.c (cleanup_cfg): Take no argument.
        * output.h, sibcall.c, toplev.c: Update all calls.

From-SVN: r40910

23 years agoflow.c (tidy_fallthru_edges): Don't combine complex edges.
Richard Henderson [Wed, 28 Mar 2001 06:22:23 +0000 (22:22 -0800)]
flow.c (tidy_fallthru_edges): Don't combine complex edges.

        * flow.c (tidy_fallthru_edges): Don't combine complex edges.
        (calculate_global_regs_live): Kill call-clobbered registers
        across exception edges.
        * reg-stack.c (convert_regs_1): Kill the entire target stack
        across non-call exception edges.

From-SVN: r40909

23 years agoRemove flag_new_exceptions.
Richard Henderson [Wed, 28 Mar 2001 06:11:49 +0000 (22:11 -0800)]
Remove flag_new_exceptions.

From-SVN: r40908

23 years agocombine.c (distribute_notes): If non-call exceptions, put the note on the trapping...
Richard Henderson [Wed, 28 Mar 2001 05:40:43 +0000 (21:40 -0800)]
combine.c (distribute_notes): If non-call exceptions, put the note on the trapping instruction.

        * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
        exceptions, put the note on the trapping instruction.

From-SVN: r40907

23 years agoexcept.h (flag_non_call_exceptions): Move ...
Richard Henderson [Wed, 28 Mar 2001 05:38:40 +0000 (21:38 -0800)]
except.h (flag_non_call_exceptions): Move ...

        * except.h (flag_non_call_exceptions): Move ...
        * flags.h: ... here.

From-SVN: r40906

23 years agoMake -fsjlj-exceptions a configure option.
Richard Henderson [Wed, 28 Mar 2001 05:24:24 +0000 (21:24 -0800)]
Make -fsjlj-exceptions a configure option.

From-SVN: r40905

23 years ago* parse.y (source_end_java_method): Likewise.
Richard Henderson [Wed, 28 Mar 2001 05:04:20 +0000 (21:04 -0800)]
* parse.y (source_end_java_method): Likewise.

From-SVN: r40904

23 years agogthr-single.h (UNUSED): New.
Richard Henderson [Wed, 28 Mar 2001 04:37:36 +0000 (20:37 -0800)]
gthr-single.h (UNUSED): New.

        * gthr-single.h (UNUSED): New.  Distinguish between how C
        and C++ mark unused function arguments.  Use throughout.

From-SVN: r40903

23 years agobb-reorder.c, [...]: Rename asynchronous_exceptions to flag_non_call_exceptions.
Richard Henderson [Wed, 28 Mar 2001 04:18:13 +0000 (20:18 -0800)]
bb-reorder.c, [...]: Rename asynchronous_exceptions to flag_non_call_exceptions.

        * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
        jump.c, toplev.c:
        Rename asynchronous_exceptions to flag_non_call_exceptions.

        * java/decl.c (end_java_method): Rename asynchronous_exceptions to
        flag_non_call_exceptions.

From-SVN: r40902

23 years ago* memchr.c (memchr): Adjust condition to avoid infinite loop.
Kaveh R. Ghazi [Wed, 28 Mar 2001 04:10:24 +0000 (04:10 +0000)]
* memchr.c (memchr): Adjust condition to avoid infinite loop.

From-SVN: r40899

23 years agoconfigure.in: Don't check for bcopy.
Kaveh R. Ghazi [Wed, 28 Mar 2001 04:05:46 +0000 (04:05 +0000)]
configure.in: Don't check for bcopy.

* configure.in: Don't check for bcopy.
* configure, config.in: Regenerate.

* system.h: Don't define or prototype bcopy, instead poison it.

From-SVN: r40898

23 years agortl.h (LCT_NORETURN): New.
Richard Henderson [Wed, 28 Mar 2001 03:35:05 +0000 (19:35 -0800)]
rtl.h (LCT_NORETURN): New.

        * rtl.h (LCT_NORETURN): New.
        * calls.c (emit_library_call_value_1): Handle it.

From-SVN: r40897

23 years agofunction.c (expand_function_start): Set DECL_REGISTER on a pseudo used for DECL_RESULT.
Richard Henderson [Wed, 28 Mar 2001 03:28:28 +0000 (19:28 -0800)]
function.c (expand_function_start): Set DECL_REGISTER on a pseudo used for DECL_RESULT.

        * function.c (expand_function_start): Set DECL_REGISTER on
        a pseudo used for DECL_RESULT.

From-SVN: r40896

23 years agoobjc-act.c (objc_init): Use dump_base_name.
Stan Shebs [Wed, 28 Mar 2001 02:49:19 +0000 (02:49 +0000)]
objc-act.c (objc_init): Use dump_base_name.

* objc/objc-act.c (objc_init): Use dump_base_name.
        (gen_declaration): Clear the buffer arg.
        (gen_declaration_1): New function, body of gen_declaration.
        (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
        (gen_method_decl): Ditto, plus always clear buffer arg.
        (error_with_ivar): Simplify.
        (warn_with_method): Ditto.
        (build_message_expr): Don't clear buffers.
        (dump_interface): Ditto.
        (objc_debug): Ditto.
        (build_keyword_selector): Clear the buffer by only zeroing
        the first element.
        (objc_implementation_context): Declare.
        (start_class): Warn about missing @end.
        (finish_objc): Ditto.

From-SVN: r40895

23 years agoMakefile.am (CXXLINK): Use CXX again, and choose CXX tag explicitly.
Alexandre Oliva [Wed, 28 Mar 2001 01:19:42 +0000 (01:19 +0000)]
Makefile.am (CXXLINK): Use CXX again, and choose CXX tag explicitly.

* libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
CXX tag explicitly.
* src/Makefile.am (CXXLINK): Likewise.
* libsupc++/Makefile.in, src/Makefile.in: Rebuilt.

From-SVN: r40894

23 years ago* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
Alexandre Oliva [Wed, 28 Mar 2001 01:18:00 +0000 (01:18 +0000)]
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.

From-SVN: r40893

23 years agopt.c (check_default_tmpl_args): Make error messages clearer.
Phil Edwards [Wed, 28 Mar 2001 00:44:39 +0000 (00:44 +0000)]
pt.c (check_default_tmpl_args): Make error messages clearer.

2001-03-27  Phil Edwards  <pme@sources.redhat.com>

* pt.c (check_default_tmpl_args):  Make error messages clearer.

From-SVN: r40889

23 years agoInitialContext.java (init): Fix typo.
Joerg Brunsmann [Wed, 28 Mar 2001 00:32:02 +0000 (00:32 +0000)]
InitialContext.java (init): Fix typo.

2001-03-27  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>

* javax/naming/InitialContext.java (init): Fix typo.
(composeName): Remove unnecessary semicolon.
(addToEnvironment): Remove unnecessary semicolon.
(addToEnvironment): Use put() instead of add().

* javax/naming/InitialContext.java (InitialContext):
Make public.
(destroySubcontext): Method doesn't return a result.
* javax/naming/Context.java: Import java.util.Hashtable.
* javax/naming/Name.java: Import java.util.Enumeration.

From-SVN: r40888

23 years ago* reload1.c (eliminate_regs): Don't abort on MEM USEs.
John David Anglin [Wed, 28 Mar 2001 00:25:25 +0000 (00:25 +0000)]
* reload1.c (eliminate_regs): Don't abort on MEM USEs.

From-SVN: r40887

23 years agoFix ia64-linux kernel miscompile, bad unwind info when reorder epilogue block.
Jim Wilson [Tue, 27 Mar 2001 23:15:04 +0000 (23:15 +0000)]
Fix ia64-linux kernel miscompile, bad unwind info when reorder epilogue block.

* final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
IA64_UNWIND_EMIT.
* config/ia64/ia64.c (block_num, need_copy_state): New static vars.
(process_epilogue): New static function.
(process_set): Call process_epilogue instead of emitting .restore
directly.
(process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.

From-SVN: r40885

23 years agoMakefile.in (SYSTEM_H): Define.
Kaveh R. Ghazi [Tue, 27 Mar 2001 22:57:35 +0000 (22:57 +0000)]
Makefile.in (SYSTEM_H): Define.

* Makefile.in (SYSTEM_H): Define.
Depend on $(SYSTEM_H), not system.h.

* objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.

cp:
* Make-lang.in: Depend on $(SYSTEM_H), not system.h.

f:
* Make-lang.in: Depend on $(SYSTEM_H), not system.h.

java:
* Make-lang.in: Depend on $(SYSTEM_H), not system.h.

From-SVN: r40883

23 years agoFix ia64-linux ICE on bash.
Jim Wilson [Tue, 27 Mar 2001 22:48:03 +0000 (22:48 +0000)]
Fix ia64-linux ICE on bash.

* flow.c (struct reg_cond_life_info): New fields orig_condition
and stores.
(init_propagate_block_info): Set new fields.
(mark_regno_cond_dead): Set and use new fields.
(flush_reg_cond_reg_1): Likewise.
(and_reg_cond, case AND): Check for redundant AND conditions.
(mark_used_reg): Delete unnecessary clears before freeing splay trees.
Set new fields.

From-SVN: r40881

23 years ago* cppmacro.c (stringify_arg): Null terminate strings.
Neil Booth [Tue, 27 Mar 2001 21:04:55 +0000 (21:04 +0000)]
* cppmacro.c (stringify_arg): Null terminate strings.

From-SVN: r40880

23 years agoconfig.gcc (m68hc11-*-*, [...]): Convert to new tm.h inclusion style.
Zack Weinberg [Tue, 27 Mar 2001 20:09:27 +0000 (20:09 +0000)]
config.gcc (m68hc11-*-*, [...]): Convert to new tm.h inclusion style.

* config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
inclusion style.  xm-m68hc11.h no longer exists.
* config/m68hc11/xm-m68hc11.h: Delete file.
* config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.

* config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
Don't define GCC_VERSION, N_, or PARAMS; don't include
gansidecl.h or stdio.h.  Define inhibit_libc here.
Make code conditioned on #if GCC_VERSION > 2095 unconditional.
Delete code conditioned on #if GCC_VERSION == 2095.

* config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
Make code conditioned on #if GCC_VERSION > 2095 unconditional.
Delete code conditioned on #if GCC_VERSION == 2095.

From-SVN: r40878

23 years agoc++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
Benjamin Kosnik [Tue, 27 Mar 2001 19:40:46 +0000 (19:40 +0000)]
c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.

2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.

From-SVN: r40877

23 years agotests_flags.in: Change the order of libstdc++ and libc
Peter Schmid [Tue, 27 Mar 2001 19:17:16 +0000 (19:17 +0000)]
tests_flags.in: Change the order of libstdc++ and libc

k

2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * libstdc++-v3/tests_flags.in: Change the order of libstdc++
          and libc

From-SVN: r40876

23 years agosystem.h: Include symcat.h.
Kaveh R. Ghazi [Tue, 27 Mar 2001 15:31:46 +0000 (15:31 +0000)]
system.h: Include symcat.h.

* system.h: Include symcat.h.
(STRINGIFY): Don't define.

* configure.in: Adjust comment.

* builtins.c: Use STRINGX, not STRINGIFY.
* gencheck.c: Likewise.
* gengenrtl.c: Likewise.
* protoize.c: Likewise.

* cpplex.c: Don't include symcat.h.
* cpplib.c: Likewise.

* gansidecl.h (HAVE_STRINGIZE): Don't define.

From-SVN: r40875

23 years agoDaily bump.
GCC Administrator [Tue, 27 Mar 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40872

23 years ago* c-typeck.c (digest_init): Fold init expression.
Alan Modra [Tue, 27 Mar 2001 06:03:40 +0000 (06:03 +0000)]
* c-typeck.c (digest_init): Fold init expression.

From-SVN: r40867

23 years agodump.c (dump_access): New function.
Mike Yang [Tue, 27 Mar 2001 04:52:21 +0000 (04:52 +0000)]
dump.c (dump_access): New function.

* dump.c (dump_access): New function.
(cp_dump_tree): Use it.  Dump basetype information for class
types.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r40866

23 years agobasic_file.h (get_fileno): Remove.
Benjamin Kosnik [Tue, 27 Mar 2001 03:48:17 +0000 (03:48 +0000)]
basic_file.h (get_fileno): Remove.

2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_file.h (get_fileno): Remove.
(_M_fileno): Remove.
(_M_cfile_created): Add.
(basic_file::basic_file(__c_file_type*, openmode): Add.
(basic_file::basic_file(int, const char*, openmode): Remove.
* include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
const char*, ios_base::openmode): Don't allocate
internal buffers. Turn off internal buffers.
(basic_filebuf::overflow): Remove test for null buffer.
(basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
* include/bits/streambuf.cc: Tweak.
* include/bits/std_ostream.h: Tweak.
* config/basic_file_libio.h: Same.
* config/basic_file_stdio.h: Same.
* src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
* testsuite/27_io/filebuf_members.cc: Tweaks.
* testsuite/27_io/ios_base_members_static.cc: Tweaks.

From-SVN: r40863

23 years ago* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
Kaveh R. Ghazi [Tue, 27 Mar 2001 03:37:03 +0000 (03:37 +0000)]
* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.

From-SVN: r40862

23 years agoexcept.c (eh_regs): Save results of build_pointer_type to a temp as FUNCTION_VALUE...
Alan Modra [Tue, 27 Mar 2001 03:00:07 +0000 (03:00 +0000)]
except.c (eh_regs): Save results of build_pointer_type to a temp as FUNCTION_VALUE macro may...

* except.c (eh_regs): Save results of build_pointer_type to a temp
as FUNCTION_VALUE macro may evaluate its args multiple times.

From-SVN: r40861

23 years agoconfigure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
Jon Beniston [Tue, 27 Mar 2001 02:39:16 +0000 (02:39 +0000)]
configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).

2001-03-27  Jon Beniston  <jon@beniston.com>

* configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
* configure: Rebuilt.
* Makefile.am: Added X86_WIN32 target support.
* Makefile.in: Rebuilt.

* include/ffi.h.in: Added X86_WIN32 target support.

* src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
* src/types.c: Added X86_WIN32 target support.

* src/x86/win32.S: New file. Based on sysv.S, but with EH
stuff removed and made to work with CygWin's gas.

From-SVN: r40860

23 years agoc-common.h (DECL_NUM_STMTS): New macro.
Mark Mitchell [Tue, 27 Mar 2001 02:17:48 +0000 (02:17 +0000)]
c-common.h (DECL_NUM_STMTS): New macro.

* c-common.h (DECL_NUM_STMTS): New macro.
* c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
DECL_FRAME_SIZE.
(pushdecl): Likewise.
* c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
* integrate.c (expand_inline_function): Don't check
DECL_FRAME_SIZE.
* print-tree.c (print_node): Don't print it.
* toplev.c (rest_of_compilation): Don't try to inline when
flag_no_inline is on.
* tree.h (DECL_FRAME_SIZE): Remove.
(tree_decl): Adjust accordingly.

* Makefile.in (optimize.o): Depend on params.h.
(duplicate_decls): Copy DECL_NUM_STMTS, not DECL_FRAME_SIZE.
(init_decl_processing): Set flag_no_inline when doing
inlining-on-trees.
* optimize.c: Include params.h.
(struct inline_data): Improve documentation of FNS.  Add
FIRST_INLINED_FN, INLINED_STMTS, and CLONING_P.
(INSNS_PER_STMT): New macro.
(remap_block): Use CLONING_P.
(inlinable_function_p): Don't inline big functions.
(expand_call_inline): Keep track of how much inlining we've done.
(optimize_function): Set FIRST_INLINED_FN.
(maybe_clone_body): Set CLONING_P.
* semantics.c (simplify_aggr_init_exprs_r): Fix typing problems in
tree nodes.
(genrtl_finish_function): Clear DECL_DEFER_OUTPUT before calling
rest_of_compilation.  Clear DECL_RTL for local variables
afterwards.
(clear_decl_rtl): New function.

* com.c (duplicate_decls): Don't copy DECL_FRAME_SIZE.

* parse.h (DECL_END_SOURCE_LINE): Don't rely on DECL_FRAME_SIZE.

From-SVN: r40859

23 years agoMakefile.am (libffi_files): Use 'find' to pick up libffi libtool objects in subdirect...
Bryce McKinlay [Tue, 27 Mar 2001 00:18:30 +0000 (00:18 +0000)]
Makefile.am (libffi_files): Use 'find' to pick up libffi libtool objects in subdirectories.

* Makefile.am (libffi_files): Use 'find' to pick up libffi libtool
objects in subdirectories.
* Makefile.in: Rebuilt.

From-SVN: r40857

23 years agoerror.c: Also undefine 'A' macro used for cp_printers definition.
Phil Edwards [Mon, 26 Mar 2001 23:41:23 +0000 (23:41 +0000)]
error.c: Also undefine 'A' macro used for cp_printers definition.

2001-03-26  Phil Edwards  <pme@sources.redhat.com>

* error.c:  Also undefine 'A' macro used for cp_printers definition.

From-SVN: r40854

23 years agoconfigure.in: Make target subdirectory in build dir.
Bryce McKinlay [Mon, 26 Mar 2001 22:52:36 +0000 (22:52 +0000)]
configure.in: Make target subdirectory in build dir.

* configure.in: Make target subdirectory in build dir.
* Makefile.am: Override suffix based rules to specify correct output
subdirectory.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

From-SVN: r40853

23 years agoparse.y (find_as_inner_class): Follow current package indications not to mistakingly...
Alexandre Petit-Bianco [Mon, 26 Mar 2001 22:12:16 +0000 (14:12 -0800)]
parse.y (find_as_inner_class): Follow current package indications not to mistakingly load an unrelated class.

2001-03-26  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (find_as_inner_class): Follow current package
indications not to mistakingly load an unrelated class.

(http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01712.html)

From-SVN: r40851

23 years agocombine.c (try_combine): Use memcpy, not bcopy.
Kaveh R. Ghazi [Mon, 26 Mar 2001 16:59:23 +0000 (16:59 +0000)]
combine.c (try_combine): Use memcpy, not bcopy.

* combine.c (try_combine): Use memcpy, not bcopy.

* genattrtab.c (expand_units): Likewise.

From-SVN: r40849

23 years agoi386.md (push mem DI peep2): New.
Jan Hubicka [Mon, 26 Mar 2001 13:56:34 +0000 (15:56 +0200)]
i386.md (push mem DI peep2): New.

* i386.md (push mem DI peep2): New.
(mov 0, mov -1 peep2): Handle 64bit.
(lea to arithmetics peep2): Handle 64bit leas.
(rsp arithmetics to push/pop peep2s): New.

* i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.

From-SVN: r40847

23 years agoi386.c (struct machine_function): Add save_varrargs_registers.
Jan Hubicka [Mon, 26 Mar 2001 12:36:35 +0000 (14:36 +0200)]
i386.c (struct machine_function): Add save_varrargs_registers.

* i386.c (struct machine_function): Add save_varrargs_registers.
(ix86_save_varrargs_registers): New macro.
(ix86_frame_layout): Support 64bit; support red zones and varrargs area.
(ix86_expand_prologue): Likewise.
(ix86_emit_epilogue_esp_adjustement): Likewise.
(ix86_expand_epilogue): Likewise.
* i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
(pro_epilogue_adjust_stack_1): New insn.
(pro_epilogue_adjust_stack_rex64): Likewise.
* i386.h (MASK_NO_RED_ZONE): New constant.
(TARGET_RED_ZONE): New macro.
(TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
(RED_ZONE_SIZE): New constant.
(RED_ZONE_RESERVE): New constant.

From-SVN: r40846

23 years agoImplement DR 209
Nathan Sidwell [Mon, 26 Mar 2001 08:37:27 +0000 (08:37 +0000)]
Implement DR 209

cp:
Implement DR 209
* cp-tree.h (skip_type_access_control,
reset_type_access_control): Prototype.
* decl.c (grokdeclarator): Access of friends is not checked.
* parse.y (component_decl_list): Reset type access control.
* semantics.c (decl_type_access_control): Clear
current_type_lookups.
(save_type_access_control): Don't save if not deferring.
(skip_type_access_control, reset_type_access_control): New
functions.
(begin_class_definition): Do type access control for basetypes.
Start deferred access control.
(finish_class_definition): Resume immediate access control if
this is a local class.
testsuite:
* g++.old-deja/g++.other/friend12.C: New test.
* g++.old-deja/g++.other/friend9.C: Expect no errors.
* g++.old-deja/g++.robertl/eb56.C: Make typedef public.

From-SVN: r40841

23 years agoDaily bump.
GCC Administrator [Mon, 26 Mar 2001 08:16:38 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40840

23 years agoexception.cc (java_eh_info): Make value type jthrowable.
Richard Henderson [Mon, 26 Mar 2001 07:05:32 +0000 (23:05 -0800)]
exception.cc (java_eh_info): Make value type jthrowable.

* exception.cc (java_eh_info): Make value type jthrowable.
(_Jv_type_matcher): Remove now unneeded cast.
(_Jv_Throw): Make argument type jthrowable.  Munge name
for SJLJ_EXCEPTIONS here ...
* gcj/cni.h: ... not here.
(JvThrow): Remove.
* gcj/javaprims.h (_Jv_Throw, _Jv_Sjlj_Throw): Update declarations.

* defineclass.cc, interpret.cc, jni.cc, posix-threads.cc,
prims.cc, resolve.cc, gnu/gcj/runtime/natFirstThread.cc,
gnu/gcj/xlib/natDrawable.cc, gnu/gcj/xlib/natFont.cc,
gnu/gcj/xlib/natWMSizeHints.cc, gnu/gcj/xlib/natWindowAttributes.cc,
gnu/gcj/xlib/natXImage.cc, java/io/natFile.cc,
java/io/natFileDescriptorEcos.cc, java/io/natFileDescriptorPosix.cc,
java/io/natFileDescriptorWin32.cc, java/io/natFileWin32.cc,
java/lang/natClass.cc, java/lang/natClassLoader.cc,
java/lang/natDouble.cc, java/lang/natObject.cc,
java/lang/natPosixProcess.cc, java/lang/natRuntime.cc,
java/lang/natString.cc, java/lang/natSystem.cc,
java/lang/natThread.cc, java/lang/reflect/natArray.cc,
java/lang/reflect/natConstructor.cc, java/lang/reflect/natField.cc,
java/lang/reflect/natMethod.cc, java/util/zip/natDeflater.cc,
java/util/zip/natInflater.cc:
Use throw, not JvThrow or _Jv_Throw.

From-SVN: r40838

23 years ago* toplev.c (set_float_handler): Use memcpy, not bcopy.
Kaveh R. Ghazi [Mon, 26 Mar 2001 02:36:39 +0000 (02:36 +0000)]
* toplev.c (set_float_handler): Use memcpy, not bcopy.

From-SVN: r40837

23 years agoconstants.c (PUTN): Use memcpy, not bcopy.
Kaveh R. Ghazi [Mon, 26 Mar 2001 02:26:09 +0000 (02:26 +0000)]
constants.c (PUTN): Use memcpy, not bcopy.

* constants.c (PUTN): Use memcpy, not bcopy.

* lex.c (java_read_char): Use memmove, not bcopy.

* parse.y (java_parser_context_resume): Use memcpy, not bcopy.

From-SVN: r40836

23 years agoclass.c (add_method): Use memcpy/memmove, not bcopy.
Kaveh R. Ghazi [Mon, 26 Mar 2001 01:48:51 +0000 (01:48 +0000)]
class.c (add_method): Use memcpy/memmove, not bcopy.

* class.c (add_method): Use memcpy/memmove, not bcopy.

* decl.c (duplicate_decls): Likewise.

From-SVN: r40835

23 years ago* gcc.c-torture/execute/20010325-1.c: New test.
Joseph Myers [Sun, 25 Mar 2001 19:27:29 +0000 (20:27 +0100)]
* gcc.c-torture/execute/20010325-1.c: New test.

From-SVN: r40831

23 years agoh8300.md (umodqi3): Output a tab instead of a space.
Kazu Hirata [Sun, 25 Mar 2001 15:15:42 +0000 (15:15 +0000)]
h8300.md (umodqi3): Output a tab instead of a space.

2001-03-25  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.md (umodqi3): Output a tab instead of a
space.
(modqi3): Likewise.
(umodhi3): Likewise.
(modhi3): Likewise.

From-SVN: r40830

23 years agomkconfig.sh (DEFINES): Handle entries with '='.
Kaveh R. Ghazi [Sun, 25 Mar 2001 13:23:30 +0000 (13:23 +0000)]
mkconfig.sh (DEFINES): Handle entries with '='.

* mkconfig.sh (DEFINES): Handle entries with '='.

* config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
Set xm_defines to MACRO=value instead.

* i370/xm-mvs.h: Delete.

* ns32k/xm-pc532-min.h: Likewise.

From-SVN: r40828

23 years agoi386.md (ashldi3, [...]): Change predicates to shiftdi_operand; use ix86_expand_binar...
Jan Hubicka [Sun, 25 Mar 2001 13:03:31 +0000 (15:03 +0200)]
i386.md (ashldi3, [...]): Change predicates to shiftdi_operand; use ix86_expand_binary_operator

* i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
shiftdi_operand;
use ix86_expand_binary_operator
(?sh??i_?): Disable for 64bit.
* i386.h (PREDICATE_CODES): Add shiftdi_operand.
* i386.c (shiftdi_operand): New predicate.

* (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
(rotldi3, rotrdi3): New expanders.

From-SVN: r40827

23 years agoi386.md (movstrsi): Move offline.
Jan Hubicka [Sun, 25 Mar 2001 12:26:42 +0000 (14:26 +0200)]
i386.md (movstrsi): Move offline.

* i386.md (movstrsi): Move offline.
(movstrdi): New.
(strmovdi_rex64): New.
(strmov?i): Accept 64bit.
(strmov?i_rex64): New.
(strmov?i_rex_1): New.
(strmov?i_1): Disable for 64bit.
(rep_mov?i_rex64): New.
(rep_mov?i): Disable for 64bit.
(clrstrsi): Move offline.
(strset?i_rex64): New.
(strset?i: Accept 64bit.
(rep_stos?i): Disable for 64bit.
(rep_stos?i_rex64): New.
(strset?i_rex_1): New.
(strset?i_1): Disable for 64bit.
(cmpstrsi): Accept 64bit.
(cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
(cmpstrqi_nz_rex_1): New.
(cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
(strlensi): Move offline.
(strlendi): New.
(strlenqi_1): Disable for 64bit; fix constraints.
(strlenqi_rex_1): New.
* i386.c (ix86_adjust_counter): New static function.
(ix86_zero_extend_to_Pmode): Likewise.
(ix86_expand_aligntest): Likweise.
(ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
(ix86_expand_movstr): New global function.
(ix86_expand_clrstr): New global function.
(ix86_expand_strlen): New global function.
* i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
ix86_expand_strlen): Declare.
(ix86_expand_strlensi_unroll_1): Delete.

From-SVN: r40826

23 years agoDaily bump.
GCC Administrator [Sun, 25 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40824

23 years agoMakefile.am: New targets, doxygen and doxygen-maint.
Phil Edwards [Sun, 25 Mar 2001 02:28:07 +0000 (02:28 +0000)]
Makefile.am: New targets, doxygen and doxygen-maint.

2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* Makefile.am:  New targets, doxygen and doxygen-maint.
* Makefile.in:  Regenerated.
* docs/doxygen/run_doxygen:  Finally implemented.
* docs/doxygen/maint.cfg.in:  New file.
* docs/doxygen/user.cfg.in:  New file.

From-SVN: r40823

23 years agoacinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
Phil Edwards [Sun, 25 Mar 2001 00:16:58 +0000 (00:16 +0000)]
acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.

2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
* src/Makefile.am:  Replace leading spaces with tabs on continuation
lines.
* aclocal.m4:  Regenerated.
* configure:  Ditto.
* Makefile.in:  Ditto.
* src/Makefile.in:  Ditto.
* libio/Makefile.in:  Ditto.
* libmath/Makefile.in:  Ditto.
* libsupc++/Makefile.in:  Ditto.

From-SVN: r40822

23 years agohowto.html: HTML fixup.
Phil Edwards [Sun, 25 Mar 2001 00:01:57 +0000 (00:01 +0000)]
howto.html: HTML fixup.

2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
concept-checking code and current status of same.
* docs/html/ext/howto.html:  Ditto.
* docs/html/faq/index.html:  Ditto.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r40821

23 years agostd_bitset.h: Include ostream and istream headers instead of iostream.
Phil Edwards [Sat, 24 Mar 2001 23:46:38 +0000 (23:46 +0000)]
std_bitset.h: Include ostream and istream headers instead of iostream.

2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* include/bits/std_bitset.h:  Include ostream and istream headers
instead of iostream.

From-SVN: r40820

23 years agoi386.md (cmpdi): Fix operand predicates.
Jan Hubicka [Sat, 24 Mar 2001 22:18:11 +0000 (23:18 +0100)]
i386.md (cmpdi): Fix operand predicates.

* i386.md (cmpdi): Fix operand predicates.
(cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
 cmpdi_1_insn_rex64): New patterns.
(adddi3): Turn to expander.
(adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
(addsi3_carry_zext): New pattern.
(adddi_?_rex64): New patterns and splitters.
(addsi_?_zext): New patterns.
(subsi3_carry_zext): New pattern.
(subdi_?_rex64): New patterns and splitters.
(iorsi_?_zext): New patterns.
(iordi_?_rex64): New patterns and splitters.
(iorsi_?_zext): New patterns.
(iorsi_?_zext_imm): New patterns.
(xorsi_?_zext): New patterns.
(xordi_?_rex64): New patterns and splitters.
(xorsi_?_zext): New patterns.
(negdi*): New patterns.
(one_cmpldi*): Likewise.
(one_cmplsi*_zext, negsi*_zext): Likewise.
(testqi_ext_3_rex64): New pattern.

From-SVN: r40819

23 years agoi386-protos.h (ix86_split_long_move): Return void.
Jan Hubicka [Sat, 24 Mar 2001 20:15:09 +0000 (21:15 +0100)]
i386-protos.h (ix86_split_long_move): Return void.

* i386-protos.h (ix86_split_long_move): Return void.
* i386.c (ix86_split_to_parts): Handle 64bit target.
(ix86_split_long_move): Likewise.
* i386.md (all calls to ix86_split_long_move): Update.

From-SVN: r40816

23 years agoDaily bump.
GCC Administrator [Sat, 24 Mar 2001 08:16:11 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r40814