Commit Graph

24531 Commits

Author SHA1 Message Date
Jeffrey A Law
f400f2b600 t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
* t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
        (FPBIT, DPBIT): Define.

From-SVN: r29787
1999-10-03 14:14:14 -06:00
Mark Mitchell
6f80451c66 cp-tree.def (VEC_INIT_EXPR): Remove.
* cp-tree.def (VEC_INIT_EXPR): Remove.
	* cp-tree.h (struct stmt_tree): New type.
	(struct saved_scope): Remove firstobj.  Add x_saved_tree,
	x_stmt_tree.
	(class_cache_firstobj): Remove.
	(struct language_function): Remove stmts_are_full_exprs_p,
	x_last_tree, and x_last_expr_type.  Add x_stmt_tree.
	(current_stmt_tree): New macro.
	(last_tree): Adjust.
	(last_expr_type): Likewise.
	(doing_semantic_analysis_p): Simplify.
	(stmts_are_full_exprs_p): Adjust.
	(begin_tree): Remove prototype.
	(end_tree): Likewise.
	(begin_stmt_tree): Change prototype.
	(finish_stmt_tree): Likewise.
	(building_stmt_tree): Simplify.
	* decl.c (mark_stmt_tree): New function.
	(mark_saved_scope): Use it.
	(start_function): Rearrange slightly to call begin_stmt_tree
	earlier.
	(save_function_data): Tweak.
	(finish_function): Adjust call to finish_stmt_tree.
	(mark_lang_function): Use mark_stmt_tree.
	* expr.c (cplus_expand_expr): Don't handle VEC_INIT_EXPR.
	* init.c (build_new_1): Remove creation of VEC_INIT_EXPR.
	(build_vec_init): Remove creation of stand-in intializer.
	* pt.c (begin_tree): Remove.
	(end_tree): Likewise.
	* semantics.c (SET_LAST_STMT): New macro.  Use it throughout.
	(begin_compound_stmt): Handle a compound-statement outside of a
	function.
	(begin_stmt_expr): Handle a statement-expression outsidef of a
	function.
	(finish_stmt_expr): Likewise.
	(begin_class_definition): Don't call begin_tree.
	(finish_inline_definitions): Don't call end_tree.
	(begin_stmt_tree): Take a pointer to tree, not a function as input.
	(finish_stmt_tree): Likewise.
	* tree.c (search_tree): Don't handle VEC_INIT_EXPR.
	(mapcar): Likewise.

	* parse.y (simple_stmt): Don't call finish_stmt unnecessarily.
	* parse.c: Regenerated.

	* dump.c (dqueue_and_dump): Dump bitfieldness.

From-SVN: r29786
1999-10-03 18:57:37 +00:00
Kaveh Ghazi
e192c1020f Update copyright date
From-SVN: r29785
1999-10-03 17:01:59 +00:00
Kaveh R. Ghazi
95d75019ff print-tree.c (print_node, indent_to): Remove redundant prototypes.
* print-tree.c (print_node, indent_to): Remove redundant prototypes.

	* profile.c (instrument_arcs, output_gcov_string,
	tablejump_entry_p): Add static prototypes.
	(output_gcov_string): Constify a char*.

	* regmove.c (replacement_quality, fixup_match_2): Add static
	prototypes.

	* resource.h (reg_dead_p): Add extern prototype.

	* rtl.c (trim_filename): Add static prototype.

	* scan-decls.c (skip_to_closing_brace): Likewise.

	* stmt.c (expand_decl_cleanup_no_eh): Hide definition.
	(expand_end_case): Initialize variable `range'.
	(emit_case_nodes): Remove unused prototype `rtx_fn'.

	* varasm.c (asm_emit_uninitialised): Add static prototype.
	(asm_emit_uninitialised, assemble_variable): Mark parameter with
	ATTRIBUTE_UNUSED.

From-SVN: r29784
1999-10-03 16:47:52 +00:00
Kaveh R. Ghazi
ca3075bd73 cpplib.c (if_directive_nameo): Add static prototype.
* cpplib.c (if_directive_nameo): Add static prototype.

	* cse.c (cse_insn): Remove unused variable `p'.

	* except.c (create_rethrow_ref, push_entry,
	receive_exception_label, new_eh_region_entry, find_func_region,
	clear_function_eh_region, process_nestinfo): Add static prototypes.
	(get_reg_for_handler): Hide definition.
	(process_nestinfo): Initialize variable `extra_handlers'.

	* expr.h (expand_builtin_longjmp): Add extern prototype.

	* final.c (final_addr_vec_align, align_fuzz): Add static prototypes.

	* function.c (prepare_function_start): Likewise.
	(pop_function_context_from): Mark parameter `context' with
	ATTRIBUTE_UNUSED.
	(push_temp_slots_for_block, flush_addressof): Hide definition.

	* gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
	solve_program_flow_graph, calculate_branch_probs,
	function_summary, main, fancy_abort): Add prototypes.

	* gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
	(add_hash): Constify a char*.

	* ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
	ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
	ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.

	* integrate.c (expand_inline_function_eh_labelmap): Likewise.

	* lists.c (free_list, zap_lists): Likewise.

From-SVN: r29783
1999-10-03 16:28:33 +00:00
Kaveh R. Ghazi
93868d11a6 alias.c (nonlocal_reference_p): Add static prototype.
* alias.c (nonlocal_reference_p): Add static prototype.

        * bitmap.c (bitmap_element_allocate): Prototype args in function
        pointer cast.

        * builtins.c (stabilize_va_list): Add static prototype.
        (expand_builtin_va_arg): Constify a char*.

        * c-lex.c (getch, put_back, extend_token_buffer_to,
        read_line_number, token_getch, token_put_back): Add static
        prototypes.

        * c-parse.gperf (hash, is_reserved_word): Likewise.

        * cccp.c (is_dir_separator): Likewise.

From-SVN: r29782
1999-10-03 16:08:31 +00:00
Mark Mitchell
807625cf45 tree.c (lvalue_p_1): Use DECL_C_BIT_FIELD to check for bitfields, rather than DECL_BIT_FIELD.
* tree.c (lvalue_p_1): Use DECL_C_BIT_FIELD to check for
	bitfields, rather than DECL_BIT_FIELD.
	* ir.texi: Document how to tell whether or not a field is a
	bitfield.

	* lex.c (make_lang_type): Fix typo in comment.

From-SVN: r29781
1999-10-03 16:04:30 +00:00
Jeff Law
4927b3d487 Daily bump.
From-SVN: r29780
1999-10-03 01:45:08 -06:00
Mark Mitchell
fc232f7a62 xmalloc.c (xmalloc): Fix spelling error.
* xmalloc.c (xmalloc): Fix spelling error.
	(xcalloc, xrealloc): Likewise.

From-SVN: r29779
1999-10-03 01:55:59 +00:00
Kaveh Ghazi
3b1b9f12b4 Fix copyright.
From-SVN: r29778
1999-10-02 20:16:10 +00:00
Kaveh R. Ghazi
6a2cc2acaf graph.h: New file to prototype functions exported by graph.c.
* graph.h: New file to prototype functions exported by graph.c.

	* Makefile.in (graph.o, toplev.o): Depend on graph.h.

	* graph.c: Include graph.h.

	* toplev.c: Likewise.  Remove redundant prototypes.

From-SVN: r29777
1999-10-02 20:13:24 +00:00
Kaveh R. Ghazi
2a138827f0 cplus-dem.c (fancy_abort, [...]): Add prototype.
* cplus-dem.c (fancy_abort, demangle_integral_value,
	demangle_arm_hp_template, recursively_demangle,
	standard_symbol_characters, hp_symbol_characters, main): Add prototype.
	(program_name, program_version, fatal): Constify a char*.
	(usage, fatal): Mark with ATTRIBUTE_NORETURN.
	(main): Call return, not exit.

From-SVN: r29776
1999-10-02 20:03:15 +00:00
Richard Henderson
a628d1951b Fix typo in peep2 example.
From-SVN: r29775
1999-10-02 11:45:42 -07:00
Krister Walfridsson
111fbf3e96 Krister Walfridsson <cato@df.lth.se>
* invoke.texi: Removed duplicated description for -Q.

From-SVN: r29774
1999-10-02 11:29:08 -07:00
Jim Kingdon
f1b5ff21df Jim Kingdon <http://developer.redhat.com>
* extend.texi: Grammar fix in __extension__ text.

From-SVN: r29773
1999-10-02 11:16:33 -07:00
Richard Henderson
f3a3d0d39f * md.texi (define_peephole2): New section.
From-SVN: r29772
1999-10-02 11:07:49 -07:00
Jan Hubicka
ffab8d8591 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
        (mov $-1 to or peepholer): Enable for pentium when optimizing for
        speed.

From-SVN: r29771
1999-10-02 10:59:37 -07:00
Jan Hubicka
54e43c67ac Jan Hubicka <hubicka@freesoft.cz>
* builtins.c (expand_builtin_strlen): Fix best mode searching loop.

From-SVN: r29770
1999-10-02 10:56:05 -07:00
Jan Hubicka
e0dc26ffad Jan Hubicka <hubicka@freesoft.cz>
* i386.md (ffs expander): Emit Pentium friendly code for
        TARGET_PENTIUM.

From-SVN: r29769
1999-10-02 10:54:05 -07:00
Anthony Green
fc78679f9e Refreshed from htdocs
From-SVN: r29768
1999-10-02 16:39:36 +00:00
Steve Chamberlain
23915d8b70 I am committing the following changes to enable the picojava port.
I am committing the following changes to enable the picojava port.  I
will also forward them to Boehm.

From-SVN: r29767
1999-10-02 15:50:57 +00:00
Steve Chamberlain
f3775ba228 Missing file from last commit
From-SVN: r29766
1999-10-02 15:46:27 +00:00
Steve Chamberlain
9a480d6923 The following patches include a couple of fixes for cross toolchains,
and endian bits for the picojava port.  I am committing this (and the
rebuilt Makefile.in/configure files).

From-SVN: r29765
1999-10-02 15:44:24 +00:00
Mark Mitchell
97ca93c3ae tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES for non-trees.
* tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
	for non-trees.
	(build1): Likewise.

From-SVN: r29764
1999-10-02 08:52:17 +00:00
Jeff Law
06900a3427 Daily bump.
From-SVN: r29763
1999-10-02 01:45:08 -06:00
Jason Merrill
ba9c33e8f7 * typeck.c (decay_conversion): Strip cv-quals from non-class rvalues.
From-SVN: r29762
1999-10-01 21:09:54 -04:00
Jason Merrill
1bd83869f2 new
From-SVN: r29761
1999-10-01 20:41:00 -04:00
Tom Tromey
edf4b387c0 re GNATS gcj/56 (gcj segfaults in jc1 on OK java file)
* libjava.lang/PR56.out: New file.
	* libjava.lang/PR56.java: New file.

From-SVN: r29760
1999-10-02 00:39:04 +00:00
Tom Tromey
4b68fe8a36 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Set classpath when invoking gcj.  Use changequote
	around sed invocation.

	* java/net/natPlainSocketImpl.cc: Stub native functions if
	DISABLE_JAVA_NET is defined.
	* java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Fixed
	typo in exception string.
	(getTimeToLive): Likewise.
	Stub native functions if DISABLE_JAVA_NET is defined.
	* java/net/natInetAddress.cc: Stub native functions if
	DISABLE_JAVA_NET is defined.
	* configure.host: Disable java.net for mips-tx39.
	* configure, include/config.h.in: Rebuilt.
	* acconfig.h (DISABLE_JAVA_NET): Undefine.
	* configure.in: Added --disable-java-net and new define
	`DISABLE_JAVA_NET'.

From-SVN: r29759
1999-10-02 00:19:01 +00:00
Jason Merrill
95f1a0447f update
From-SVN: r29758
1999-10-01 18:44:51 -04:00
Mark Mitchell
b3da7bb1cf pt.c (tsubst_decl): If the type of a template instantiation is bogus, so is the whole instantiation.
* pt.c (tsubst_decl): If the type of a template instantiation is
	bogus, so is the whole instantiation.

From-SVN: r29757
1999-10-01 17:25:05 +00:00
Bernd Schmidt
2816d1644f Fix i386elf bug
From-SVN: r29756
1999-10-01 17:02:21 +00:00
Andreas Schwab
125ed86fee m68k.c (use_return_insn): Return false if the pic register is in use.
* config/m68k/m68k.c (use_return_insn): Return false if the pic
	register is in use.

From-SVN: r29755
1999-10-01 10:44:28 +00:00
Bernd Schmidt
3cf965b7f6 Delete !REGISTER_CONSTRAINTS code
From-SVN: r29754
1999-10-01 10:26:46 +00:00
Bernd Schmidt
19af645506 Delete !REGISTER_CONSTRAINTS code
From-SVN: r29753
1999-10-01 10:00:33 +00:00
Jeff Law
39d6e3d71b Daily bump.
From-SVN: r29752
1999-10-01 01:45:14 -06:00
Mark Mitchell
546be87e34 * iris6.h (BUILD_VA_LIST_TYPE): Define.
From-SVN: r29751
1999-10-01 07:03:06 +00:00
Mark Mitchell
c328b1d7d5 file-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable.
* lib/file-format.exp (gcc_target_object_format): Don't
	crash if objdump is unavailable.

From-SVN: r29750
1999-10-01 06:55:49 +00:00
Mark Mitchell
9ed9e79a15 decl.c (initialize_local_var): Handle static variables here.
* decl.c (initialize_local_var): Handle static variables here.
	(cp_finish_decl): Tweak handling of function-scope static
	variables.
	* semantics.c (expand_stmt): Handle DECL_STMTs for static
	variables.

From-SVN: r29749
1999-10-01 04:45:10 +00:00
Mark Mitchell
3b62f22400 * method.c (emit_thunk): Don't crash when -fsyntax-only.
From-SVN: r29748
1999-10-01 04:34:24 +00:00
Mark Mitchell
e82d3ca3b9 Fix typo in comment
From-SVN: r29747
1999-10-01 04:31:00 +00:00
Franz Sirl
bab45a519b Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
        for the va_list record.

From-SVN: r29746
1999-09-30 18:46:41 -07:00
Jan Hubicka
9b00189f09 Jan Hubicka <hubicka@freesoft.cz>
* i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
        prologues.

From-SVN: r29745
1999-09-30 18:35:37 -07:00
Jan Hubicka
0d7148e3f2 Jan Hubicka <hubicka@freesoft.cz>
* alias.c: Include insn-flags.h.
        * Makefile.in (alias.o): Update.

From-SVN: r29744
1999-09-30 18:32:18 -07:00
Jan Hubicka
36583feac4 Jan Hubicka <hubicka@freesoft.cz>
* i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
        to LTU and GEU.  Handle more cases using sbb.

From-SVN: r29743
1999-09-30 18:22:24 -07:00
Jan Hubicka
ca285e0794 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (truncatexfdf splitters): Do not use subreg.
        (fop XFmode patterns): Fix mode in operand testing.

From-SVN: r29742
1999-09-30 18:19:16 -07:00
Richard Henderson
39cc9917e2 jump.c (jump_optimize_1): Amend last change to test only the form of the operand, not the insn.
* jump.c (jump_optimize_1): Amend last change to test only the
        form of the operand, not the insn.

From-SVN: r29741
1999-09-30 18:13:51 -07:00
Richard Henderson
6d97e0b42e jump.c (jump_optimize_1): Use general_operand not register_operand to determine when B may need preloading.
* jump.c (jump_optimize_1) [conditional_move]: Use general_operand
        not register_operand to determine when B may need preloading.

From-SVN: r29740
1999-09-30 18:06:14 -07:00
Richard Henderson
6ce41093cc alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
* alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
        (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
        (call-value patterns): Move to end of file.
        (*): Remove mode from label_ref in (pc) context.
        (movstrqi): Use memory not general_operand for BLKmode operands.
        (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
        to register_operand operands.
        (peep2 patterns): Convert from commented-out peephole patterns.

From-SVN: r29739
1999-09-30 17:45:07 -07:00
Mark Mitchell
2b76013c9a cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
* cp-tree.h (lang_decl_flags): Add global_ctor_p and
	global_dtor_p.  Add init_priority.
	(DECL_ACCESS): Adjust accordingly.
	(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
	(GLOBAL_INIT_PRIORITY): Likewise.
	* decl.c (lang_mark_tree): Adjust accordingly.
	(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
	and GLOBAL_INIT_PRIORITY.
	* dump.c (dequeue_and_dump): Print them.
	* ir.texi: Document them.

From-SVN: r29738
1999-10-01 00:43:27 +00:00