Commit Graph

24501 Commits

Author SHA1 Message Date
Richard Henderson
8229306b8b bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
* bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
        * bitmap.c (bitmap_operation): Return true iff TO changed.
        (bitmap_equal_p): New.
        (bitmap_bit_p): Tidy arithmetic.
        (debug_bitmap_file): Likewise.

From-SVN: r29808
1999-10-04 11:52:39 -07:00
Richard Henderson
393f3ad5b9 * sbitmap.c (sbitmap_ones): Don't set too many bits.
From-SVN: r29807
1999-10-04 11:39:19 -07:00
Richard Henderson
4afd525437 toplev.c (rest_of_compilation): Turn on cse_not_expected before cse2 instead of after.
* toplev.c (rest_of_compilation): Turn on cse_not_expected
        before cse2 instead of after.

From-SVN: r29806
1999-10-04 11:30:10 -07:00
Nathan Sidwell
ce7695e001 decl2.c (grok_alignof): Don't decay lvalues.
* decl2.c (grok_alignof): Don't decay lvalues.

	* init.c (build_new): Remove unused variable.

From-SVN: r29805
1999-10-04 15:13:26 +00:00
Stan Cox
d38e58a5ab mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large register offsets.
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
register offsets.

From-SVN: r29804
1999-10-04 13:59:24 +00:00
Jeffrey A Law
62e1ef6878 * mn10200.c (asm_file_start): Fix typo.
From-SVN: r29803
1999-10-04 05:20:11 -06:00
Alexandre Oliva
712fbcfac4 cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2.
* cppinit.c (is_idchar initializer): Loosen tests to accept
gcc 2.>6 and >2.

From-SVN: r29802
1999-10-04 11:11:16 +00:00
Mark Mitchell
39c76b4f03 cp-tree.h (struct language_function): Remove static_labelno.
* cp-tree.h (struct language_function): Remove static_labelno.
	(static_labelno): Remove macro.
	* method.c (build_overload_nested_name): Make static_labelno
	static here.

	* pt.c (instantiate_decl): Use DECL_SAVED_TREE, not DECL_INITIAL,
	to decide whether or not a function is defined.

From-SVN: r29801
1999-10-04 09:33:31 +00:00
Mark Mitchell
b3a798924e mips.md: Define conditional move patterns for floating point operands and DI mode conditions.
* mips.md: Define conditional move patterns for floating point
	operands and DI mode conditions.

From-SVN: r29800
1999-10-04 09:26:57 +00:00
Mark Mitchell
c557501d33 call.c (build_over_call): Don't set TREE_SIDE_EFFECTS for situations where make_node will do it automatically.
1999-10-04  Mark Mitchell  <mark@codesourcery.com>

	* call.c (build_over_call): Don't set TREE_SIDE_EFFECTS for
	situations where make_node will do it automatically.
	* decl.c (grok_reference_init): Likewise.
	(expand_static_init): Likewise.
	(do_static_initialization): Likewise.
	* init.c (perform_member_init): Likewise.
	(expand_aggr_init_1): Likewise.
	(build_new_1): Likewise.
	* method.c (do_build_copy_constructor): Likewise.
	(do_build_assign_ref): Likewise.
	* search.c (expand_upcast_fixups): Likewise.
	* semantics.c (finish_stmt_expr): Likewise.
	* typeck.c (build_unary_op): Likewise.
	(check_return_expr): Likewise.

From-SVN: r29799
1999-10-04 09:15:17 +00:00
Mark Mitchell
783feeb034 tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that are always have side-effects.
* tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
	are always have side-effects.

From-SVN: r29798
1999-10-04 09:07:53 +00:00
Jason Merrill
37f88e3ea0 * init.c (build_vec_delete_1): Fold COND_EXPRs.
From-SVN: r29796
1999-10-04 04:30:28 -04:00
Jeff Law
749168094a Daily bump.
From-SVN: r29795
1999-10-04 01:45:16 -06:00
Jeffrey A Law
d93ec8a08c cppinit.c (is_idchar initializer): Tighten tests for when to put the table into initialized memory.
* cppinit.c (is_idchar initializer): Tighten tests for when
        to put the table into initialized memory.

From-SVN: r29794
1999-10-04 00:19:02 -06:00
Jeffrey A Law
88deedb5c9 ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx, not an array of rtunion.
* ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
        not an array of rtunion.
        * gcc-page.c (ggc_alloc_rtvec): Similarly.
        * gcc-simple (ggc_free_rtvec): Similarly.

From-SVN: r29793
1999-10-04 00:14:10 -06:00
Jeffrey A Law
910eabe501 genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead of rtunions.
* genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
        of rtunions.

From-SVN: r29792
1999-10-04 00:08:16 -06:00
Anthony Green
aedf9aa78c Fix changelog entry
From-SVN: r29791
1999-10-04 03:44:07 +00:00
Anthony Green
0d9cd062a0 A little clean up.
From-SVN: r29790
1999-10-04 03:30:54 +00:00
Jeffrey A Law
3897b7b7b8 * configure.in (fr30): Fix typo.
From-SVN: r29789
1999-10-03 14:21:45 -06:00
Jeffrey A Law
1f4915dcb3 * mbchar.h: Add missing #endif.
From-SVN: r29788
1999-10-03 14:16:30 -06:00
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