platform/upstream/gcc.git
24 years agoreload.h (earlyclobber_operand_p): Declare.
J"orn Rennecke [Wed, 27 Oct 1999 02:14:12 +0000 (02:14 +0000)]
reload.h (earlyclobber_operand_p): Declare.

* reload.h (earlyclobber_operand_p): Declare.
* reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
* reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.

From-SVN: r30202

24 years agoReorg reg-stack to use the standard CFG.
Jan Hubicka [Wed, 27 Oct 1999 01:25:13 +0000 (03:25 +0200)]
Reorg reg-stack to use the standard CFG.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r30201

24 years agoalpha.h (TARGET_MEM_FUNCTIONS): Define here.
Richard Henderson [Tue, 26 Oct 1999 20:31:33 +0000 (13:31 -0700)]
alpha.h (TARGET_MEM_FUNCTIONS): Define here.

        * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
        * linux.h, netbsd.h, vms.h: Not here.

From-SVN: r30200

24 years agomips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY, [...]): New.
Gavin Romig-Koch [Tue, 26 Oct 1999 20:29:35 +0000 (20:29 +0000)]
mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY, [...]): New.

* config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
(GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
CONDITIONAL_REGISTER_USEAGE): Use them.
* config/mips/mips.c (mips_move_1word,mips_move_2words,
gen_conditional_branch,override_options) : Use them.
* config/mips/mips.md : Use them.

From-SVN: r30199

24 years ago* i386.md (zero_extendqihi2): Use SImode register name with andl.
Richard Henderson [Tue, 26 Oct 1999 20:10:28 +0000 (13:10 -0700)]
* i386.md (zero_extendqihi2): Use SImode register name with andl.

From-SVN: r30198

24 years agointegrate.c (function_cannot_inline_p): Don't allow inlining if setjmp is used.
Richard Henderson [Tue, 26 Oct 1999 19:36:18 +0000 (12:36 -0700)]
integrate.c (function_cannot_inline_p): Don't allow inlining if setjmp is used.

        * integrate.c (function_cannot_inline_p): Don't allow inlining
        if setjmp is used.

From-SVN: r30197

24 years agoc-parse.in (cast_expr): Constify.
Kaveh R. Ghazi [Tue, 26 Oct 1999 18:13:38 +0000 (18:13 +0000)]
c-parse.in (cast_expr): Constify.

        * c-parse.in (cast_expr): Constify.

        * cccp.c (special_symbol): Likewise.

        * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.

        * dwarf2out.c (base_type_die): Likewise.

        * global.c (allocno_compare): Likewise.

        * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.

        * regclass.c (fix_register): Likewise.

        * rtl.h (fix_register): Likewise.

        * stupid.c (stupid_reg_compare): Likewise.

        * toplev.c (decode_f_option): Likewise.

        * tree.c (build_complex_type): Likewise.

From-SVN: r30196

24 years ago* output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
Richard Earnshaw [Tue, 26 Oct 1999 17:44:42 +0000 (17:44 +0000)]
* output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.

From-SVN: r30195

24 years agoSmall reload cleanups
Bernd Schmidt [Tue, 26 Oct 1999 13:45:31 +0000 (13:45 +0000)]
Small reload cleanups

From-SVN: r30193

24 years agoMakefile.in (AR_FOR_TARGET, [...]): Fix target name substitution.
Marc Espie [Tue, 26 Oct 1999 08:51:50 +0000 (08:51 +0000)]
Makefile.in (AR_FOR_TARGET, [...]): Fix target name substitution.

        * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
        substitution.

From-SVN: r30190

24 years agotree.h (BLOCK_TYPE_TAGS): Remove.
Mark Mitchell [Tue, 26 Oct 1999 08:34:46 +0000 (08:34 +0000)]
tree.h (BLOCK_TYPE_TAGS): Remove.

* tree.h (BLOCK_TYPE_TAGS): Remove.
(BLOCK_END_NOTE): Likewise.
(BLOCK_LIVE_RANGE_FLAG): Likewise.
(BLOCK_LIVE_RANGE_START): Likewise.
(BLOCK_LIVE_RANGE_END): Likewise.
(tree_block): Remove live_range_flag, live_range_var_flag, and
type_tags.  Remove end_note, live_range_start, and live_range_end.
(remember_end_note): Remove prototype.
* tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
* c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
remember_end_note.
* ggc-common.c (ggc_mark_tree_children): Don't mark
BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
* integrate.c (adjust_copied_decl_tree): Remove.
* print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
* stmt.c (last_block_end_note): Remove.
(init_stmt): Don't add a GC root for it.
(expand_fixup): Don't set it.
(remember_end_note): Remove.
(expand_end_bindings): Don't set last_block_end_note.

* ch-tree.h (remember_end_note): Remove prototype.
* decl.c (poplevel): Don't call remember_end_note.

* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS.  Don't call
remember_end_note.

* com.c (poplevel): Don't call remember_end_note.

* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
remember_end_note.

From-SVN: r30188

24 years agoDaily bump.
Jeff Law [Tue, 26 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30187

24 years agoAlso make sure to define DIR_SEPARATOR if it wasn't previously defined.
Jeff Law [Tue, 26 Oct 1999 06:59:43 +0000 (00:59 -0600)]
Also make sure to define DIR_SEPARATOR if it wasn't previously defined.

From-SVN: r30186

24 years agoexpmed.c (extract_bit_field): Allow for the case of non-integer objects that are...
Geoff Keating [Tue, 26 Oct 1999 06:48:38 +0000 (06:48 +0000)]
expmed.c (extract_bit_field): Allow for the case of non-integer objects that are smaller than a word (like...

        * expmed.c (extract_bit_field): Allow for the case of non-integer
        objects that are smaller than a word (like SFmode on a 64-bit
        machine).

From-SVN: r30185

24 years ago* gcc.c-torture/compile/991026-1.c: New test.
Jeffrey A Law [Tue, 26 Oct 1999 06:47:05 +0000 (06:47 +0000)]
* gcc.c-torture/compile/991026-1.c: New test.

From-SVN: r30184

24 years agoreload1.c (reload_reg_free_for_value_p): Show RELOAD_FOR_OTHER_ADDRESS reloads can...
Bernd Schmidt [Tue, 26 Oct 1999 06:43:36 +0000 (06:43 +0000)]
reload1.c (reload_reg_free_for_value_p): Show RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER reloads.

        * reload1.c (reload_reg_free_for_value_p): Show
        RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
        reloads.

From-SVN: r30183

24 years agocollect2.c (IS_DIR_SEPARATOR): Define.
Jeffrey A Law [Tue, 26 Oct 1999 06:03:19 +0000 (06:03 +0000)]
collect2.c (IS_DIR_SEPARATOR): Define.

        * collect2.c (IS_DIR_SEPARATOR): Define.
        (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.

From-SVN: r30182

24 years agoloop.c (basic_induction_var): A non-integer variable which is being set by a paradoxi...
Geoff Keating [Tue, 26 Oct 1999 05:56:15 +0000 (05:56 +0000)]
loop.c (basic_induction_var): A non-integer variable which is being set by a paradoxical subreg is probably...

        * loop.c (basic_induction_var): A non-integer variable which is
        being set by a paradoxical subreg is probably not a biv.

From-SVN: r30181

24 years ago* prefix.c (translate_name) Check for empty prefix string.
Herman A.J. ten Brugge [Tue, 26 Oct 1999 05:54:13 +0000 (07:54 +0200)]
* prefix.c (translate_name) Check for empty prefix string.

From-SVN: r30180

24 years ago* configure: Fix quoting inside arguments of eval.
Andreas Schwab [Tue, 26 Oct 1999 05:47:42 +0000 (05:47 +0000)]
* configure: Fix quoting inside arguments of eval.

From-SVN: r30179

24 years agosom.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static functions too.
Jeffrey A Law [Tue, 26 Oct 1999 05:43:52 +0000 (05:43 +0000)]
som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static functions too.

        * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
        functions too.

From-SVN: r30178

24 years agoMakefile.in (CPP_CROSS_NAME): New variable.
Andreas Schwab [Tue, 26 Oct 1999 05:12:14 +0000 (05:12 +0000)]
Makefile.in (CPP_CROSS_NAME): New variable.

        * Makefile.in (CPP_CROSS_NAME): New variable.
        (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
        xcpp.
        (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
        names of the files to be uninstalled.

From-SVN: r30177

24 years agohaifa-sched.c (add_dependence): Update the true dependency cache the first time we...
Jeffrey A Law [Tue, 26 Oct 1999 05:05:00 +0000 (05:05 +0000)]
haifa-sched.c (add_dependence): Update the true dependency cache the first time we add a true dependence to the...

        * haifa-sched.c (add_dependence): Update the true dependency
        cache the first time we add a true dependence to the LOG_LINKS chain.

From-SVN: r30176

24 years agocplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters...
Jim Kingdon [Tue, 26 Oct 1999 04:30:08 +0000 (22:30 -0600)]
cplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters inside...

        * cplus-dem.c: Move declarations of standard_symbol_characters and
        hp_symbol_characters inside #ifdef MAIN to avoid compiler
        warnings.

From-SVN: r30175

24 years ago* fold-const.c (fold): Fix comment.
Jim Kingdon [Tue, 26 Oct 1999 04:27:50 +0000 (22:27 -0600)]
* fold-const.c (fold): Fix comment.

From-SVN: r30174

24 years agodbxout.c (lastfile, [...]): Constify a char*.
Kaveh R. Ghazi [Tue, 26 Oct 1999 02:54:22 +0000 (02:54 +0000)]
dbxout.c (lastfile, [...]): Constify a char*.

* dbxout.c (lastfile, cwd, dbxout_type_method_1,
dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
dbxout_start_new_source_file, dbxout_source_file,
dbxout_source_line, dbxout_finish, dbxout_type_fields,
dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
Constify a char*.
(dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
(dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
(dbxout_block): Initialize variable `blocknum'.

* dbxout.h (dbxout_init, dbxout_finish,
dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
dbxout_args, dbxout_source_line): Constify a char*.

* dwarfout.c (dwarf_tag_name, dwarf_attr_name,
dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
dwarf_fund_type_name, name_attribute, stmt_list_attribute,
low_pc_attribute, high_pc_attribute, body_begin_attribute,
body_end_attribute, comp_dir_attribute, sf_names_attribute,
src_info_attribute, mac_info_attribute, producer_attribute,
lookup_filename, generate_macinfo_entry, fundamental_type_code,
dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
dwarfout_undef): Constify a char*.
(add_incomplete_type, retry_incomplete_types): Add prototypes.

* dwarfout.h (dwarfout_define, dwarfout_undef,
dwarfout_start_new_source_file, dwarfout_line): Constify a char*.

From-SVN: r30173

24 years agomips.h (MIPS_ISA_DEFAULT): Insure it's defined.
Gavin Romig-Koch [Mon, 25 Oct 1999 21:44:39 +0000 (21:44 +0000)]
mips.h (MIPS_ISA_DEFAULT): Insure it's defined.

* config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
(MULTILIB_ISA_DEFAULT): New.
(MULTILIB_DEFAULTS): Use it.
* config/mips/mips.c (): Remove the now unnecessary definition
of MIPS_ISA_DEFAULT.
* config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
unnecessary definition.

From-SVN: r30171

24 years ago* arm.md (pic_load_addr): Add constraints to operand 1.
Richard Earnshaw [Mon, 25 Oct 1999 21:11:18 +0000 (21:11 +0000)]
* arm.md (pic_load_addr): Add constraints to operand 1.

From-SVN: r30170

24 years agoarm.c (arm_override_options): Correct initialization of arm_fast_multiply...
Jeffrey A Law [Mon, 25 Oct 1999 19:24:40 +0000 (19:24 +0000)]
arm.c (arm_override_options): Correct initialization of arm_fast_multiply...

* arm.c (arm_override_options): Correct initialization of
arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
arm_is_strong, and arm_is_6_or_7.

From-SVN: r30169

24 years agooops - typo
Bruce Korb [Mon, 25 Oct 1999 16:11:12 +0000 (16:11 +0000)]
oops - typo

From-SVN: r30166

24 years agoProvide a means for specifying -D options to AutoGen
Bruce Korb [Mon, 25 Oct 1999 16:05:08 +0000 (16:05 +0000)]
Provide a means for specifying -D options to AutoGen

From-SVN: r30165

24 years agoDaily bump.
Jeff Law [Mon, 25 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30163

24 years agoloop.c (note_set_pseudo_multiple_uses_retval): New variable.
Jeffrey A Law [Mon, 25 Oct 1999 06:44:04 +0000 (06:44 +0000)]
loop.c (note_set_pseudo_multiple_uses_retval): New variable.

        * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
        (note_set_pseudo_multiple_uses): New function.
        (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
        if a pseudo set in the loop exit is used elsewhere.

From-SVN: r30155

24 years agodecl.c (push_overloaded_decl_1): Use pushdecl.
Mark Mitchell [Mon, 25 Oct 1999 06:38:42 +0000 (06:38 +0000)]
decl.c (push_overloaded_decl_1): Use pushdecl.

* decl.c (push_overloaded_decl_1): Use pushdecl.

* decl.c (auto_function): Replace #ifdef'd __inline with just
plain inline.
* lex.c (my_get_run_time): Likeise.
(yyprint): Likewise.
(identifier_type): Likewise.
* method.c (start_squangling): Likewise.
(end_squangling): Likewise.
(icat): Likewise.
(old_backref_index): Likewise.
(flush_repeats): Likewise.
(issue_ktype): Likewise.
* parse.y (empty_parms): Likewise.
* parse.c: Regenerated.

From-SVN: r30154

24 years ago* i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
Mark Mitchell [Mon, 25 Oct 1999 06:30:37 +0000 (06:30 +0000)]
* i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.

From-SVN: r30153

24 years agoi386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into a single load-address pattern.
Richard Henderson [Mon, 25 Oct 1999 04:04:49 +0000 (21:04 -0700)]
i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into a single load-address pattern.

        * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
        a single load-address pattern.

From-SVN: r30152

24 years agohaifa-sched.c (schedule_insns): Don't assign LUIDs differently depending on whether...
Mark Mitchell [Mon, 25 Oct 1999 01:34:16 +0000 (01:34 +0000)]
haifa-sched.c (schedule_insns): Don't assign LUIDs differently depending on whether or not line-number notes...

* haifa-sched.c (schedule_insns): Don't assign LUIDs differently
  depending on whether or not line-number notes are present.

From-SVN: r30151

24 years agocccp.c (progname, [...]): Constify a char*.
Kaveh R. Ghazi [Mon, 25 Oct 1999 00:33:56 +0000 (00:33 +0000)]
cccp.c (progname, [...]): Constify a char*.

        * cccp.c (progname, file_buf, default_include, include_file,
        macrodef, definition, hashval, wchar_type, user_label_prefix,
        directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
        expand_to_temp_buffer, is_system_include, base_name,
        absolute_filename, read_name_map, open_include_file,
        record_control_macro, check_precompiled, check_preconditions,
        pcfinclude, pass_thru_directive, create_definition,
        check_macro_name, comp_def_part, collect_expansion,
        check_assertion, read_token_list, assertion_install,
        assertion_lookup, eval_if_expression, conditional_skip,
        validate_else, skip_quoted_string, quote_string, macarg1,
        error_from_errno, install, lookup, hashf, dump_defn_1,
        perror_with_name, pfatal_with_name, main, trigraph_pcp,
        check_white_space, rescan, handle_directive, monthnames,
        special_symbol, do_include, remap_include_file, write_output,
        arglist, do_assert, do_unassert, do_line, do_error, do_once,
        do_ident, do_sccs, do_xifdef, skip_if_group,
        output_line_directive, macroexpand, macarg, change_newlines,
        initialize_builtins, make_definition): Constify a char*.

        * pcp.h (stringdef): Likewise.

From-SVN: r30150

24 years agounroll.c (copy_loop_body): Examine SET_DEST of single_set not of pattern.
Richard Henderson [Sun, 24 Oct 1999 20:31:26 +0000 (13:31 -0700)]
unroll.c (copy_loop_body): Examine SET_DEST of single_set not of pattern.

        * unroll.c (copy_loop_body): Examine SET_DEST of single_set
        not of pattern.

From-SVN: r30149

24 years agoRevert unintended change to copy_loop_body.
Richard Henderson [Sun, 24 Oct 1999 20:25:28 +0000 (13:25 -0700)]
Revert unintended change to copy_loop_body.

From-SVN: r30148

24 years agoalias.c: Include ggc.h.
Graham Stott [Sun, 24 Oct 1999 20:20:00 +0000 (13:20 -0700)]
alias.c: Include ggc.h.

        * alias.c: Include ggc.h.
        (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
        (record_set): Verify enough room in reg_base_value.
        (init_alias_analysis): Allocate reg_base_value with xcalloc.
        Register it as a GC root.
        (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
        * Makefile.in (alias.o): Depend on ggc.h.

        * unroll.c (unroll_loop): Verify the insn before a barrier
        is a JUMP_INSN before checking JUMP_LABEL.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r30147

24 years agobsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
Kaveh R. Ghazi [Sun, 24 Oct 1999 19:48:51 +0000 (19:48 +0000)]
bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.

        * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
        * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
        * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
        * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
        * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
        * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.

From-SVN: r30146

24 years agooutput.h (ctors_section, [...]): Prototype.
Kaveh R. Ghazi [Sun, 24 Oct 1999 19:38:53 +0000 (19:38 +0000)]
output.h (ctors_section, [...]): Prototype.

* output.h (ctors_section, dtors_section, bss_section): Prototype.

* alpha/alpha-interix.h (text_section): Delete prototype.
* alpha/elf.h (text_section): Likewise.
* arm/linux-elf.h (text_section): Likewise.
* arm/linux-telf.h (text_section): Likewise.
* c4x/c4x.h (text_section): Likewise.
* dsp16xx/dsp16xx.h (bss_section): Likewise.
* elfos.h (text_section): Likewise.
* i386/aix386ng.h (text_section): Likewise.
* i386/i386-interix.h (text_section): Likewise.
* i386/sco5.h (text_section): Likewise.
* i386/svr3gas.h (text_section): Likewise.
* nextstep.h (text_section): Likewise.
* psos.h (text_section): Likewise.
* ptx4.h (text_section): Likewise.
* svr3.h (text_section): Likewise.
* svr4.h (text_section, ctors_section, dtors_section): Likewise.

From-SVN: r30145

24 years agofinal.c (peephole): Delete prototype.
Kaveh R. Ghazi [Sun, 24 Oct 1999 19:23:11 +0000 (19:23 +0000)]
final.c (peephole): Delete prototype.

        * final.c (peephole): Delete prototype.

        * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
        (pre_insert_copies): Remove unused variable `bb'.

        * genrecog.c (debug_decision_0, debug_decision_list, main): Add
        prototypes.

        * output.h (peephole): Add prototype.

From-SVN: r30144

24 years agoiris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to -O0.
Mark Mitchell [Sun, 24 Oct 1999 17:36:47 +0000 (17:36 +0000)]
iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to -O0.

* config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
-O0.

From-SVN: r30143

24 years agoDaily bump.
Jeff Law [Sun, 24 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30142

24 years ago* gcc.c-torture/execute/991023-1.c: New test.
Jeffrey A Law [Sun, 24 Oct 1999 05:37:24 +0000 (05:37 +0000)]
* gcc.c-torture/execute/991023-1.c: New test.

From-SVN: r30141

24 years agointegrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT for inlined declarat...
Mark Mitchell [Sun, 24 Oct 1999 04:08:16 +0000 (04:08 +0000)]
integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT for inlined declarations.

* integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
for inlined declarations.

From-SVN: r30140

24 years ago* POTFILES.in: Track files recently added/deleted/moved.
Manfred Hollstein [Sat, 23 Oct 1999 16:38:23 +0000 (16:38 +0000)]
* POTFILES.in: Track files recently added/deleted/moved.

From-SVN: r30139

24 years agohashtab.c (find_hash_table_entry): When returning a DELETED_ENTRY slot, change it...
Zack Weinberg [Sat, 23 Oct 1999 15:56:52 +0000 (15:56 +0000)]
hashtab.c (find_hash_table_entry): When returning a DELETED_ENTRY slot, change it to EMPTY_ENTRY first.

1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>

* hashtab.c (find_hash_table_entry): When returning a
DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
(clear_hash_table_slot): New function which deletes an entry
by its position in the table, not its value.
(traverse_hash_table): New function which calls a hook
function for every live entry in the table.

* hashtab.h: Give hash_table_t a struct tag.  Add prototypes
for clear_hash_table_slot and traverse_hash_table.  Correct
prototype of all_hash_table_collisions.

From-SVN: r30138

24 years agoDaily bump.
Jeff Law [Sat, 23 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30137

24 years agoregen
Jason Merrill [Sat, 23 Oct 1999 03:20:47 +0000 (23:20 -0400)]
regen

From-SVN: r30136

24 years agoarm.c (logical_binary_operator): New fucntion.
Jeffrey A Law [Sat, 23 Oct 1999 00:09:29 +0000 (00:09 +0000)]
arm.c (logical_binary_operator): New fucntion.

        * arm.c (logical_binary_operator): New fucntion.
        * arm.h (logical_binary_operator): Declare it.
        (PREDICATE_CODES): Handle logical_binary_operator.
        * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
        output constraints.  Add appropriate splitters.
        (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
        (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
        (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.

From-SVN: r30135

24 years agoFix register elimination problem
Bernd Schmidt [Fri, 22 Oct 1999 22:02:17 +0000 (22:02 +0000)]
Fix register elimination problem

From-SVN: r30134

24 years agoMakefile.in: Rebuilt.
Tom Tromey [Fri, 22 Oct 1999 19:43:41 +0000 (19:43 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (java/lang/ClassLoader.h): New target.
* java/lang/natClassLoader.cc (_Jv_FindClass): Removed reference
to `redirect'.

* include/java-props.h (_Jv_Compiler_Properties): Changed
declaration.
* gcj/array.h (JvRunMain, _Jv_RunMain): Don't declare.
* include/jvm.h (_Jv_GCSetInitialHeapSize,
_Jv_GCSetMaximumHeapSize): Declare.
(JvRunMain, _Jv_RunMain): Declare.
(_Jv_SetMaximumHeapSize, _Jv_SetInitialHeapSize): Declare.
* nogc.cc (_Jv_GCSetInitialHeapSize): New function.
(_Jv_GCSetMaximumHeapSize): Likewise.
* boehm.cc (_Jv_GCSetInitialHeapSize): New function.
(_Jv_GCSetMaximumHeapSize): Likewise.
* prims.cc (parse_heap_size): New function.
(_Jv_SetInitialHeapSize): Likewise.
(_Jv_SetMaximumHeapSize): Likewise.
(_Jv_Compiler_Properties): New global.
* gij.cc (help): New function.
(version): Likewise.
(heap_size): Likewise.
(heap_max_size): Likewise.
(main): Parse arguments.  Set _Jv_Compiler_Properties.
Include <config.h>, <java-props.h>.
(_Jv_Compiler_Properties): Removed.

From-SVN: r30133

24 years agojvgenmain.c (main): _Jv_Compiler_Properties now an extern; set in generated `main'.
Tom Tromey [Fri, 22 Oct 1999 19:40:50 +0000 (19:40 +0000)]
jvgenmain.c (main): _Jv_Compiler_Properties now an extern; set in generated `main'.

* jvgenmain.c (main): _Jv_Compiler_Properties now an extern; set
in generated `main'.

From-SVN: r30132

24 years agoi386.md: Add missing `y' modifiers to uses of fst, fstp, fld, and fld.
Mark Mitchell [Fri, 22 Oct 1999 15:59:21 +0000 (15:59 +0000)]
i386.md: Add missing `y' modifiers to uses of fst, fstp, fld, and fld.

* i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
and fld.

From-SVN: r30131

24 years agoUse C-coded tests and fixes for #endif/#else labels
Bruce Korb [Fri, 22 Oct 1999 13:23:43 +0000 (13:23 +0000)]
Use C-coded tests and fixes for #endif/#else labels

From-SVN: r30130

24 years agoDaily bump.
Jeff Law [Fri, 22 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30129

24 years agocp-tree.def (EMPTY_CLASS_EXPR): New tree node.
Mark Mitchell [Fri, 22 Oct 1999 06:35:17 +0000 (06:35 +0000)]
cp-tree.def (EMPTY_CLASS_EXPR): New tree node.

* cp-tree.def (EMPTY_CLASS_EXPR): New tree node.
* call.c (build_call): Use EMPTY_CLASS_EXPR instead of RTL_EXPR.
* expr.c (cplus_expand_expr): Expand it.
* ir.texi: Document EMPTY_CLASS_EXPR.

From-SVN: r30128

24 years agore GNATS gcj/56 (gcj segfaults in jc1 on OK java file)
Alexandre Petit-Bianco [Fri, 22 Oct 1999 06:06:47 +0000 (06:06 +0000)]
re GNATS gcj/56 (gcj segfaults in jc1 on OK java file)

Thu Oct 21 01:27:31 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (resolve_qualified_expression_name): Handle MODIFY_EXPR.
(qualify_ambiguous_name): Likewise.

This fixes the net PR #56
(http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00131.html)

From-SVN: r30127

24 years agore GNATS gcj/37 (gcj fails to compile "jBYTEmark" from source code when optimization...
Alexandre Petit-Bianco [Fri, 22 Oct 1999 05:27:34 +0000 (05:27 +0000)]
re GNATS gcj/37 (gcj fails to compile "jBYTEmark" from source code when optimization is used)

Wed Oct 20 01:41:47 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (java_complete_tree): fold_constant_for_init to work on
  permanent_obstack.
(java_complete_lhs): Likewise.
(array_constructor_check_entry): Complete an initializer element
  on permanent_obstack.

This patch fixes the net PR #37
(http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00043.html)

From-SVN: r30126

24 years agoMakefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.
Jeffrey A Law [Fri, 22 Oct 1999 02:38:57 +0000 (02:38 +0000)]
Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.

        * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
        depend on ggc.h.

From-SVN: r30125

24 years ago* gcc.1: Document exit codes.
Matthias Klose [Fri, 22 Oct 1999 02:32:26 +0000 (02:32 +0000)]
* gcc.1: Document exit codes.

From-SVN: r30124

24 years agodump.c (dequeue_and_dump): Replace several uses of queue_and_dump_index with dump_child.
Mark Mitchell [Fri, 22 Oct 1999 01:40:30 +0000 (01:40 +0000)]
dump.c (dequeue_and_dump): Replace several uses of queue_and_dump_index with dump_child.

1999-10-21  Mark Mitchell  <mark@codesourcery.com>

* dump.c (dequeue_and_dump): Replace several uses of
queue_and_dump_index with dump_child.

From-SVN: r30123

24 years agocalls.c: Include tm_p.h later, so everything we need is defined.
Kaveh R. Ghazi [Thu, 21 Oct 1999 16:58:33 +0000 (16:58 +0000)]
calls.c: Include tm_p.h later, so everything we need is defined.

        * calls.c: Include tm_p.h later, so everything we need is defined.
        * expr.c: Likewise.
        * function.c: Likewise.

        * except.c: Include tm_p.h.

        * sparc.c: Likewise.
        (dwarf2out_cfi_label): Don't prototype.
        (check_return_regs, epilogue_renumber,
        ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
        ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
        ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
        ultra_schedule_insn): Add static prototype.
        (data_segment_operand, text_segment_operand): Call itself with the
        proper number of arguments.
        (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.

        * sparc.h: Move all declarations to sparc-protos.h.
        (SELECT_RTX_SECTION):  Pass a missing MODE argument to
        symbolic_operand.

        * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.

        * config/svr4.h (text_section, ctors_section, dtors_section): Add
        Prototypes.
        (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
        ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
        ASM_OUTPUT_ASCII): Constify a char*.

        * sparc-protos.h: New file for sparc prototypes.

cp:
        * expr.c: Include tm_p.h.

From-SVN: r30122

24 years agofunction.c (record_insns, contains): Always declare and define.
Kaveh R. Ghazi [Thu, 21 Oct 1999 16:26:42 +0000 (16:26 +0000)]
function.c (record_insns, contains): Always declare and define.

       * function.c (record_insns, contains): Always declare and define.
       (record_insns): Mark with ATTRIBUTE_UNUSED.

From-SVN: r30121

24 years agoApply patches submitted by eCos team.
Jonathan Larmour [Thu, 21 Oct 1999 12:05:58 +0000 (12:05 +0000)]
Apply patches submitted by eCos team.

From-SVN: r30120

24 years agoAllos suppression of some ARM multilibs
Nick Clifton [Thu, 21 Oct 1999 10:54:53 +0000 (10:54 +0000)]
Allos suppression of some ARM multilibs

From-SVN: r30119

24 years agocp-tree.h (SCOPE_PARTIAL_P): New macro.
Mark Mitchell [Thu, 21 Oct 1999 08:05:57 +0000 (08:05 +0000)]
cp-tree.h (SCOPE_PARTIAL_P): New macro.

* cp-tree.h (SCOPE_PARTIAL_P): New macro.
(pushlevel_temporary): Remove.
(add_scope_stmt): New function.
* decl.c (pushlevel_temporary): Remove.
(poplevel): Use add_scope_stmt.
(start_decl_1): Likewise.
* semantics.c (add_scope_stmt): New function.
(do_pushlevel): Use it.
(do_poplevel): Use it.
(expand_stmt): Check SCOPE_PARTIAL_P.

From-SVN: r30118

24 years agoDaily bump.
Jeff Law [Thu, 21 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30117

24 years agocp-tree.def (EMPTY_CLASS_EXPR): New tree node.
Mark Mitchell [Thu, 21 Oct 1999 07:10:36 +0000 (07:10 +0000)]
cp-tree.def (EMPTY_CLASS_EXPR): New tree node.

* cp-tree.def (EMPTY_CLASS_EXPR): New tree node.
* call.c (build_call): Use EMPTY_CLASS_EXPR instead of RTL_EXPR.
* expr.c (cplus_expand_expr): Expand it.
* ir.texi: Document EMPTY_CLASS_EXPR.

From-SVN: r30116

24 years agosparc.md (movsf_const_intreg): If splitting, length must be > 1.
Jeffrey A Law [Thu, 21 Oct 1999 05:33:20 +0000 (05:33 +0000)]
sparc.md (movsf_const_intreg): If splitting, length must be > 1.

        * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
        (movdf_const_intreg_sp64): Similarly.

From-SVN: r30112

24 years agolocal-alloc.c (update_equiv_regs): Check the correct insn for pre-existing REG_EQUIV...
Jeffrey A Law [Thu, 21 Oct 1999 05:01:02 +0000 (05:01 +0000)]
local-alloc.c (update_equiv_regs): Check the correct insn for pre-existing REG_EQUIV notes.

        * local-alloc.c (update_equiv_regs): Check the correct insn
        for pre-existing REG_EQUIV notes.

From-SVN: r30111

24 years agocse.c (cse_end_of_basic_block): Don't return the end of a basic block reached by...
Mark Mitchell [Thu, 21 Oct 1999 03:37:33 +0000 (03:37 +0000)]
cse.c (cse_end_of_basic_block): Don't return the end of a basic block reached by a branch if...

* cse.c (cse_end_of_basic_block): Don't return the end of a basic
block reached by a branch if we're not going to actually process
this block

From-SVN: r30109

24 years agoFix noncompile/940510-1.c testsuite failures.
Jim Wilson [Wed, 20 Oct 1999 23:20:01 +0000 (23:20 +0000)]
Fix noncompile/940510-1.c testsuite failures.

* noncompile/noncompile.exp: For 940510-1.c, change compiler_output
to look for one error message instead of two.

From-SVN: r30108

24 years agoFix numerous -O3 -g testsuite failures for DWARF2 targets.
Jim Wilson [Wed, 20 Oct 1999 22:19:06 +0000 (22:19 +0000)]
Fix numerous -O3 -g testsuite failures for DWARF2 targets.

* integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
a local extern function declaration.

From-SVN: r30107

24 years agoi386.c (ix86_expand_prologue): Properly wrap USE around reg for CALL_INSN_FUNCTION_USAGE.
Richard Henderson [Wed, 20 Oct 1999 20:58:29 +0000 (13:58 -0700)]
i386.c (ix86_expand_prologue): Properly wrap USE around reg for CALL_INSN_FUNCTION_USAGE.

        * i386.c (ix86_expand_prologue): Properly wrap USE around
        reg for CALL_INSN_FUNCTION_USAGE.

From-SVN: r30106

24 years agomips.md (movdf_internal1a): Allow floating-point move between GP_REGs.
Andrew Haley [Wed, 20 Oct 1999 18:29:09 +0000 (18:29 +0000)]
mips.md (movdf_internal1a): Allow floating-point move between GP_REGs.

Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>

        * config/mips/mips.md (movdf_internal1a): Allow floating-point
        move between GP_REGs.

From-SVN: r30105

24 years agothumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of the mode size when finding out...
Andrew Haley [Wed, 20 Oct 1999 15:36:33 +0000 (15:36 +0000)]
thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of the mode size when finding out if an offset is legal.

Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>

* config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
the mode size when finding out if an offset is legal.

From-SVN: r30104

24 years agobasic-block.h (PROP_*): Move constants from ...
Richard Henderson [Wed, 20 Oct 1999 14:04:12 +0000 (07:04 -0700)]
basic-block.h (PROP_*): Move constants from ...

        * basic-block.h (PROP_*): Move constants from ...
        * flow.c: ... here.
        (compute_bb_for_insn): Free the array before reallocating.
        (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
        (allocate_reg_life_data): Reset all reg variables collected by
        propagate_block.
        (get_block_head_tail): Don't convert from bb to block.
        (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
        (find_insn_reg_weight): Take block not bb.
        (schedule_block): Don't set block num for moved insns.
        (schedule_region): Don't update_life_info or find_insn_reg_weight.
        (schedule_insns): Do it here instead.
        * combine.c (combine_instructions): Invoke compute_bb_for_insn
        before update_life_info.
        * recog.c (split_all_insns, peephole2_optimize): Update for
        new arg to update_life_info.
        * rtlanal.c (remove_note): Cope with NULL note.
        * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
        if we did sched1.

From-SVN: r30103

24 years ago* gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
Richard Earnshaw [Wed, 20 Oct 1999 12:53:23 +0000 (12:53 +0000)]
* gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.

From-SVN: r30102

24 years ago(split_edge): Handle casesi insns.
Richard Earnshaw [Wed, 20 Oct 1999 12:45:22 +0000 (12:45 +0000)]
(split_edge): Handle casesi insns.

From-SVN: r30101

24 years ago(merge_blocks_move_predecessor_nojumps): Re-order the basic block records so...
Richard Earnshaw [Wed, 20 Oct 1999 12:39:01 +0000 (12:39 +0000)]
(merge_blocks_move_predecessor_nojumps): Re-order the basic block records so...

(merge_blocks_move_predecessor_nojumps): Re-order the basic
block records so that merge_blocks_nomove will clean up correctly.

From-SVN: r30100

24 years ago(jump_optimize_1): More accurately detect casesi insns.
Richard Earnshaw [Wed, 20 Oct 1999 10:21:47 +0000 (10:21 +0000)]
(jump_optimize_1): More accurately detect casesi insns.

From-SVN: r30099

24 years agoDaily bump.
Jeff Law [Wed, 20 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30098

24 years agocp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template parameters as having namespa...
Mark Mitchell [Wed, 20 Oct 1999 07:02:30 +0000 (07:02 +0000)]
cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template parameters as having namespace scope.

* cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template
parameters as having namespace scope.

From-SVN: r30097

24 years agopa.md (call, call_value): Do not emit a blockage after restoring the PIC register.
Jeffrey A Law [Wed, 20 Oct 1999 05:45:09 +0000 (05:45 +0000)]
pa.md (call, call_value): Do not emit a blockage after restoring the PIC register.

        * pa.md (call, call_value): Do not emit a blockage after restoring
        the PIC register.

From-SVN: r30096

24 years ago* c-typeck.c (c_expand_asm_operands): Fix typo.
Mark Mitchell [Wed, 20 Oct 1999 00:18:10 +0000 (00:18 +0000)]
* c-typeck.c (c_expand_asm_operands): Fix typo.

From-SVN: r30095

24 years agoTest code for GNATS gcj/71 and GNATS gcj/72.
Bryce McKinlay [Wed, 20 Oct 1999 00:09:33 +0000 (00:09 +0000)]
Test code for GNATS gcj/71 and GNATS gcj/72.

1999-10-19  Bryce McKinlay  <bryce@albatross.co.nz>

        * libjava.compile/invokeinterface: New directory.
        * libjava.compile/invokeinterface/Test.java: New file. Test code for
        PR gcj/71 and PR gcj/72.
        * libjava.compile/invokeinterface/A.java: New file.
        * libjava.compile/invokeinterface/B.java: New file.

From-SVN: r30094

24 years agojcf-parse.c (parse_source_file): Call jcf_dependency_add_file.
Tom Tromey [Tue, 19 Oct 1999 23:05:28 +0000 (23:05 +0000)]
jcf-parse.c (parse_source_file): Call jcf_dependency_add_file.

* jcf-parse.c (parse_source_file): Call jcf_dependency_add_file.
From Mike Moreton <mike@pillim.demon.co.uk>.

From-SVN: r30093

24 years agovalarray_meta.h: (_BinClos::_BinClos): Fix typo.
Gabriel Dos Reis [Tue, 19 Oct 1999 22:10:36 +0000 (00:10 +0200)]
valarray_meta.h: (_BinClos::_BinClos): Fix typo.

1999-10-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * std/valarray_meta.h: (_BinClos::_BinClos): Fix typo.

From-SVN: r30092

24 years agocplus-dem.c (INTBUF_SIZE): New macro.
Mark Mitchell [Tue, 19 Oct 1999 17:52:52 +0000 (17:52 +0000)]
cplus-dem.c (INTBUF_SIZE): New macro.

* cplus-dem.c (INTBUF_SIZE): New macro.
(string_append_template_idx): New function.
(demangle_expression): Likewise.
(demangle_integral_value): Use it.
(demangle_real_value): New function, split out from ...
(demangle_template_value_parm): ... here.  Use
string_append_template_idx.  Use demangle_real_value.
(demangle_template): Use string_append_template_idx.
(demangle_qualified): Use consume_count_with_underscores.
(get_count): Tweak formatting.
(do_type): Use string_append_template_idx.

From-SVN: r30091

24 years agomethod.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
Mark Mitchell [Tue, 19 Oct 1999 17:40:48 +0000 (17:40 +0000)]
method.c (PARM_CAN_BE_ARRAY_TYPE): Remove.

* method.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
(mangling_flags): New type.
(build_overload_int): Change prototype.
(build_overload_value): Likewise.
(numeric_output_need_bar): Improve comment.
(mangle_expression): New function, broken out from ...
(build_overload_int): Here.
(build_overload_value): Adjust for use of mangling flags.  Don't
warn about real-valued template parameters here.  Do handle
complex expressions involving real-valued template parameters.
(build_template_parm_names): Encase non-type template parameters
in underscores, if necessary.
(process_overload_item): Remove conditional on
PARM_CAN_BE_ARRAY_TYPE.

From-SVN: r30090

24 years agoarm.c: Verify modes on operands in predicates
Bernd Schmidt [Tue, 19 Oct 1999 16:47:23 +0000 (16:47 +0000)]
arm.c: Verify modes on operands in predicates

From-SVN: r30088

24 years agoFix APCS violation.
Richard Earnshaw [Tue, 19 Oct 1999 14:27:00 +0000 (14:27 +0000)]
Fix APCS violation.

From-SVN: r30087

24 years agouse genfixes within Makefile.in and move comments to README
Bruce Korb [Tue, 19 Oct 1999 13:22:45 +0000 (13:22 +0000)]
use genfixes within Makefile.in and move comments to README

From-SVN: r30086

24 years agoDo not generate error message about unrecognised command line switches of
Nick Clifton [Tue, 19 Oct 1999 13:02:39 +0000 (13:02 +0000)]
Do not generate error message about unrecognised command line switches of
other languages.

From-SVN: r30085

24 years agoApplied Mumit Khan's patch to fix #pragma push/pop handling.
Mumit Khan [Tue, 19 Oct 1999 10:44:30 +0000 (10:44 +0000)]
Applied Mumit Khan's patch to fix #pragma push/pop handling.

From-SVN: r30084

24 years agoreg-stack.c (stack_result): Aggregates are not returned in stack registers.
Jeffrey A Law [Tue, 19 Oct 1999 08:12:30 +0000 (08:12 +0000)]
reg-stack.c (stack_result): Aggregates are not returned in stack registers.

        * reg-stack.c (stack_result): Aggregates are not returned in
        stack registers.

From-SVN: r30081