OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago2000-08-15 Andrew Haley <aph@cygnus.com>
tromey [Wed, 16 Aug 2000 15:30:02 +0000 (15:30 +0000)]
2000-08-15  Andrew Haley  <aph@cygnus.com>

* include/jvm.h (_Jv_HashCode): New hash code.

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

23 years ago * calls.c (calls_function_1, expand_call): Only test
kenner [Wed, 16 Aug 2000 11:59:03 +0000 (11:59 +0000)]
* calls.c (calls_function_1, expand_call): Only test
TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
* function.c (thread_prologue_and_epilogue_insns): Likewise.

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

23 years ago * combine.c (simplify_shift_const): Revert previous two
rth [Wed, 16 Aug 2000 07:56:04 +0000 (07:56 +0000)]
    * combine.c (simplify_shift_const): Revert previous two
        changes.  If SHIFT_COUNT_TRUNCATED, crop the shift count
        before the main loop.

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

23 years agoDaily bump.
law [Wed, 16 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years agoNew test.
rth [Wed, 16 Aug 2000 06:23:40 +0000 (06:23 +0000)]
New test.

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

23 years ago * combine.c (simplify_shift_const): Bound shift count when
rth [Wed, 16 Aug 2000 06:22:20 +0000 (06:22 +0000)]
    * combine.c (simplify_shift_const): Bound shift count when
        combining shifts.

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

23 years ago2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Wed, 16 Aug 2000 05:00:29 +0000 (05:00 +0000)]
2000-08-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/codecvt.h: New file.
* src/codecvt.cc: New file.
* bits/std_locale.h: Add include here.
* src/Makefile.am (headers): Add codecvt.h
(sources): Add codecvt.cc.
* src/Makefile.in: Regenerate.
* bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
__codecvt_abstract_base in an attempt to point some light this way...
Move __enc_traits and codecvt bits to codecvt.h.
* src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
explicit instantiation. Separate out codecvt instantations, simplify.
* src/locale.cc: Move codecvt bits to codecvt.cc

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

23 years ago2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Wed, 16 Aug 2000 04:12:51 +0000 (04:12 +0000)]
2000-08-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/codecvt.h: New file.
* src/codecvt.cc: New file.
* bits/std_locale.h: Add include here.
* src/Makefile.am (headers): Add codecvt.h
(sources): Add codecvt.cc.
* src/Makefile.in: Regenerate.
* bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
__codecvt_abstract_base in an attempt to point some light this way...
Move __enc_traits and codecvt bits to codecvt.h.
* src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
explicit instantiation. Separate out codecvt instantations, simplify.
* src/locale.cc: Move codecvt bits to codecvt.cc

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

23 years ago * java/io/ByteArrayOutputStream.java: Merged with Classpath.
tromey [Wed, 16 Aug 2000 01:43:42 +0000 (01:43 +0000)]
* java/io/ByteArrayOutputStream.java: Merged with Classpath.

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

23 years ago * calls.c (ECF_SP_DEPRESSED): New macro.
kenner [Wed, 16 Aug 2000 01:23:46 +0000 (01:23 +0000)]
* calls.c (ECF_SP_DEPRESSED): New macro.
(calls_function_1): Treat calling sp-depressed function as alloca.
(emit_call_1): Don't adjust SP if calling sp-depressed function.
(expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
If sp-depressed, ensure block saves and restores SP.
* fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
for INTEGER_TYPE.
* function.c (keep_stack_depressed): New function.
(thread_prologue_and_epilogue_insns): Call it.
* print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
to print DECL_OFFSET_ALIGN.
Print no-force-blk and transparent-union flags properly.
* stmt.c (expand_goto_internal): Don't restore stack if last block
and function returns with sp depressed.
(fixup_gotos): Likewise.
(save_stack_pointer): New function, from code in expand_decl.
(expand_decl): Call new function.
* tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
(TYPE_RETURNS_STACK_DEPRESSED): New macro.
(save_stack_pointer): New declaration.

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

23 years ago * calls.c (ECF_SP_DEPRESSED): New macro.
kenner [Wed, 16 Aug 2000 01:15:37 +0000 (01:15 +0000)]
* calls.c (ECF_SP_DEPRESSED): New macro.
(calls_function_1): Treat calling sp-depressed function as alloca.
(emit_call_1): Don't adjust SP if calling sp-depressed function.
(expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
If sp-depressed, ensure block saves and restores SP.
* fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
for INTEGER_TYPE.
* function.c (keep_stack_depressed): New function.
(thread_prologue_and_epilogue_insns): Call it.
* print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
to print DECL_OFFSET_ALIGN.
Print no-force-blk and transparent-union flags properly.
* stmt.c (expand_goto_internal): Don't restore stack if last block
and function returns with sp depressed.
(fixup_gotos): Likewise.
(save_stack_pointer): New function, from code in expand_decl.
(expand_decl): Call new function.
* tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
(TYPE_RETURNS_STACK_DEPRESSED): New macro.
(save_stack_pointer): New declaration.

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

23 years ago2000-08-14 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 16 Aug 2000 00:05:29 +0000 (00:05 +0000)]
2000-08-14  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c (generate_bytecode_conditional): Re-installed lost
        Jan 6 2000 patch.
        (generate_bytecode_insns): Check `nargs' before emitting it.
        * verify.c (merge_type_state): Fixed typo.
        * ChangeLog: Fixed typo in some jcf-write.c entries mentioning
        generate_bytecode_{conditional,insns}.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00617.html)

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

23 years ago * diagnostic.c (fatal_function): New variable.
kenner [Tue, 15 Aug 2000 21:39:26 +0000 (21:39 +0000)]
* diagnostic.c (fatal_function): New variable.
(set_fatal_function): New function.
(fatal): Call it.
* diagnostic.h (set_fatal_function): New declaration.

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

23 years ago * diagnostic.c (fatal_function): New variable.
kenner [Tue, 15 Aug 2000 21:21:12 +0000 (21:21 +0000)]
* diagnostic.c (fatal_function): New variable.
(set_fatal_function): New function.
(fatal): Call it.
* diagnostic.h (set_fatal_function): New declaration.

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

23 years ago * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
law [Tue, 15 Aug 2000 20:50:39 +0000 (20:50 +0000)]
* config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
(PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
(DWARF2_ASM_LINE_DEBUG_INFO): Defined.

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

23 years agoMinor whitespace fixes
kenner [Tue, 15 Aug 2000 20:47:38 +0000 (20:47 +0000)]
Minor whitespace fixes

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

23 years ago * gcc.dg/c90-array-lval-2.c, gcc.dg/c90-const-expr-2.c,
jsm28 [Tue, 15 Aug 2000 18:08:04 +0000 (18:08 +0000)]
* gcc.dg/c90-array-lval-2.c, gcc.dg/c90-const-expr-2.c,
gcc.dg/c99-array-lval-2.c, gcc.dg/c99-const-expr-2.c,
gcc.dg/c99-func-3.c, gcc.dg/c99-func-4.c: New tests.

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

23 years ago * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
rth [Tue, 15 Aug 2000 17:31:29 +0000 (17:31 +0000)]
    * flow.c (mark_used_reg): Set reg_cond_reg appropriately.

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

23 years agoBump one more time to ensure everyone picks up the fixed version.
law [Tue, 15 Aug 2000 15:40:25 +0000 (15:40 +0000)]
Bump one more time to ensure everyone picks up the fixed version.

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

23 years agoDummy checkin so that rev #s match.
law [Tue, 15 Aug 2000 15:34:14 +0000 (15:34 +0000)]
Dummy checkin so that rev  #s match.

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

23 years ago * tm.texi (LOCAL_REGNO): Document.
law [Tue, 15 Aug 2000 15:33:23 +0000 (15:33 +0000)]
   * tm.texi (LOCAL_REGNO): Document.
        * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
        (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
        * reload1.c (reload): Likewise when considering nonlocal labels.

        * config/ia64/ia64.h (LOCAL_REGNO): New.
        * config/sparc/sparc.h (LOCAL_REGNO): New.
Last real change...

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

23 years ago * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
law [Tue, 15 Aug 2000 15:32:04 +0000 (15:32 +0000)]
    * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.

One more...

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

23 years ago * cppdefault.h (WINT_TYPE): Define.
law [Tue, 15 Aug 2000 15:30:52 +0000 (15:30 +0000)]
    * cppdefault.h (WINT_TYPE): Define.
        * cppinit.c (builtin_array): Define __WINT_TYPE__.
        * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
        * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
Almost done.

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

23 years ago * tm.texi (Register Classes): Clarify order of sub-initializers
law [Tue, 15 Aug 2000 15:29:31 +0000 (15:29 +0000)]
    * tm.texi (Register Classes): Clarify order of sub-initializers
        in REG_CLASS_CONTENTS.
Ho hum...

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

23 years ago * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
law [Tue, 15 Aug 2000 15:28:19 +0000 (15:28 +0000)]
    * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.

Restoring tm.texi after corruption.

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

23 years ago * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
law [Tue, 15 Aug 2000 15:27:11 +0000 (15:27 +0000)]
    * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
        (cse_insn): Likewise.
        (addr_affects_sp_p): Likewise.
        * expr.c (move_by_pieces): Likewise.
        (clear_by_pieces): Likewise.
        * gcse.c (oprs_unchanged_p): Likewise.
        * haifa-sched.c (sched_analyze_2): Likewise.
        * recog.c (offsettable_address_p): Likewise.
        * regclass.c (record_address_regs): Likewise.
        * reload.c (find_reusable_reload): Likewise.
        (push_reload): Likewise.
        (operands_match_p): Likewise.
        (decompose): Likewise.
        (find_reloads_address_1): Likewise.
        (find_inc_amount): Likewise.
        * reload1.c (elimination_effects): Likewise.
        * resource.c (mark_set_resources): Likewise.
        * flow.c (attempt_auto_inc): New function; mostly broken out
        of find_auto_inc.
        (find_auto_inc): Split into two functions and enhanced to
        generate POST_MODIFY.
        * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
        * rtl.h (count_all_occurrences):  Declare.
        (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
        defined.
        * rtlanal.c (count_all_occurrences): New function.
        * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
        HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.

        * config/ia64/ia64-protos.h (destination_operand): Declare.
        * config/ia64/ia64.c (destination_operand): New function.
        (ia64_print_operand): Handle POST_MODIFY.
        (rtx_needs_barrier): Likewise.
        * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
        (HAVE_POST_MODIFY_REG): Define to 1.
        (MAX_REGS_PER_ADDRESS): Change to 2.
        (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
        (LEGITIMATE_ADDRESS_REG): New helper macro.
        (LEGITIMATE_ADDRESS_DISP): Likewise.
        (PREDICATE_CODES): Add entry for destination_operand.
        * config/ia64/ia64.md (all mov patterns): Use destination_operand
        predicate for operand 0.
Restoring tm.texi after corruption.

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

23 years ago * final.c (profile_function): Do not emit profile counters in
law [Tue, 15 Aug 2000 15:25:50 +0000 (15:25 +0000)]
    * final.c (profile_function): Do not emit profile counters in
        the data section, if NO_PROFILE_COUNTERS is defined.
        * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
        FUNCTION_PROFILER.

        * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
        (FUNCTION_PROFILER): Just emit a call to mcount.
Restoring tm.texi after corruption.

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

23 years ago* arm.c (arm_function_ok_for_sibcall): New function.
rearnsha [Tue, 15 Aug 2000 15:14:06 +0000 (15:14 +0000)]
* arm.c (arm_function_ok_for_sibcall): New function.
* arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
* arm.md (call expanders): Don't check here for calls that can't
be sibling calls.

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

23 years ago* arm.md (splits generating cond_exec): Disable.
rearnsha [Tue, 15 Aug 2000 14:59:37 +0000 (14:59 +0000)]
* arm.md (splits generating cond_exec): Disable.

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

23 years ago* arm/linux-elf.h (text_section): Delete declaration.
rearnsha [Tue, 15 Aug 2000 14:23:33 +0000 (14:23 +0000)]
* arm/linux-elf.h (text_section): Delete declaration.

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

23 years agoARM support for unordered FP operations.
rearnsha [Tue, 15 Aug 2000 13:41:34 +0000 (13:41 +0000)]
ARM support for unordered FP operations.
* arm-protos.h (arm_comparison_operator): Declare.
* arm.c (arm_comparison_operator): New function.
(arm_select_cc_mode): Add unordered comparison codes.
(get_arm_condition_code): Likewise.
(arm_final_prescan_insn): Can't handle unordered jumps that can't
be done in one insn.
* arm.h (PREDICATE_CODES): Add arm_comparison_operator.
* arm.md (all uses of comparison_operator): Replace with
arm_comparison_operator.
(bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
expands.
(arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
patterns.

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

23 years agoARM support for unordered FP operations.
rearnsha [Tue, 15 Aug 2000 13:32:11 +0000 (13:32 +0000)]
ARM support for unordered FP operations.
* arm-protos.h (arm_comparison_operator): Declare.
* arm.c (arm_comparison_operator): New function.
(arm_select_cc_mode): Add unordered comparison codes.
(get_arm_condition_code): Likewise.
(arm_final_prescan_insn): Can't handle unordered jumps that can't
be done in one insn.
* arm.h (PREDICATE_CODES): Add arm_comparison_operator.
* arm.md (all uses of comparison_operator): Replace with
arm_comparison_operator.
(bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
expands.
(arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
patterns.

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

23 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
aoliva [Tue, 15 Aug 2000 07:49:58 +0000 (07:49 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

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

23 years agoDaily bump.
law [Tue, 15 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago* src/Makefile.am (INCLUDES): New target file, with all -I flags.
aoliva [Tue, 15 Aug 2000 07:42:36 +0000 (07:42 +0000)]
* src/Makefile.am (INCLUDES): New target file, with all -I flags.
* src/Makefile.in: Regenerate.

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

23 years agoTue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Tue, 15 Aug 2000 07:40:55 +0000 (07:40 +0000)]
Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* gthr-posix.h: Conditionally include <sched.h>; include
<config.h> from libobjc/.

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

23 years agoTue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Tue, 15 Aug 2000 07:39:20 +0000 (07:39 +0000)]
Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* configure.in: Create a config.h file. Check for <sched.h>.
* configure: Regenerate.

* config.h.in: Check for <sched.h>.

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

23 years agoCheck for <sched.h>.
ovidiu [Tue, 15 Aug 2000 07:38:54 +0000 (07:38 +0000)]
Check for <sched.h>.

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

23 years agoCreate a config.h file. Check for <sched.h>.
ovidiu [Tue, 15 Aug 2000 07:38:04 +0000 (07:38 +0000)]
Create a config.h file. Check for <sched.h>.

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

23 years agoConditionally include <sched.h>; include <config.h> from libobjc/.
ovidiu [Tue, 15 Aug 2000 07:36:33 +0000 (07:36 +0000)]
Conditionally include <sched.h>; include <config.h> from libobjc/.

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

23 years ago2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 15 Aug 2000 07:33:00 +0000 (07:33 +0000)]
2000-08-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

C/C++ io merge/sync.
* libio/fileops.c
* libio/genops.c
* libio/iofclose.c
* libio/iofopen.c
* libio/iofwide.c
* libio/libio.h
* libio/libioP.h
* libio/stdio.c
* libio/wfileops.c
* libio/wgenops.c
* config/c_io_libio.cc (__basic_file): Add hacky casts to
((struct _IO_FILE_plus *) in ctors.
(__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
* libio/Makefile.am: Fix copyright. Remove cleanup.c.
* libio/cleanup.c: Remove.
* libio/filedoalloc.c (_IO_file_doallocate): Don't call
_IO_cleanup_registration_needed, even if not libc.

* testsuite/27_io/stringstream.cc (test02): Fix.

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

23 years ago Benjamin Kosnik <bkoz@gnu.org>
bkoz [Tue, 15 Aug 2000 07:30:19 +0000 (07:30 +0000)]
 Benjamin Kosnik  <bkoz@gnu.org>

* *: Merge with mainline glibc sources.
* filedoalloc.c (_IO_file_doallocate): Don't call
_IO_cleanup_registration_needed, even if not libc.
* iofwide.c (_IO_fwide): Correct placement of defines.
* cleanup.c: Remove.

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

23 years ago * configure.in (libstdcxx_flags): Remove -isystem $$s/libio/stdio.
zack [Tue, 15 Aug 2000 01:35:06 +0000 (01:35 +0000)]
* configure.in (libstdcxx_flags): Remove -isystem $$s/libio/stdio.

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

23 years ago * config/i386/i386.c (legitimize_pic_address): Use Pmode
rth [Tue, 15 Aug 2000 01:01:37 +0000 (01:01 +0000)]
    * config/i386/i386.c (legitimize_pic_address): Use Pmode
        for all CONSTs.

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

23 years ago2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 14 Aug 2000 21:14:19 +0000 (21:14 +0000)]
2000-08-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* testsuite/27_io/stringstream.cc (test02): Fix.

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

23 years ago * configure.in (ia64-*): Set float_format for i386 long double.
rth [Mon, 14 Aug 2000 21:01:24 +0000 (21:01 +0000)]
* configure.in (ia64-*): Set float_format for i386 long double.

* real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
as we would for i386 XFmode.
(PUT_REAL): Likewise.
(endian, ereal_atof, real_value_truncate): Likewise.
(ereal_isneg, toe64, etens, make_nan): Likewise.
* real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.

* config/ia64/ia64-protos.h: Update.
* config/ia64/ia64.c (general_tfmode_operand): New.
(destination_tfmode_operand): New.
(tfreg_or_fp01_operand): New.
(ia64_split_timode): New.
(spill_tfmode_operand): New.
(ia64_expand_prologue): Use TFmode not XFmode.
(ia64_expand_epilogue): Likewise.
(ia64_function_arg): Likewise.
(ia64_function_arg_advance): Likewise.
(ia64_return_in_memory): Likewise.
(ia64_function_value): Likewise.
(ia64_print_operand): Likewise.
(ia64_register_move_cost): Set GR<->FR to 5.
(ia64_secondary_reload_class): Get GR for TImode memory op.
* config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
(ROUND_TYPE_ALIGN): Remove.
(LONG_DOUBLE_TYPE_SIZE): Set to 128.
(INTEL_EXTENDED_IEEE_FORMAT): Define.
(HARD_REGNO_NREGS): Use TFmode, not XFmode.
(HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
(MODES_TIEABLE_P): Use TFmode, not XFmode.
(CLASS_MAX_NREGS): Likewise.
(ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
(PREDICATE_CODES): Update.
* config/ia64/ia64.md (movti): New.
(movti_internal): Use a clobber for memory alternatives.
(reload_inti, reload_outti): New.
(movsfcc_astep): Predicate properly.
(movdfcc_astep): Likewise.
(movxf): Remove.
(movtf): New.
(extendsftf2, extenddftf2): New.
(trunctfsf2, trunctfdf2): New.
(floatditf2, fix_trunctfdi2): New.
(floatunsditf2, fixuns_trunctfdi2): New.
(addtf3, subtf3, multf3, abstf2): New.
(negtf2, nabstf2, mintf3, maxtf3): New.
(maddtf3, msubtf3, nmultf3, nmaddtf3): New.
(cmptf): New.
(fr_spill): Use TFmode, not XFmode.
(fr_restore): Likewise.
* config/ia64/lib1funcs.asm (__divtf3): New.
* config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.

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

23 years ago2000-08-14 Brent Verner <brent@rcfile.org>
bkoz [Mon, 14 Aug 2000 20:56:06 +0000 (20:56 +0000)]
2000-08-14  Brent Verner <brent@rcfile.org>

* testsuite/debug_assert.h: new file
* testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
changed conditional #include <c?assert.?h?> to
unconditional #include <debug_assert.h>
* mkcheck.in: added $SRC_DIR/testsuite to include search path
for testsuite compile command.

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

23 years ago * cse.c (fold_rtx): Avoid empty body in an if-statement.
ghazi [Mon, 14 Aug 2000 20:55:11 +0000 (20:55 +0000)]
* cse.c (fold_rtx): Avoid empty body in an if-statement.

* doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
`U' integer constant suffix.

* dwarf2out.c (add_subscript_info): Avoid empty body in an
else-statement.

* sparc/sol2.h (__enable_execute_stack): Prototype.

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

23 years ago * collect2.c: Remove use of AIX import file.
dje [Mon, 14 Aug 2000 20:46:16 +0000 (20:46 +0000)]
* collect2.c: Remove use of AIX import file.
* longlong.h: Test ARCH_PWR not ARCH_POWER.
* rs6000.c (print_operand, case 'E'): Add else.

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

23 years ago * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
rth [Mon, 14 Aug 2000 20:28:11 +0000 (20:28 +0000)]
    * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
        (movdi_symbolic): New.

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

23 years agoSupport for IA-64 specific elf header flags.
wilson [Mon, 14 Aug 2000 20:18:17 +0000 (20:18 +0000)]
Support for IA-64 specific elf header flags.
* config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
* config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
to GNU as.

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

23 years ago * expr.c (emit_group_load): Don't force constants into registers.
rth [Mon, 14 Aug 2000 20:08:25 +0000 (20:08 +0000)]
    * expr.c (emit_group_load): Don't force constants into registers.
        Special case source already in the correct mode.

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

23 years ago2000-08-14 Brent Verner <brent@rcfile.org>
bkoz [Mon, 14 Aug 2000 19:59:26 +0000 (19:59 +0000)]
2000-08-14  Brent Verner <brent@rcfile.org>

* testsuite/debug_assert.h: new file
* testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
changed conditional #include <c?assert.?h?> to
unconditional #include <debug_assert.h>
* mkcheck.in: added $SRC_DIR/testsuite to include search path
for testsuite compile command.

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

23 years ago2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
bkoz [Mon, 14 Aug 2000 19:46:44 +0000 (19:46 +0000)]
2000-08-14  Levente Farkas  <lfarkas@mindmaker.hu>

* bits/std_fstream.h: Remove duplicate typdefs for ofstream and
wofstream, filebuf, wfilebuf, fstream, wfstream.
* bits/std_streambuf.h: Same for streambuf, wstreambuf.
* bits/std_sstream.h: Same for stringstream and wstringstream.
Same for stringbuf, wstringbuf, istringstream, wistringstream,
ostringstream, wostringstream.

* testsuite/26_numerics/valarray.cc: Add test.

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

23 years agotop level:
zack [Mon, 14 Aug 2000 18:08:46 +0000 (18:08 +0000)]
top level:
* configure: Make enable_threads and enable_shared defaults
explicit.  Substitute enable_threads into generated Makefiles.
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
gcc:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* fixinc/inclhack.def: Likewise.
* fixinc/mkfixinc.sh: Likewise.
* configure: Regenerate.
* fixinc/fixincl.x: Regenerate.
* install.texi: Document equivalence of linux and linux-gnu.
libio:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
libstdc++:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
libstdc++-v3:
* configure: Regenerate after change to ../libtool.m4.
libobjc:
* configure: Regenerate after change to ../libtool.m4.

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

23 years ago * cse.c (insert_regs): Also in REG case: When finding an invalid
amylaar [Mon, 14 Aug 2000 17:54:23 +0000 (17:54 +0000)]
* cse.c (insert_regs): Also in REG case: When finding an invalid
value, and we make a new quantity, make sure that it won't be
mistaken by for a valid one by mention_regs.

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

23 years ago * h8300.md: Remove obsolete peepholes.
law [Mon, 14 Aug 2000 15:43:07 +0000 (15:43 +0000)]
    * h8300.md: Remove obsolete peepholes.

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

23 years ago * invoke.texi (H8/300 Options): Fix typos.
law [Mon, 14 Aug 2000 14:45:30 +0000 (14:45 +0000)]
* invoke.texi (H8/300 Options): Fix typos.
* config/h8300.c: Fix formatting.
* config/h8300.h: Fix comment typos.
(OVERRIDE_OPTIONS): Fix formatting.

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

23 years ago * cse.c: Fix formatting.
law [Mon, 14 Aug 2000 14:34:52 +0000 (14:34 +0000)]
    * cse.c: Fix formatting.

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

23 years ago * cse.c: Fix formatting.
law [Mon, 14 Aug 2000 14:31:23 +0000 (14:31 +0000)]
    * cse.c: Fix formatting.

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

23 years ago * objc-features.texi (Top): Move @menu at end of node.
law [Mon, 14 Aug 2000 14:06:53 +0000 (14:06 +0000)]
* objc-features.texi (Top): Move @menu at end of node.

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

23 years ago * g++.old-deja/g++.other/refinit2.C: New test.
nathan [Mon, 14 Aug 2000 10:18:57 +0000 (10:18 +0000)]
* g++.old-deja/g++.other/refinit2.C: New test.

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

23 years ago * cvt.c (warn_ref_binding): New static function, broken out of ...
nathan [Mon, 14 Aug 2000 10:18:15 +0000 (10:18 +0000)]
* cvt.c (warn_ref_binding): New static function, broken out of ...
(convert_to_reference): ... here. Use it.

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

23 years agoDaily bump.
law [Mon, 14 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago* flow.c (attempt_auto_inc): Remove unused variable `bb'.
geoffk [Mon, 14 Aug 2000 05:59:50 +0000 (05:59 +0000)]
* flow.c (attempt_auto_inc): Remove unused variable `bb'.
(attempt_auto_inc): Suppress parentheses warning.
* function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
* loop.c (load_mems): Remove `u' suffix in two places.
* config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
hex constants.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/sol-c0.c: Prototype some functions.  Remove the
__eabi dummy routine.
* config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
variable `buf_ptr'.

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

23 years ago* lib/c-torture.exp (c-torture): Make
geoffk [Mon, 14 Aug 2000 04:15:07 +0000 (04:15 +0000)]
* lib/c-torture.exp (c-torture): Make
compiler_conditional_xfail_data global.
* lib/f-torture.exp (f-torture): Add in torture_eval_before_compile,
compiler_conditional_xfail_data machinery.
(f-torture-execute): Likewise.
* g77.c-torture/compile/20000629-1.x: The test only fails on x86,
and only when unrolling loops.

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

23 years agoMore thanks.
green [Mon, 14 Aug 2000 03:02:50 +0000 (03:02 +0000)]
More thanks.

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

23 years ago* config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
geoffk [Sun, 13 Aug 2000 21:49:36 +0000 (21:49 +0000)]
* config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
not put stuff in .sdata unnecessarily.
(rs6000_unique_section): New function.
* config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
* config/rs6000/sysv4.h (UNIQUE_SECTION): Define.

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

23 years agoIn gcc/:
geoffk [Sun, 13 Aug 2000 21:31:09 +0000 (21:31 +0000)]
In gcc/:
* c-typeck.c (build_array_ref): Don't complain about non-lvalue
arrays in C99.  Don't try to look at DECL_REGISTER of a
COMPONENT_REF.  Don't complain twice about the same error.

In gcc/testsuite/:
* gcc.dg/c99-array-lval-1.c: The test on line 14 now passes.

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

23 years ago* Makefile.in (GCC_FOR_TARGET): Also add -B$$r/gcc/ here.
geoffk [Sun, 13 Aug 2000 20:44:50 +0000 (20:44 +0000)]
* Makefile.in (GCC_FOR_TARGET): Also add -B$$r/gcc/ here.

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

23 years ago2000-08-13 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 13 Aug 2000 18:38:53 +0000 (18:38 +0000)]
2000-08-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* bugs.texi: Describe new ability to emit debug info
for EQUIVALENCE members.
* news.texi: Ditto.

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

23 years ago* fixinc/inclhack.def (aix_pthread): New fix.
geoffk [Sun, 13 Aug 2000 18:00:34 +0000 (18:00 +0000)]
* fixinc/inclhack.def (aix_pthread): New fix.
(aix_sysmachine): New fix.
* fixinc/fixincl.x: Regenerate.

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

23 years ago* expr.c (expand_expr): Call convert_modes when turning a large
geoffk [Sun, 13 Aug 2000 17:01:54 +0000 (17:01 +0000)]
* expr.c (expand_expr): Call convert_modes when turning a large
multiply into a small one.

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

23 years ago * check-init.c (check_init): Add case for BIT_FIELD_REF (required
green [Sun, 13 Aug 2000 16:48:54 +0000 (16:48 +0000)]
* check-init.c (check_init): Add case for BIT_FIELD_REF (required
for -pg builds).

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

23 years agoDaily bump.
law [Sun, 13 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago* tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
geoffk [Sat, 12 Aug 2000 22:45:05 +0000 (22:45 +0000)]
* tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
the tree structure an exponent rather than an explicit alignment
so it doesn't overflow.
(SET_DECL_OFFSET_ALIGN): New macro.
* stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
rather than DECL_OFFSET_ALIGN.
(place_field): Likewise.
* expmed.c (store_bit_field): Abort on align==0 to avoid
antisocial machine behaviour.

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

23 years ago* config-ml.in (CC): Remove bogus duplicate quotation mark from
aoliva [Sat, 12 Aug 2000 22:35:14 +0000 (22:35 +0000)]
* config-ml.in (CC): Remove bogus duplicate quotation mark from
previous delta.

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

23 years ago * sibcall.c (uses_addressof): Accept both addressof and
rth [Sat, 12 Aug 2000 16:28:10 +0000 (16:28 +0000)]
    * sibcall.c (uses_addressof): Accept both addressof and
        current_function_internal_arg_pointer inside a mem.
        (optimize_sibling_and_tail_recursive_call): Fail tail recursion
        if current_function_uses_addressof.
        * stmt.c (expand_return): Kill tail recursion and HAVE_return
        optimizations.

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

23 years agoDaily bump.
law [Sat, 12 Aug 2000 07:45:06 +0000 (07:45 +0000)]
Daily bump.

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

23 years agotweak comment
jason [Sat, 12 Aug 2000 02:09:28 +0000 (02:09 +0000)]
tweak comment

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

23 years ago * parse.y (template_arg): Add rule for template qualified with
jason [Sat, 12 Aug 2000 02:09:02 +0000 (02:09 +0000)]
    * parse.y (template_arg): Add rule for template qualified with
        global scope.

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

23 years ago * decl2.c (add_function): Reorganize.
jason [Sat, 12 Aug 2000 01:30:06 +0000 (01:30 +0000)]
    * decl2.c (add_function): Reorganize.
        (arg_assoc): Do not consider function template decls.

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

23 years ago * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
jason [Sat, 12 Aug 2000 00:55:05 +0000 (00:55 +0000)]
    * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
        if (AUTO_DEMANGLING || GNU_DEMANGLING)

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

23 years ago * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
jason [Sat, 12 Aug 2000 00:48:46 +0000 (00:48 +0000)]
    * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        CXX_FOR_TARGET): Add -B$$r/gcc/ here.
        (FLAGS_FOR_TARGET): Not here.
        (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.

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

23 years ago * decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're
jason [Sat, 12 Aug 2000 00:02:49 +0000 (00:02 +0000)]
    * decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're
        looking inside.

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

23 years ago * config/ia64/ia64.md (addsi3): Remove expander.
rth [Fri, 11 Aug 2000 23:48:26 +0000 (23:48 +0000)]
    * config/ia64/ia64.md (addsi3): Remove expander.
        (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
        (*addsi3_shladd): New.

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

23 years ago * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
rth [Fri, 11 Aug 2000 23:10:10 +0000 (23:10 +0000)]
    * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
        (do_restore): Likewise.
        (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
        (ia64_expand_prologue, ia64_expand_epilogue): Use them.
        (rtx_needs_barrier): Track actual bit manipulation for
        ar.unat moves, gr_spill, and gr_restore.
        (emit_insn_group_barriers): Special case gr_spill/gr_restore.
        (process_set): Don't handle varargs spills.
        * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
        .mem.offset here instead of in process_set.
        (gr_restore): Likewise.

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

23 years ago * std/straits.h (is_del): Boolify with !!.
jason [Fri, 11 Aug 2000 22:41:38 +0000 (22:41 +0000)]
    * std/straits.h (is_del): Boolify with !!.

        * std/bastring.cc (compare to charT*): Add rlen==n check.
        * std/bastring.h (Rep::grab): Add x86 atomic version.

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

23 years ago * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
rth [Fri, 11 Aug 2000 22:25:22 +0000 (22:25 +0000)]
    * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.

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

23 years ago* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Use slightly more
geoffk [Fri, 11 Aug 2000 22:02:04 +0000 (22:02 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Use slightly more
portable shell script to convert blanks to commas in $LANGUAGES.

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

23 years ago2000-08-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Fri, 11 Aug 2000 22:01:37 +0000 (22:01 +0000)]
2000-08-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * class.c (maybe_layout_super_class): Fixed indentation.
        * java-tree.h (CLASS_METHOD_CHECKED_P): New macro.
        (java_check_methods): New function declaration.
        * jcf-parse.c (get_constant): Let `char_len' go up to 3. Use `str'
        instead of `str_ptr'.
        * jcf-write.c (generate_bytecode_insns): Emit number the of args
        of a `invokeinterface' at the right time.
        * parse.h (WFL_STRIP_BRACKET): New macro.
        (SET_TYPE_FOR_RESOLUTION): Use it.
        * parse.y (build_unresolved_array_type): Reuse `type_or_wfl.'
        (check_class_interface_creation): Don't check for cross package
        innerclass name clashes.
        (method_header): Behave properly if MDECL is `error_mark_node.'
        (method_declarator): Return `error_mark_node' if bogus current
        class.
        (resolve_class): Apply WFL_STRIP_BRACKET on `cl' if necessary.
        (resolve_and_layout): New local `decl_type', set and used. Call
        java_check_methods.
        (java_check_methods): New method.
        (java_layout_classes): Use it.
        (resolve_qualified_expression_name): No EH check necessary in
        access$<n>.
        (java_complete_lhs): Use VAR_DECL's DECL_INITIAL when evaluating
        `case' statement.
        (patch_assignment): Set DECL_INITIAL on integral final local.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00516.html)

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

23 years ago * objc-features.texi: Move @node Top before @menu.
law [Fri, 11 Aug 2000 21:25:29 +0000 (21:25 +0000)]
* objc-features.texi: Move @node Top before @menu.

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

23 years ago * gcc.texi (The Configuration File): Document
law [Fri, 11 Aug 2000 21:23:00 +0000 (21:23 +0000)]
    * gcc.texi (The Configuration File): Document
        COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
        UPDATE_PATH_HOST_CANONICALIZATION.

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

23 years ago * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
ghazi [Fri, 11 Aug 2000 16:25:02 +0000 (16:25 +0000)]
* c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
unprototyped function pointer casts on integer constants.

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

23 years ago2000-08-11 G. Helffrich <george@gly.bris.ac.uk>
toon [Fri, 11 Aug 2000 16:11:08 +0000 (16:11 +0000)]
2000-08-11  G. Helffrich  <george@gly.bris.ac.uk>
            Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable
so that debug info can be attached to their storage.
Unconditionally list the storage set aside for them.

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

23 years ago * fixproto: Recognize DOS paths with drive letters as absolute paths.
law [Fri, 11 Aug 2000 15:20:10 +0000 (15:20 +0000)]
    * fixproto: Recognize DOS paths with drive letters as absolute paths.

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

23 years ago* config-ml.in (CC, CXX): Don't introduce a leading space.
aoliva [Fri, 11 Aug 2000 14:55:08 +0000 (14:55 +0000)]
* config-ml.in (CC, CXX): Don't introduce a leading space.

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

23 years ago * cp-tree.h (resolve_scope_to_name): Remove unused prototype.
nathan [Fri, 11 Aug 2000 14:09:15 +0000 (14:09 +0000)]
* cp-tree.h (resolve_scope_to_name): Remove unused prototype.
(lookup_nested_tag): Likewise.

* decl2.c (grokfield): Fix comment to reflect many types of _DECLs
can be produced.

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

23 years ago * parse.y (named_complex_class_head_sans_basetype): Remove
nathan [Fri, 11 Aug 2000 13:53:39 +0000 (13:53 +0000)]
* parse.y (named_complex_class_head_sans_basetype): Remove
always true if.

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

23 years ago * extend.texi (Volatiles): Fix typos.
nathan [Fri, 11 Aug 2000 13:42:32 +0000 (13:42 +0000)]
* extend.texi (Volatiles): Fix typos.

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