Commit Graph

24665 Commits

Author SHA1 Message Date
Jeff Law 646997096c Daily bump.
From-SVN: r30211
1999-10-27 01:45:07 -06:00
Jeffrey A Law b3b5ad95e6 alias.c: Update comments for ADDRESS.
* alias.c: Update comments for ADDRESS.
        (nonlocal_reference_p): Look inside the ADDRESS to determine if
        it is a local memory reference.

From-SVN: r30210
1999-10-27 00:18:11 -06:00
Mark Mitchell c831fdea4b * ggc-page.c (poison_pages): Don't be overzealous.
From-SVN: r30209
1999-10-27 06:12:31 +00:00
Jeffrey A Law 95815af9d2 c-typeck.c (build_function_call): Check that the built-in function is of class BUILT_IN_NORMAL before trying to...
* c-typeck.c (build_function_call): Check that the built-in
        function is of class BUILT_IN_NORMAL before trying to recongize
        it as BUILT_IN_ABS.
        * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
        * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.

        * call.c (build_over_call):  Check that the built-in function is
        of class BUILT_IN_NORMAL before trying to recongize it as BUILT_IN_ABS.
        * typeck.c (build_function_call_real): Similarly.

From-SVN: r30208
1999-10-26 23:32:43 -06:00
Robert Lipe 283a25451f gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead of alloca.
* gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
        of alloca.
        (pre_gcse): Likewise.
        (hoist_expr_reaches_here_p): Likewise.
        (hoist_code): Likewise.
        (pre_expr_reaches_here_p): Replace alloca with xcalloc.   Move core
        code to ...
        (pre_expr_reaches_here_p_work): ... here.
        (expr_reaches_here_p): Replace alloca with xcalloc.   Move core
        code to ...
        (expr_reaches_here_p_work): ... here.

From-SVN: r30207
1999-10-27 05:16:12 +00:00
Richard Henderson d024732666 resource.c (find_basic_block): Delete.
* resource.c (find_basic_block): Delete.
        (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
        (init_resource_info): Call compute_bb_for_insn.

From-SVN: r30206
1999-10-26 20:44:08 -07:00
Richard Henderson 3965abd030 * gcc.c-torture/compile/991026-2.c: New test.
From-SVN: r30205
1999-10-26 20:26:12 -07:00
Richard Henderson 02db399d6a toplev.c (rest_of_compilation): Open jump1 dump file before jump and close after, as opposed to just using dump_rtl.
* toplev.c (rest_of_compilation): Open jump1 dump file before
        jump and close after, as opposed to just using dump_rtl.

From-SVN: r30204
1999-10-26 20:24:38 -07:00
Richard Henderson 93cba9936e flow.c (merge_blocks_move_predecessor_nojumps): Cope with already adjacent blocks, but no fallthru.
* flow.c (merge_blocks_move_predecessor_nojumps): Cope
        with already adjacent blocks, but no fallthru.
        (merge_blocks_move_successor_nojumps): Simplify.
        (debug_flow_info): New.

From-SVN: r30203
1999-10-26 20:24:24 -07:00
J"orn Rennecke 09a308fe08 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
1999-10-27 03:14:12 +01:00
Jan Hubicka a05924f91b Reorg reg-stack to use the standard CFG.
Co-Authored-By: Richard Henderson <rth@cygnus.com>

From-SVN: r30201
1999-10-26 18:25:13 -07:00
Richard Henderson b517dcd29e 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
1999-10-26 13:31:33 -07:00
Gavin Romig-Koch 1d5d552e7b 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
1999-10-26 20:29:35 +00:00
Richard Henderson 044bdac117 * i386.md (zero_extendqihi2): Use SImode register name with andl.
From-SVN: r30198
1999-10-26 13:10:28 -07:00
Richard Henderson cd8cee7b53 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
1999-10-26 12:36:18 -07:00
Kaveh R. Ghazi ec0ce6e261 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
1999-10-26 18:13:38 +00:00
Richard Earnshaw d8d79d1588 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
From-SVN: r30195
1999-10-26 17:44:42 +00:00
Bernd Schmidt 67e61fe7f3 Small reload cleanups
From-SVN: r30193
1999-10-26 13:45:31 +00:00
Marc Espie 35f86a5003 Makefile.in (AR_FOR_TARGET, [...]): Fix target name substitution.
* Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
        substitution.

From-SVN: r30190
1999-10-26 02:51:50 -06:00
Mark Mitchell 2af0ac2840 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
1999-10-26 08:34:46 +00:00
Jeff Law ce7cbc7639 Daily bump.
From-SVN: r30187
1999-10-26 01:45:07 -06:00
Jeff Law 608b12276c Also make sure to define DIR_SEPARATOR if it wasn't previously defined.
From-SVN: r30186
1999-10-26 00:59:43 -06:00
Geoff Keating 3306eb80e9 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
1999-10-26 00:48:38 -06:00
Jeffrey A Law 543c94cc93 * gcc.c-torture/compile/991026-1.c: New test.
From-SVN: r30184
1999-10-26 00:47:05 -06:00
Bernd Schmidt c2b4b17147 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
1999-10-26 00:43:36 -06:00
Jeffrey A Law c2897436c3 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
1999-10-26 00:03:19 -06:00
Geoff Keating 7f6dae2a45 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
1999-10-25 23:56:15 -06:00
Herman A.J. ten Brugge 7146dfdd90 * prefix.c (translate_name) Check for empty prefix string.
From-SVN: r30180
1999-10-25 23:54:13 -06:00
Andreas Schwab 1722c704a2 * configure: Fix quoting inside arguments of eval.
From-SVN: r30179
1999-10-25 23:47:42 -06:00
Jeffrey A Law 92bcb3808e 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
1999-10-25 23:43:52 -06:00
Andreas Schwab 9799e470fb 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
1999-10-25 23:12:14 -06:00
Jeffrey A Law 4525e22851 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
1999-10-25 23:05:00 -06:00
Jim Kingdon a82cecdad5 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
1999-10-25 22:30:08 -06:00
Jim Kingdon a36335da46 * fold-const.c (fold): Fix comment.
From-SVN: r30174
1999-10-25 22:27:50 -06:00
Kaveh R. Ghazi a996cbd49c 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
1999-10-26 02:54:22 +00:00
Gavin Romig-Koch ea09f03262 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
1999-10-25 21:44:39 +00:00
Richard Earnshaw f12c5ef37a * arm.md (pic_load_addr): Add constraints to operand 1.
From-SVN: r30170
1999-10-25 21:11:18 +00:00
Jeffrey A Law 2ca129355b 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
1999-10-25 13:24:40 -06:00
Bruce Korb 627dba375c oops - typo
From-SVN: r30166
1999-10-25 16:11:12 +00:00
Bruce Korb dc994a6d48 Provide a means for specifying -D options to AutoGen
From-SVN: r30165
1999-10-25 16:05:08 +00:00
Jeff Law 311dc497fc Daily bump.
From-SVN: r30163
1999-10-25 01:45:06 -06:00
Jeffrey A Law 5948776913 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
1999-10-25 00:44:04 -06:00
Mark Mitchell f9c4f105d5 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
1999-10-25 06:38:42 +00:00
Mark Mitchell 20819a093e * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
From-SVN: r30153
1999-10-25 06:30:37 +00:00
Richard Henderson ad678cb0ed 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
1999-10-24 21:04:49 -07:00
Mark Mitchell f77e39fc59 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
1999-10-25 01:34:16 +00:00
Kaveh R. Ghazi 4b79993fd5 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
1999-10-25 00:33:56 +00:00
Richard Henderson 65c8a03d5c 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
1999-10-24 13:31:26 -07:00
Richard Henderson 0bae01847e Revert unintended change to copy_loop_body.
From-SVN: r30148
1999-10-24 13:25:28 -07:00
Graham Stott ac6067399c 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
1999-10-24 13:20:00 -07:00