Commit Graph

24778 Commits

Author SHA1 Message Date
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
Kaveh R. Ghazi
9d73cc12c3 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
1999-10-24 19:48:51 +00:00
Kaveh R. Ghazi
7751947bd4 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
1999-10-24 19:38:53 +00:00
Kaveh R. Ghazi
36f0e0a60c 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
1999-10-24 19:23:11 +00:00
Mark Mitchell
87bb6e4ba4 iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to -O0.
* config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
	-O0.

From-SVN: r30143
1999-10-24 17:36:47 +00:00
Jeff Law
bcc58682bf Daily bump.
From-SVN: r30142
1999-10-24 01:45:06 -06:00
Jeffrey A Law
ee90ff50c2 * gcc.c-torture/execute/991023-1.c: New test.
From-SVN: r30141
1999-10-23 23:37:24 -06:00
Mark Mitchell
f120f9018d 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
1999-10-24 04:08:16 +00:00
Manfred Hollstein
ea1e32f66f * POTFILES.in: Track files recently added/deleted/moved.
From-SVN: r30139
1999-10-23 16:38:23 +00:00
Zack Weinberg
ed38f5d5d8 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
1999-10-23 15:56:52 +00:00
Jeff Law
5e481b31ee Daily bump.
From-SVN: r30137
1999-10-23 01:45:06 -06:00
Jason Merrill
ecb2452b82 regen
From-SVN: r30136
1999-10-22 23:20:47 -04:00
Jeffrey A Law
6ab589e0c9 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
1999-10-22 18:09:29 -06:00
Bernd Schmidt
dfac187e9f Fix register elimination problem
From-SVN: r30134
1999-10-22 22:02:17 +00:00
Tom Tromey
b8c3c4f014 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
1999-10-22 19:43:41 +00:00
Tom Tromey
2fca54beb2 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
1999-10-22 19:40:50 +00:00
Mark Mitchell
7ebb782bd0 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
1999-10-22 15:59:21 +00:00
Bruce Korb
8f9ca91274 Use C-coded tests and fixes for #endif/#else labels
From-SVN: r30130
1999-10-22 13:23:43 +00:00
Jeff Law
5685b5d3c2 Daily bump.
From-SVN: r30129
1999-10-22 01:45:07 -06:00
Mark Mitchell
5f7cbe4eb3 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
1999-10-22 06:35:17 +00:00
Alexandre Petit-Bianco
ac22f9cb2c 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
1999-10-21 23:06:47 -07:00
Alexandre Petit-Bianco
100f7cd8b9 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
1999-10-21 22:27:34 -07:00
Jeffrey A Law
d84319deb3 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
1999-10-21 20:38:57 -06:00
Matthias Klose
84221183be * gcc.1: Document exit codes.
From-SVN: r30124
1999-10-21 20:32:26 -06:00
Mark Mitchell
8badec73eb 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
1999-10-22 01:40:30 +00:00
Kaveh R. Ghazi
b1474bb79e 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
1999-10-21 16:58:33 +00:00
Kaveh R. Ghazi
ec97b83a1c 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
1999-10-21 16:26:42 +00:00
Jonathan Larmour
ec8aac6f55 Apply patches submitted by eCos team.
From-SVN: r30120
1999-10-21 12:05:58 +00:00
Nick Clifton
8141abe88d Allos suppression of some ARM multilibs
From-SVN: r30119
1999-10-21 10:54:53 +00:00
Mark Mitchell
8f471b0d0f 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
1999-10-21 08:05:57 +00:00
Jeff Law
070cd782ac Daily bump.
From-SVN: r30117
1999-10-21 01:45:06 -06:00
Mark Mitchell
699ed0ce1f 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
1999-10-21 07:10:36 +00:00
Jeffrey A Law
e54635a2f3 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
1999-10-20 23:33:20 -06:00
Jeffrey A Law
b768aa38c2 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
1999-10-20 23:01:02 -06:00
Mark Mitchell
16b702cd43 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
1999-10-21 03:37:33 +00:00
Jim Wilson
56d410bbc0 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
1999-10-20 16:20:01 -07:00
Jim Wilson
417d348c5a 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
1999-10-20 15:19:06 -07:00
Richard Henderson
276ab4a49c 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
1999-10-20 13:58:29 -07:00