]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agoi960.c (i960_br_predict_opcode): Remove.
Richard Henderson [Thu, 1 Jun 2000 16:29:09 +0000 (09:29 -0700)]
i960.c (i960_br_predict_opcode): Remove.

        * i960.c (i960_br_predict_opcode): Remove.
        (i960_print_operand) [+]: Emit branch prediction hints.
        (i960_function_arg): Return early for VOIDmode.
        (i960_round_align): Return early for incomplete types.
        * i960.h (PRINT_OPERAND_PUNCT_VALID_P): New.
        * i960.md (all conditional branches): Add "%+".

From-SVN: r34342

24 years agoalias.c (get_alias_set): Don't call language-specific routine more than is needed...
Richard Kenner [Thu, 1 Jun 2000 16:18:18 +0000 (16:18 +0000)]
alias.c (get_alias_set): Don't call language-specific routine more than is needed and clean up code a bit.

* alias.c (get_alias_set): Don't call language-specific routine more
than is needed and clean up code a bit.
* c-common.c (c_get_alias_set): All references whose type
is char get alias set 0, but character types need not.
* varasm.c (make_function_rtl): Don't call set_mem_attributes.
(make_decl_rtl): Don't call it for FUNCTION_DECL.

From-SVN: r34341

24 years agore GNATS gcj/129 (Static array length access bug in gcj)
Alexandre Petit-Bianco [Thu, 1 Jun 2000 16:04:14 +0000 (16:04 +0000)]
re GNATS gcj/129 (Static array length access bug in gcj)

2000-05-02  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (resolve_field_access): Call the appropriate <clinit>
        before accessing the length of a static array. Craft a decl for
        the field while its time.

(Fixes the PR #129:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00013.html)

From-SVN: r34340

24 years agonew check result files for fixinc
Bruce Korb [Thu, 1 Jun 2000 14:51:11 +0000 (14:51 +0000)]
new check result files for fixinc

From-SVN: r34339

24 years agoi386.c (ix86_use_fcomi_compare): Make global.
Clinton Popetz [Thu, 1 Jun 2000 14:41:31 +0000 (14:41 +0000)]
i386.c (ix86_use_fcomi_compare): Make global.

* config/i386/i386.c (ix86_use_fcomi_compare): Make global.
* config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare.
* config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we
will use FCOMI.

From-SVN: r34338

24 years ago* Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.
Richard Henderson [Thu, 1 Jun 2000 10:13:19 +0000 (03:13 -0700)]
* Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.

From-SVN: r34337

24 years ago* decl.c (init_decl_processing): Set lang_get_alias_set first thing.
Richard Henderson [Thu, 1 Jun 2000 09:44:58 +0000 (02:44 -0700)]
* decl.c (init_decl_processing): Set lang_get_alias_set first thing.

From-SVN: r34336

24 years ago* c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.
Richard Henderson [Thu, 1 Jun 2000 09:44:37 +0000 (02:44 -0700)]
* c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.

From-SVN: r34335

24 years agodecl2.c (unsupported_options): Fix typo, make const.
Richard Henderson [Thu, 1 Jun 2000 09:40:07 +0000 (02:40 -0700)]
decl2.c (unsupported_options): Fix typo, make const.

        * decl2.c (unsupported_options): Fix typo, make const.
        (lang_decode_option): Fix bsearch argument order.

From-SVN: r34334

24 years agoDaily bump.
Jeff Law [Thu, 1 Jun 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34333

24 years agoclass.c (common_enclosing_context_p): New function.
Alexandre Petit-Bianco [Thu, 1 Jun 2000 07:44:58 +0000 (07:44 +0000)]
class.c (common_enclosing_context_p): New function.

2000-04-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (common_enclosing_context_p): New function.
* java-tree.h (common_enclosing_context_p): Added prototype.
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Relaxed test to allow
classes sharing an outer context with the current instance.
* parse.y (build_access_to_thisn): Fixed leading comment.
(verify_constructor_super): New local `supper_inner'. Skip
enclosing context argument in the case of inner class constructors.
(patch_method_invocation): Insert proper context as second
parameter to pure inner class constructor super invocations.

This fixes the Java PR #177.

From-SVN: r34332

24 years agoinit.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE on FIELD_DECLs.
Mark Mitchell [Thu, 1 Jun 2000 07:33:19 +0000 (07:33 +0000)]
init.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE on FIELD_DECLs.

* init.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE
on FIELD_DECLs.

From-SVN: r34331

24 years agore GNATS gcj/71 (failure to compile an interface method invocation on a sub-interface)
Alexandre Petit-Bianco [Thu, 1 Jun 2000 06:41:11 +0000 (06:41 +0000)]
re GNATS gcj/71 (failure to compile an interface method invocation on a sub-interface)

2000-04-05  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* jcf-write.c (generate_bytecode_insns): At invokation time,
always relate an interface method to the type of its selector.

(Fix to the PR #71:
 http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00040.html)

From-SVN: r34330

24 years agoparse.y (maybe_yank_clinit): New function.
Alexandre Petit-Bianco [Thu, 1 Jun 2000 05:54:26 +0000 (05:54 +0000)]
parse.y (maybe_yank_clinit): New function.

2000-04-17  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (maybe_yank_clinit): New function.
        (maybe_generate_pre_expand_clinit): Always link <clinit> at the
        end of the list of methods belonging to a class.
        (java_complete_expand_method): Check whether <clinit> is really
        necessary and expand it accordingly.

From-SVN: r34329

24 years agolocale_facets.tcc (num_get<char>::_M_extract): Fix signage, exponent, and scientific...
Benjamin Kosnik [Thu, 1 Jun 2000 02:55:30 +0000 (02:55 +0000)]
locale_facets.tcc (num_get<char>::_M_extract): Fix signage, exponent, and scientific formatting issues.

2000-05-31  Russell Davidson  <russell@ehess.cnrs-mrs.fr>

* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
exponent, and scientific formatting issues.
* testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.

From-SVN: r34328

24 years agolimits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN and WCHAR_MAX instead of...
Branko Cibej [Thu, 1 Jun 2000 01:36:14 +0000 (03:36 +0200)]
limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.

2000-05-31  Branko Cibej  <branko.cibej@hermes.si>

        * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
        and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.

From-SVN: r34327

24 years agocp-tree.h (c_get_alias_set): Deleted.
Richard Kenner [Thu, 1 Jun 2000 01:16:52 +0000 (01:16 +0000)]
cp-tree.h (c_get_alias_set): Deleted.

* cp-tree.h (c_get_alias_set): Deleted.
* Makefile.in (decl.o): Include ../expr.h.
* decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34326

24 years agoMakefile.in (c-decl.o): Depend on rtl.h and expr.h.
Richard Kenner [Thu, 1 Jun 2000 01:12:19 +0000 (21:12 -0400)]
Makefile.in (c-decl.o): Depend on rtl.h and expr.h.

* Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
* alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
(REG_BASE_VALUE): Remove unneeded cast to unsigned.
(get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
(find_base_decl): New function, from c_find_base_decl in c-common.c.
(new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
(get_alias_set): Likewise.
Major rework to do more things and allow language-specific code
to just handle special-cases.
(record_alias_subset): Args are HOST_WIDE_INT.
(record_component_alias): Local vars are HOST_WIDE_INT.
Don't handle COMPLEX_EXPR.
(get_varargs_alias_set): Moved from builtins.c.
(get_frame_alias_set): New function.
* builtins.c (expand_builtin_return_address): Use frame alias set.
(expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
for setjmp buffer.
(get_memory_rtx): Rework to use set_mem_attributes.
(get_varargs_alias_set): Deleted from here.
* c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
(c_find_base_decl): Deleted from here.
(c_get_alias_set): Remove many cases and rework to just handle
C-specific cases.
* c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
* c-decl.c (rtl.h, expr.h): Now included.
(init_decl_processing): Call record_component_aliases on array types.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for all fields that are not bitfields.
* c-typeck.c (common_type): Call record_component_aliases for array.
* caller-save.c (setup_save_areas): Rework register loop for unsigned.
Set all save areas to the frame alias set.
* calls.c (initialie_argument_information): Call set_mem_attributes.
(compute_argument_addresses, expand_call): Likewise.
* explow.c (set_mem_attributes): New function.
(stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
* expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
LEN and OFFSET now HOST_WIDE_INT.
(clear_by_pieces): Similar changes.
(move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
(move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
(move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
(clear_by_pieces_1): Likewise.
(emit_push_insn): Call set_mem_attributes.
(expand_expr, case INDIRECT_REF): Likewise.
(expand_expr, case VAR_DECL): Call change_address.
* expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
tree_low_cst.
(get_varargs_alias_set, get_frame_alias_set): New decls.
(record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
(new_alias_set, set_mem_attributes): Likewse.
* function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
(assign_stack_temp_for_type): Likewise.
Can split slot even if alias set since can copy.
Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
(assign_temp): Use host_integerp and tree_low_cst.
(put_var_into_stack): Properly handle SAVE_EXPR.
(put_addressof_into_stack): Likewise.
(assign_parms): Call set_mem_attributes.
Delete #if 0 code.
(fix_lexical_address): Put reference to chain into frame alias set.
(expand_function_start): Call set_mem_attributes.
* integrate.c (expand_inline_function): Likewise.
* recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (alter_reg): Make alias sets for spilled pseudos.
* rtl.def (MEM): Update comment.
* rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
(move_by_pieces): Change length to HOST_WIDE_INT.
(record_base_value, record_alias_subset): Delete from here.
* stmt.c (expand_decl): Call set_mem_attributes.
* stor-layout.c (finish_record_layout): Call record_component_aliases.i
* toplev.c (compile_file): Call init_alias_once earlier.
* tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
from here: now in alias.c.
* tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
(struct tree_decl): Likewise.
(get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
* varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
(output_constant_def, force_const_mem): Likewise.
* cp/Makefile.in (decl.o): Include ../expr.h.
* cp/decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* cp/tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34325

24 years agothanks.html: edit own credits
Nathan Myers [Thu, 1 Jun 2000 01:06:56 +0000 (01:06 +0000)]
thanks.html: edit own credits

2000-05-31  Nathan Myers  <ncm@cantrip.org>

       * docs/thanks.html: edit own credits

From-SVN: r34324

24 years agogeneric_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
Benjamin Kosnik [Thu, 1 Jun 2000 01:01:34 +0000 (01:01 +0000)]
generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.

2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

From-SVN: r34323

24 years agoacinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
Benjamin Kosnik [Thu, 1 Jun 2000 00:56:37 +0000 (00:56 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

From-SVN: r34322

24 years ago[multiple changes]
Benjamin Kosnik [Thu, 1 Jun 2000 00:52:26 +0000 (00:52 +0000)]
[multiple changes]

2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

2000-05-31 Steven King <sxking@uswest.net>

        * shadow/time.h: fix typo
        * shadow/wchar.h: ifdef __USE_GNU for wcsdup
        * shadow/bits/std_cwchar.h: ditto
        * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
        and long long.

From-SVN: r34321

24 years agoparse.y (resolve_field_access): Complete the DECL_INITIAL tree before using it as...
Alexandre Petit-Bianco [Thu, 1 Jun 2000 00:28:32 +0000 (00:28 +0000)]
parse.y (resolve_field_access): Complete the DECL_INITIAL tree before using it as the accessed field.

2000-05-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (resolve_field_access): Complete the DECL_INITIAL tree
        before using it as the accessed field.

From-SVN: r34320

24 years agoia64.c (sdata_symbolic_operand): Consider small CONSTANT_POOL_ADDRESS_P addresses...
Richard Henderson [Thu, 1 Jun 2000 00:14:13 +0000 (17:14 -0700)]
ia64.c (sdata_symbolic_operand): Consider small CONSTANT_POOL_ADDRESS_P addresses for .sdata.

        * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
        CONSTANT_POOL_ADDRESS_P addresses for .sdata.
        * config/ia64/sysv4.h (SELECT_RTX_SECTION): New.

From-SVN: r34319

24 years agoia64-protos.h (ia64_expand_prediction): Remove.
Richard Henderson [Thu, 1 Jun 2000 00:10:35 +0000 (17:10 -0700)]
ia64-protos.h (ia64_expand_prediction): Remove.

        * config/ia64/ia64-protos.h (ia64_expand_prediction): Remove.
        * config/ia64/ia64.c (ia64_expand_prediction): Move code ...
        (ia64_print_operand) [+]: ... here.  Use current_output_insn.
        * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): New.
        * config/ia64/ia64.md (all branch/call patterns): Use %+.

From-SVN: r34318

24 years agoifcvt.c (merge_if_block): Be prepared for JOIN to have no remaining edges.
Richard Henderson [Thu, 1 Jun 2000 00:03:36 +0000 (17:03 -0700)]
ifcvt.c (merge_if_block): Be prepared for JOIN to have no remaining edges.

        * ifcvt.c (merge_if_block): Be prepared for JOIN to have no
        remaining edges.
        (find_if_block): Allow THEN with no outgoing edges.
        * flow.c (merge_blocks_nomove): Remove a barrier not following
        a jump as well.

From-SVN: r34317

24 years ago* ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
Richard Henderson [Wed, 31 May 2000 23:58:46 +0000 (16:58 -0700)]
* ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.

From-SVN: r34316

24 years agoflow.c (merge_blocks_nomove): Remove a barrier not following a jump as well.
Richard Henderson [Wed, 31 May 2000 23:57:00 +0000 (16:57 -0700)]
flow.c (merge_blocks_nomove): Remove a barrier not following a jump as well.

        * flow.c (merge_blocks_nomove): Remove a barrier not following
        a jump as well.

From-SVN: r34315

24 years agojava-tree.h (boolean_array_vtable, [...]): Declare.
Tom Tromey [Wed, 31 May 2000 23:55:54 +0000 (23:55 +0000)]
java-tree.h (boolean_array_vtable, [...]): Declare.

* java-tree.h (boolean_array_vtable, byte_array_vtable,
char_array_vtable, short_array_vtable, int_array_vtable,
long_array_vtable, float_array_vtable, double_array_vtable):
Declare.
* expr.c (get_primitive_array_vtable): New function.
(create_primitive_vtable): New function.
(java_lang_expand_expr): Enable code to statically generate
arrays.
* decl.c (init_decl_processing): Create primitive vtables.
(boolean_array_vtable, byte_array_vtable, char_array_vtable,
short_array_vtable, int_array_vtable, long_array_vtable,
float_array_vtable, double_array_vtable): Define.

From-SVN: r34314

24 years agoMakefile.in (STROBJS): Get memmove.o from configure.
Richard Henderson [Wed, 31 May 2000 23:54:07 +0000 (16:54 -0700)]
Makefile.in (STROBJS): Get memmove.o from configure.

        * Makefile.in (STROBJS): Get memmove.o from configure.
        * configure.in (RANLIB): Detect and substitute.
        (memmove): Detect and substitute.
        * memmove.c (memmove): Use size_t.

From-SVN: r34313

24 years agoprims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.
Tom Tromey [Wed, 31 May 2000 23:50:37 +0000 (23:50 +0000)]
prims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.

* prims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.
(_Jv_PrimClass): Set `methods' by calling _Jv_FindArrayClass.
* include/jvm.h (struct _Jv_ArrayVTable): Declare.
(NUM_OBJECT_METHODS): New define.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
`array_vtable' parameter.  Added assertion.
* java/lang/Class.h (_Jv_FindArrayClass): Added `array_vtable'
parameter.

From-SVN: r34312

24 years agocni.h: Include <string.h>.
Bryce McKinlay [Wed, 31 May 2000 22:49:19 +0000 (22:49 +0000)]
cni.h: Include <string.h>.

2000-05-31  Bryce McKinlay  <bryce@albatross.co.nz>

* gcj/cni.h: Include <string.h>.
* defineclass.cc: Include <alloca.h>.
* interpret.cc: Ditto.
* gij.cc: Include <stdlib.h>.

From-SVN: r34311

24 years agoflow.c (propagate_block): Move initialization of mem_set_list ...
Richard Henderson [Wed, 31 May 2000 22:29:38 +0000 (15:29 -0700)]
flow.c (propagate_block): Move initialization of mem_set_list ...

        * flow.c (propagate_block): Move initialization of mem_set_list ...
        (init_propagate_block_info): ... here.  Also track blocks with
        no successors; don't scan insns if ! PROP_SCAN_DEAD_CODE.

From-SVN: r34310

24 years agoAdd documentation of TREE_ADDRESSABLE in FIELD_DECL
Richard Kenner [Wed, 31 May 2000 20:53:37 +0000 (16:53 -0400)]
Add documentation of TREE_ADDRESSABLE in FIELD_DECL

From-SVN: r34309

24 years agoMakefile.in (c-decl.o): Depend on rtl.h and expr.h.
Richard Kenner [Wed, 31 May 2000 20:01:57 +0000 (16:01 -0400)]
Makefile.in (c-decl.o): Depend on rtl.h and expr.h.

* Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
* alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
(REG_BASE_VALUE): Remove unneeded cast to unsigned.
(get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
(find_base_decl): New function, from c_find_base_decl in c-common.c.
(new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
(get_alias_set): Likewise.
Major rework to do more things and allow language-specific code
to just handle special-cases.
(record_alias_subset): Args are HOST_WIDE_INT.
(record_component_alias): Local vars are HOST_WIDE_INT.
Don't handle COMPLEX_EXPR.
(get_varargs_alias_set): Moved from builtins.c.
(get_frame_alias_set): New function.
* builtins.c (expand_builtin_return_address): Use frame alias set.
(expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
for setjmp buffer.
(get_memory_rtx): Rework to use set_mem_attributes.
(get_varargs_alias_set): Deleted from here.
* c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
(c_find_base_decl): Deleted from here.
(c_get_alias_set): Remove many cases and rework to just handle
C-specific cases.
* c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
* c-decl.c (rtl.h, expr.h): Now included.
(init_decl_processing): Call record_component_aliases on array types.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for all fields that are not bitfields.
* c-typeck.c (common_type): Call record_component_aliases for array.
* caller-save.c (setup_save_areas): Rework register loop for unsigned.
Set all save areas to the frame alias set.
* calls.c (initialie_argument_information): Call set_mem_attributes.
(compute_argument_addresses, expand_call): Likewise.
* explow.c (set_mem_attributes): New function.
(stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
* expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
LEN and OFFSET now HOST_WIDE_INT.
(clear_by_pieces): Similar changes.
(move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
(move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
(move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
(clear_by_pieces_1): Likewise.
(emit_push_insn): Call set_mem_attributes.
(expand_expr, case INDIRECT_REF): Likewise.
(expand_expr, case VAR_DECL): Call change_address.
* expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
tree_low_cst.
(get_varargs_alias_set, get_frame_alias_set): New decls.
(record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
(new_alias_set, set_mem_attributes): Likewse.
* function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
(assign_stack_temp_for_type): Likewise.
Can split slot even if alias set since can copy.
Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
(assign_temp): Use host_integerp and tree_low_cst.
(put_var_into_stack): Properly handle SAVE_EXPR.
(put_addressof_into_stack): Likewise.
(assign_parms): Call set_mem_attributes.
Delete #if 0 code.
(fix_lexical_address): Put reference to chain into frame alias set.
(expand_function_start): Call set_mem_attributes.
* integrate.c (expand_inline_function): Likewise.
* recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (alter_reg): Make alias sets for spilled pseudos.
* rtl.def (MEM): Update comment.
* rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
(move_by_pieces): Change length to HOST_WIDE_INT.
(record_base_value, record_alias_subset): Delete from here.
* stmt.c (expand_decl): Call set_mem_attributes.
* stor-layout.c (finish_record_layout): Call record_component_aliases.i
* toplev.c (compile_file): Call init_alias_once earlier.
* tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
from here: now in alias.c.
* tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
(struct tree_decl): Likewise.
(get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
* varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
(output_constant_def, force_const_mem): Likewise.
* cp/Makefile.in (decl.o): Include ../expr.h.
* cp/decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* cp/tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34308

24 years ago* jump.c (jump_optimize_1): Revert 05-18 change.
Richard Henderson [Wed, 31 May 2000 19:34:19 +0000 (12:34 -0700)]
* jump.c (jump_optimize_1): Revert 05-18 change.

From-SVN: r34307

24 years agoinvoke.texi: Remove documentation for -fguiding-decls.
Mark Mitchell [Wed, 31 May 2000 19:27:12 +0000 (19:27 +0000)]
invoke.texi: Remove documentation for -fguiding-decls.

* invoke.texi: Remove documentation for -fguiding-decls.

Remove guiding declaration support.
* cp/cp-tree.h (flag_dump_translation_unit): Make it const.
(flag_guiding_decls): Remove.
* call.c (build_user_type_conversion_1): Remove support for
guiding decls.
(build_new_function_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
* decl.c (start_function): Likewise.
* friend.c (is_friend): Likewise.
(do_friend): Likewise.
* decl2.c ((flag_dump_translation_unit): Make it const.
(flag_guiding_decls): Remove.
(unsupported_options): New variable
(compare_options): New function.
(lang_decode_option): Use them.

From-SVN: r34306

24 years agoMakefile.in (c-decl.o): Depend on rtl.h and expr.h.
Richard Kenner [Wed, 31 May 2000 18:37:31 +0000 (18:37 +0000)]
Makefile.in (c-decl.o): Depend on rtl.h and expr.h.

* Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
* alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
(REG_BASE_VALUE): Remove unneeded cast to unsigned.
(get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
(find_base_decl): New function, from c_find_base_decl in c-common.c.
(new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
(get_alias_set): Likewise.
Major rework to do more things and allow language-specific code
to just handle special-cases.
(record_alias_subset): Args are HOST_WIDE_INT.
(record_component_alias): Local vars are HOST_WIDE_INT.
Don't handle COMPLEX_EXPR.
(get_varargs_alias_set): Moved from builtins.c.
(get_frame_alias_set): New function.
* builtins.c (expand_builtin_return_address): Use frame alias set.
(expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
for setjmp buffer.
(get_memory_rtx): Rework to use set_mem_attributes.
(get_varargs_alias_set): Deleted from here.
* c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
(c_find_base_decl): Deleted from here.
(c_get_alias_set): Remove many cases and rework to just handle
C-specific cases.
* c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
* c-decl.c (rtl.h, expr.h): Now included.
(init_decl_processing): Call record_component_aliases on array types.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for all fields that are not bitfields.
* c-typeck.c (common_type): Call record_component_aliases for array.
* caller-save.c (setup_save_areas): Rework register loop for unsigned.
Set all save areas to the frame alias set.
* calls.c (initialie_argument_information): Call set_mem_attributes.
(compute_argument_addresses, expand_call): Likewise.
* explow.c (set_mem_attributes): New function.
(stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
* expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
LEN and OFFSET now HOST_WIDE_INT.
(clear_by_pieces): Similar changes.
(move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
(move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
(move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
(clear_by_pieces_1): Likewise.
(emit_push_insn): Call set_mem_attributes.
(expand_expr, case INDIRECT_REF): Likewise.
(expand_expr, case VAR_DECL): Call change_address.
* expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
tree_low_cst.
(get_varargs_alias_set, get_frame_alias_set): New decls.
(record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
(new_alias_set, set_mem_attributes): Likewse.
* function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
(assign_stack_temp_for_type): Likewise.
Can split slot even if alias set since can copy.
Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
(assign_temp): Use host_integerp and tree_low_cst.
(put_var_into_stack): Properly handle SAVE_EXPR.
(put_addressof_into_stack): Likewise.
(assign_parms): Call set_mem_attributes.
Delete #if 0 code.
(fix_lexical_address): Put reference to chain into frame alias set.
(expand_function_start): Call set_mem_attributes.
* integrate.c (expand_inline_function): Likewise.
* recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (alter_reg): Make alias sets for spilled pseudos.
* rtl.def (MEM): Update comment.
* rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
(move_by_pieces): Change length to HOST_WIDE_INT.
(record_base_value, record_alias_subset): Delete from here.
* stmt.c (expand_decl): Call set_mem_attributes.
* stor-layout.c (finish_record_layout): Call record_component_aliases.i
* toplev.c (compile_file): Call init_alias_once earlier.
* tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
from here: now in alias.c.
* tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
(struct tree_decl): Likewise.
(get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
* varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
(output_constant_def, force_const_mem): Likewise.
* cp/Makefile.in (decl.o): Include ../expr.h.
* cp/decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* cp/tree.c (build_cplus_array_type_1): Call record_component_aliases.

From-SVN: r34305

24 years ago* configure.in: Fix typo last change.
Richard Henderson [Wed, 31 May 2000 18:10:28 +0000 (11:10 -0700)]
* configure.in: Fix typo last change.

From-SVN: r34304

24 years agoconfigure.in (enable-nls): Enable if build == host, i.e.
Philipp Thomas [Wed, 31 May 2000 17:46:30 +0000 (17:46 +0000)]
configure.in (enable-nls): Enable if build == host, i.e.

gcc:
* configure.in (enable-nls): Enable if build == host, i.e. when
not building a canadian cross compiler.
(enable-maintainer-mode): Added for use with i18n.
* aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a
cross section of ALL_LINGUAS and LINGUAS.
* configure: Rebuild.

gcc/po:
* Makefile.in.in: Create compiled catalogs in objdir, not
srcdir. Create gcc.pot and cat-tbl-id.c only in maintainer
mode.
* gcc.pot: Generated and checked in.
* cat-tbl-id.c: Generated and checked in.
* stamp-cat-id: Generated and checked in.

From-SVN: r34303

24 years agodecl.c (build_cp_library_fn): Set DECL_CONTEXT.
Mark Mitchell [Wed, 31 May 2000 16:39:19 +0000 (16:39 +0000)]
decl.c (build_cp_library_fn): Set DECL_CONTEXT.

* decl.c (build_cp_library_fn): Set DECL_CONTEXT.

* method.c (mangle_expression): Adjust test for legal expression
operators.

* pt.c (instantiate_decl): Save and restore the local
specializations list.

From-SVN: r34302

24 years agochange invocation of check script for fixinc
Bruce Korb [Wed, 31 May 2000 15:03:41 +0000 (15:03 +0000)]
change invocation of check script for fixinc

From-SVN: r34301

24 years agomodified test results
Bruce Korb [Wed, 31 May 2000 14:44:35 +0000 (14:44 +0000)]
modified test results

From-SVN: r34300

24 years agorework "make check" for fixincl
Bruce Korb [Wed, 31 May 2000 14:29:55 +0000 (14:29 +0000)]
rework "make check" for fixincl

From-SVN: r34299

24 years agorework "make check" for fixinc
Bruce Korb [Wed, 31 May 2000 14:26:57 +0000 (14:26 +0000)]
rework "make check" for fixinc

From-SVN: r34298

24 years ago* except.c (clear_function_eh_region): Do not free NULL.
Philippe De Muyter [Wed, 31 May 2000 12:37:38 +0000 (14:37 +0200)]
* except.c (clear_function_eh_region): Do not free NULL.

From-SVN: r34297

24 years agoflow.c (propagate_block): If block has no successors, stores to frame are dead if...
Richard Kenner [Wed, 31 May 2000 11:58:35 +0000 (11:58 +0000)]
flow.c (propagate_block): If block has no successors, stores to frame are dead if not used.

* flow.c (propagate_block): If block has no successors, stores to
frame are dead if not used.

From-SVN: r34296

24 years agotree.h (TREE_CODE_LENGTH): New macro.
Richard Kenner [Wed, 31 May 2000 11:55:53 +0000 (07:55 -0400)]
tree.h (TREE_CODE_LENGTH): New macro.

* tree.h (TREE_CODE_LENGTH): New macro.
* c-common.c (c_find_base_decl): Use it.
* expr.c (safe_from_p): Likewise.
* print-tree.c (print_node): Likewise.
* tree.c (make_node, copy_node, get_identifier): Likewie.
(first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
(build, build_nt, build_parse_node, simple_cst_equal): Likewise.
* fold-const.c (make_range): Likewise.
(fold): Likewise; also use first_rtl_op.
* c-iterate.c (collect_iterators): Use first_rtl_op.
* calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
Use IS_EXPR_CODE_CLASS.
(preexpand_calls): Likewise.
* ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
and TREE_CODE_LENGTH.
* stmt.c (warn_if_unused_value): If no operands, no unused value.
* ch/lang.c (deep_const_expr): Use first_rtl_op.
* ch/satisfy.c (satisfy): Use TREE_CODE_LENGTH.
* cp/method.c (mangle_expression): Use TREE_CODE_LENGTH.
* cp/tree.c (break_out_calls, build_min_nt): Use TREE_CODE_LENGTH.
(built_min, cp_tree_equal): Likewise.

From-SVN: r34295

24 years agoAdd blank line
Richard Kenner [Wed, 31 May 2000 11:50:44 +0000 (07:50 -0400)]
Add blank line

From-SVN: r34294

24 years agoFix formatting of comment
Richard Kenner [Wed, 31 May 2000 11:46:10 +0000 (07:46 -0400)]
Fix formatting of comment

From-SVN: r34293

24 years agoAdd field ``name'' to floatformat.
Andrew Cagney [Wed, 31 May 2000 11:00:54 +0000 (11:00 +0000)]
Add field ``name'' to floatformat.

From-SVN: r34292

24 years agostmt (expand_end_case): Reorder conversion sequence for jump table to avoid extra...
Nathan Sidwell [Wed, 31 May 2000 10:57:19 +0000 (10:57 +0000)]
stmt (expand_end_case): Reorder conversion sequence for jump table to avoid extra truncations.

* stmt (expand_end_case): Reorder conversion sequence for jump
table to avoid extra truncations.

From-SVN: r34291

24 years ago* decl.c (grok_reference_init): Pass LOOKUP_ONLYCONVERTING.
Jason Merrill [Wed, 31 May 2000 08:14:29 +0000 (08:14 +0000)]
* decl.c (grok_reference_init): Pass LOOKUP_ONLYCONVERTING.

From-SVN: r34290

24 years agonew
Jason Merrill [Wed, 31 May 2000 08:14:17 +0000 (04:14 -0400)]
new

From-SVN: r34289

24 years agoDaily bump.
Jeff Law [Wed, 31 May 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34288

24 years agoifcvt.c (cond_exec_process_if_block): Do nothing if the last insn in the block is...
Jeffrey A Law [Wed, 31 May 2000 07:33:02 +0000 (07:33 +0000)]
ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn in the block is more than just a simple conditional...

        * ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn
        in the block is more than just a simple conditional branch.
        (noce_process_if_block): Similarly.

From-SVN: r34287

24 years agocall.c (add_template_candidate_real): Handle member template constructors for classes...
Mark Mitchell [Wed, 31 May 2000 06:53:04 +0000 (06:53 +0000)]
call.c (add_template_candidate_real): Handle member template constructors for classes with virtual bases.

* call.c (add_template_candidate_real): Handle member template
constructors for classes with virtual bases.
(build_user_type_conversion_1): Use in_charge_arg_for_name.
(build_new_method_call): Use DECL_NONSTATIC_MEMBER_FUNCTION_P.

* ir.texi: Update thunk documentation.

From-SVN: r34284

24 years agooptabs.c (prepare_float_lib_cmp): Protect *px and *py from queue.
Alexandre Oliva [Wed, 31 May 2000 04:27:56 +0000 (04:27 +0000)]
optabs.c (prepare_float_lib_cmp): Protect *px and *py from queue.

* optabs.c (prepare_float_lib_cmp): Protect *px and *py from
queue.

From-SVN: r34283

24 years agoAllow HIGH/LO_SUM in the prologue
Michael Meissner [Wed, 31 May 2000 01:36:58 +0000 (01:36 +0000)]
Allow HIGH/LO_SUM in the prologue

From-SVN: r34281

24 years ago* combine.c (get_pos_from_mask): Test exact_log2 result as signed.
Richard Henderson [Wed, 31 May 2000 00:44:06 +0000 (17:44 -0700)]
* combine.c (get_pos_from_mask): Test exact_log2 result as signed.

From-SVN: r34280

24 years agoname-finder.h: Include <sys/wait.h>.
Tom Tromey [Tue, 30 May 2000 23:26:02 +0000 (23:26 +0000)]
name-finder.h: Include <sys/wait.h>.

* include/name-finder.h: Include <sys/wait.h>.
(_Jv_name_finder::pid): Now of type `pid_t'.
(_Jv_name_finder::~_Jv_name_finder): Call waitpid().
* java/lang/Throwable.java (CPlusPlusDemangler.close): Call
`proc.waitFor()'.

From-SVN: r34279

24 years ago* Makefile.in (objalloc.o): Depend on config.h
Jeff Law [Tue, 30 May 2000 21:07:43 +0000 (15:07 -0600)]
* Makefile.in (objalloc.o): Depend on config.h

From-SVN: r34277

24 years ago* Makefile.in (objalloc.o): Depend on config.h
Jeff Law [Tue, 30 May 2000 21:06:31 +0000 (15:06 -0600)]
* Makefile.in (objalloc.o): Depend on config.h

From-SVN: r34275

24 years ago* bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
Richard Henderson [Tue, 30 May 2000 21:02:06 +0000 (14:02 -0700)]
* bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.

From-SVN: r34274

24 years agorestore old algorighm for char_macro_*_fix routines
Bruce Korb [Tue, 30 May 2000 20:55:50 +0000 (20:55 +0000)]
restore old algorighm for char_macro_*_fix routines

From-SVN: r34273

24 years agoSplit the ChangeLog
Jeff Law [Tue, 30 May 2000 20:50:33 +0000 (14:50 -0600)]
Split the ChangeLog

From-SVN: r34272

24 years agorestore old algorighm for char_macro_*_fix routines
Bruce Korb [Tue, 30 May 2000 20:24:44 +0000 (20:24 +0000)]
restore old algorighm for char_macro_*_fix routines

From-SVN: r34271

24 years agodiff of diff does not work well, so use expected test result files
Bruce Korb [Tue, 30 May 2000 19:41:37 +0000 (19:41 +0000)]
diff of diff does not work well, so use expected test result files

From-SVN: r34270

24 years ago* call.c (joust): Fix handling of overloaded builtin operators.
Mark Mitchell [Tue, 30 May 2000 17:39:59 +0000 (17:39 +0000)]
* call.c (joust): Fix handling of overloaded builtin operators.

From-SVN: r34269

24 years agoalpha.md (*setne_internal): Use match_operator instead of working down from insn.
Richard Henderson [Tue, 30 May 2000 15:52:03 +0000 (08:52 -0700)]
alpha.md (*setne_internal): Use match_operator instead of working down from insn.

        * config/alpha/alpha.md (*setne_internal): Use match_operator
        instead of working down from insn.

From-SVN: r34268

24 years agocp-tree.h (DECL_ANTICIPATED): New macro.
Zack Weinberg [Tue, 30 May 2000 15:44:20 +0000 (15:44 +0000)]
cp-tree.h (DECL_ANTICIPATED): New macro.

* cp-tree.h (DECL_ANTICIPATED): New macro.
Document new use of DECL_LANG_FLAG_7.
* decl.c (builtin_function): Set DECL_ANTICIPATED on builtins
in the user namespace.
* lex.c (do_identifier): If the identifier's declaration has
DECL_ANTICIPATED on, it has not yet been declared.  But do not
replace it with an ordinary implicit declaration.

* tinfo2.cc: Include stdlib.h.

From-SVN: r34267

24 years ago* MAINTAINERS: Add self as i18n maintainer
Philipp Thomas [Tue, 30 May 2000 14:46:26 +0000 (14:46 +0000)]
* MAINTAINERS: Add self as i18n maintainer

From-SVN: r34266

24 years ago* invoke.texi (-Wtraditional): Update WRT function macros.
Kaveh R. Ghazi [Tue, 30 May 2000 14:37:22 +0000 (14:37 +0000)]
* invoke.texi (-Wtraditional): Update WRT function macros.

From-SVN: r34265

24 years agoupdate explicit instantiation docs
Jason Merrill [Tue, 30 May 2000 08:47:25 +0000 (04:47 -0400)]
update explicit instantiation docs

From-SVN: r34264

24 years ago* except.c (free_exception_table): Do not free NULL.
Philippe De Muyter [Tue, 30 May 2000 07:58:30 +0000 (09:58 +0200)]
* except.c (free_exception_table): Do not free NULL.

From-SVN: r34263

24 years agoDaily bump.
Jeff Law [Tue, 30 May 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34262

24 years agoDocument FUNCTION_OK_FOR_SIBCALL.
Richard Henderson [Tue, 30 May 2000 06:12:37 +0000 (23:12 -0700)]
Document FUNCTION_OK_FOR_SIBCALL.

From-SVN: r34261

24 years agocpplib.c (do_if): Don't save and restore only_seen_white here.
Zack Weinberg [Tue, 30 May 2000 02:40:48 +0000 (02:40 +0000)]
cpplib.c (do_if): Don't save and restore only_seen_white here.

* cpplib.c (do_if): Don't save and restore only_seen_white here.
* cppexp.c (_cpp_parse_expr): Save and restore only_seen_white
and skipping here.

From-SVN: r34260

24 years agoflow.c (mark_used_reg): If a register is unconditionally live, remove any conditional...
Richard Earnshaw [Mon, 29 May 2000 22:37:37 +0000 (22:37 +0000)]
flow.c (mark_used_reg): If a register is unconditionally live, remove any conditional death information.

* flow.c (mark_used_reg): If a register is unconditionally live,
remove any conditional death information.

From-SVN: r34259

24 years agofinal.c (current_output_insn): New.
Richard Henderson [Mon, 29 May 2000 22:02:42 +0000 (15:02 -0700)]
final.c (current_output_insn): New.

        * final.c (current_output_insn): New.
        (final_scan_insn): Set it.
        * output.h: Declare it.

From-SVN: r34258

24 years ago* stor-layout.c (finalize_record_size): Fix typo.
Richard Henderson [Mon, 29 May 2000 21:46:43 +0000 (14:46 -0700)]
* stor-layout.c (finalize_record_size): Fix typo.

From-SVN: r34257

24 years agojump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END if nlabel is null.
Richard Henderson [Mon, 29 May 2000 21:39:55 +0000 (14:39 -0700)]
jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END if nlabel is null.

        * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
        if nlabel is null.

From-SVN: r34256

24 years agoconcatstr.c, exh.c: Include stdlib.h and string.h.
Zack Weinberg [Mon, 29 May 2000 19:34:51 +0000 (19:34 +0000)]
concatstr.c, exh.c: Include stdlib.h and string.h.

* concatstr.c, exh.c: Include stdlib.h and string.h.
* delaycase.c, eqstr.c, memmove.c, printbuffer.c,
printevent.c, sendbuffer.c, waitbuffer.c: Include string.h.

From-SVN: r34255

24 years agohashtab.c, [...]: Include string.h if HAVE_STRING_H.
Zack Weinberg [Mon, 29 May 2000 19:33:52 +0000 (19:33 +0000)]
hashtab.c, [...]: Include string.h if HAVE_STRING_H.

* hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
* objalloc.c: Include config.h.  Include stdlib.h and don't
declare malloc or free if HAVE_STDLIB_H.
* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
else declare malloc without prototype.  Include string.h if
HAVE_STRING_H, else declare memset without prototype.  Don't
include stddef.h.

From-SVN: r34254

24 years agocpplib.h (cpp_reader): Remove if_stack.
Zack Weinberg [Mon, 29 May 2000 16:19:32 +0000 (16:19 +0000)]
cpplib.h (cpp_reader): Remove if_stack.

* cpplib.h (cpp_reader): Remove if_stack.  Change
potential_control_macro to a cpp_hashnode *.  Add skipping flag.
* cpphash.h (struct ihash): Change control_macro to a
cpp_hashnode * and shorten name to cmacro.
Add NEVER_REINCLUDE constant.

* cppfiles.c (redundant_include_p): Drop cpp_reader argument.
Examine the cmacro node directly, no need to call cpp_defined.
(_cpp_execute_include, read_include_file): Set cmacro to
NEVER_REINCLUDE, not U"".
* cpplex.c (cpp_push_buffer): Don't set new->if_stack.
(cpp_get_token): If pfile->skipping is true, discard text and
keep scanning until we hit a directive; don't expand macros.

* cpplib.c (struct if_stack): Remove if_succeeded, add
was_skipping. Change control_macro to a cpp_hashnode * and
shorten name to cmacro.  Remove typedef IF_STACK.
(parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *.
(conditional_skip, skip_if_group,
consider_directive_while_skipping): Delete.
(push_conditional): New.
(_cpp_handle_directive): Don't process directives other than
conditionals if we are skipping.

(do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif):
Update to new scheme.
(validate_else): Skip rest of line here, unconditionally.
(_cpp_unwind_if_stack): The stack is per-buffer.  Force
pfile->skipping off.

(all): Remove `scare quotes' from error messages.

* gcc.dg/cpp-mi.c: Add another case, cpp-mix.h, where the
guard macro is already defined when the header is first
included.
* gcc.dg/cpp-mix.h: New file.
* gcc.dg/endif-label.c: Update patterns to match compiler.

* g++.brendan/complex1.C: Declare abort.
* g++.law/refs4.C: Remove XFAIL.
* g++.oliva/expr2.C: Declare abort and exit.

From-SVN: r34253

24 years agocp-tree.h (CLASSTYPE_ALIGN_UNIT): New macro.
Mark Mitchell [Mon, 29 May 2000 15:35:06 +0000 (15:35 +0000)]
cp-tree.h (CLASSTYPE_ALIGN_UNIT): New macro.

* cp-tree.h (CLASSTYPE_ALIGN_UNIT): New macro.
* class.c (layout_empty_base): Use CLASSTYPE_ALIGN_UNIT, not
CLASSTYPE_ALIGN.

From-SVN: r34252

24 years agofunction.c (emit_return_into_block): New line_note arg; emit it.
Richard Henderson [Mon, 29 May 2000 08:18:30 +0000 (01:18 -0700)]
function.c (emit_return_into_block): New line_note arg; emit it.

        * function.c (emit_return_into_block): New line_note arg; emit it.
        (thread_prologue_and_epilogue_insns): Attempt to locate a line note
        for the close brace to accompany HAVE_return.  Move all line notes
        following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.

From-SVN: r34251

24 years agolonglong.h [__alpha] (count_leading_zeros): New.
Richard Henderson [Mon, 29 May 2000 07:52:26 +0000 (00:52 -0700)]
longlong.h [__alpha] (count_leading_zeros): New.

        * longlong.h [__alpha] (count_leading_zeros): New.
        (count_trailing_zeros): New.
        (COUNT_LEADING_ZEROS_0): New.

        * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
        (alpha_split_conditional_move): New.
        * config/alpha/alpha-protos.h: Prototype them.
        * config/alpha/alpha.h (PREDICATE_CODES): Update.
        (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
        * config/alpha/alpha.md: Update ffs cix commentary.
        (*ze_and_ne): New.
        (*nabssf2, *nabsdf2): New.
        (*mov[qhsd]icc_internal): Use add_operand.
        (if_then_else constant splitters): New.
        (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
        (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.

From-SVN: r34250

24 years agoDaily bump.
Jeff Law [Mon, 29 May 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34249

24 years agocombine.c (force_to_mode): Convert subtraction from a constant to NEG or NOT when...
Richard Henderson [Mon, 29 May 2000 07:40:51 +0000 (00:40 -0700)]
combine.c (force_to_mode): Convert subtraction from a constant to NEG or NOT when conditions allow.

        * combine.c (force_to_mode) [MINUS]: Convert subtraction from
        a constant to NEG or NOT when conditions allow.

From-SVN: r34248

24 years agocombine.c (combine_simplify_rtx): Don't create an if_then_else unless both args are...
Richard Henderson [Mon, 29 May 2000 07:29:13 +0000 (00:29 -0700)]
combine.c (combine_simplify_rtx): Don't create an if_then_else unless both args are general_operand.

        * combine.c (combine_simplify_rtx): Don't create an if_then_else
        unless both args are general_operand.  Don't canonicalize plus
        to ior unless it helps.

From-SVN: r34247

24 years agotoplev.c (rest_of_compilation): Set no_new_pseudos after flow1; instead track registe...
Richard Henderson [Mon, 29 May 2000 07:09:53 +0000 (00:09 -0700)]
toplev.c (rest_of_compilation): Set no_new_pseudos after flow1; instead track register_life_up_to_date.

        * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
        instead track register_life_up_to_date.  Toggle no_new_pseudos
        around if_convert.

From-SVN: r34246

24 years agore GNATS gcj/242 (Compiler generates call to wrong method from inner class)
Bryce McKinlay [Mon, 29 May 2000 05:26:14 +0000 (05:26 +0000)]
re GNATS gcj/242 (Compiler generates call to wrong method from inner class)

2000-05-29  Bryce McKinlay  <bryce@albatross.co.nz>

* libjava.lang/PR242.java: New file. PR gcj/242.

From-SVN: r34245

24 years agors6000.c (output_cbranch): Escape '%' characters so output_operand doesn't see them.
Geoff Keating [Mon, 29 May 2000 05:18:03 +0000 (05:18 +0000)]
rs6000.c (output_cbranch): Escape '%' characters so output_operand doesn't see them.

* config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
so output_operand doesn't see them.

From-SVN: r34244

24 years agolcm.c (make_preds_opaque): Fix comment.
Clinton Popetz [Sun, 28 May 2000 23:40:20 +0000 (23:40 +0000)]
lcm.c (make_preds_opaque): Fix comment.

* lcm.c (make_preds_opaque): Fix comment.
(optimize_mode_switching): Use NORMAL_MODE instead of
MODE_USES_IN_EXIT_BLOCK.  Change leftover instance of
FP_MODE_NONE to no_mode.  Rename MODE_AT_ENTRY to NORMAL_MODE.
Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
* tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
(MODE_USES_IN_EXIT_BLOCK): Delete.
(MODE_AT_ENTRY) Rename to NORMAL_MODE.
* sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
(MODE_AT_ENTRY): Rename to NORMAL_MODE.
(MODE_NEEDED): Don't look for USE.
(EPILOGUE_USES): Define.

From-SVN: r34243

24 years ago* gcc.c-torture/execute/20000528-1.c: New test.
Alexandre Oliva [Sun, 28 May 2000 23:31:55 +0000 (23:31 +0000)]
* gcc.c-torture/execute/20000528-1.c: New test.

From-SVN: r34242

24 years ago* mklibgcc.in (all): Variable initialised to `libgcc'.
Philippe De Muyter [Sun, 28 May 2000 21:52:37 +0000 (23:52 +0200)]
* mklibgcc.in (all): Variable initialised to `libgcc'.

From-SVN: r34241

24 years agotoplev.h (skip_leading_substring): New macro.
Gabriel Dos Reis [Sun, 28 May 2000 21:22:12 +0000 (21:22 +0000)]
toplev.h (skip_leading_substring): New macro.

2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>

        * toplev.h (skip_leading_substring): New macro.
        * toplev.c (decode_f_option): Use skip_leading_substring instead
        of strncmp.
        (decode_W_option): Likewise.

cp/

2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>

        * decl2.c (lang_decode_option): Use skip_leading_substring instead
        of plain strncmp.

From-SVN: r34240

24 years agoDocuement that CONSITIONAL_REGISTER_USAGE can modify reg_names.
Nick Clifton [Sun, 28 May 2000 21:08:51 +0000 (21:08 +0000)]
Docuement that CONSITIONAL_REGISTER_USAGE can modify reg_names.

From-SVN: r34239

24 years agoregclass.c (record_operand_costs): Protect reg_changes_size with CLASS_CANNOT_CHANGE_...
Richard Henderson [Sun, 28 May 2000 20:39:51 +0000 (13:39 -0700)]
regclass.c (record_operand_costs): Protect reg_changes_size with CLASS_CANNOT_CHANGE_SIZE.

        * regclass.c (record_operand_costs): Protect reg_changes_size
        with CLASS_CANNOT_CHANGE_SIZE.

From-SVN: r34238

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