Commit Graph

24531 Commits

Author SHA1 Message Date
Mark Mitchell
13ef1ec581 decl2.c (start_static_storage_duration_function): Push the function declaration so it ends up in namespace scope.
* decl2.c (start_static_storage_duration_function): Push the
	function declaration so it ends up in namespace scope.

From-SVN: r29838
1999-10-06 06:18:18 +00:00
Mark Mitchell
3454335f03 dump.c (DUMP_CHILDREN): Remove.
* dump.c (DUMP_CHILDREN): Remove.
	(DUMP_BINFO): Adjust.
	(struct dump_node_info): Remove dump_children_p.
	(queue_and_dump_type): Remove dump_children_p parameter.
	(queue): Don't set dump_children_p.
	(dump_child): Pass DUMP_NONE, instead of DUMP_CHILDREN, to
	queue_and_dump_index.
	(dequeue_and_dump): Unconditionally print children.  Adjust calls
	to functions mentioned above.
	(dump_node):  Pass DUMP_NONE, instead of DUMP_CHILDREN to queue.

From-SVN: r29837
1999-10-06 05:35:38 +00:00
Michael Meissner
dca31eb4cc Redo changelog entry.
From-SVN: r29836
1999-10-06 03:25:39 +00:00
Mark Mitchell
3651fb44bb ir.texi: Document BIND_EXPR, LOOP_EXPR, and EXIT_EXPR.
* ir.texi: Document BIND_EXPR, LOOP_EXPR, and EXIT_EXPR.
	* dump.c (dequeue_and_dump): Dump them.

From-SVN: r29835
1999-10-05 23:59:27 +00:00
Mark Mitchell
cd6642cbec * ir.texi: Document LOOP_EXPR and EXIT_EXPR.
From-SVN: r29834
1999-10-05 23:40:00 +00:00
Paul Burchard
85f88abf55 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
From-SVN: r29833
1999-10-05 23:29:32 +00:00
Michael Meissner
820f6e3ac9 Make libgcc1-test.c compile without warnings
From-SVN: r29832
1999-10-05 23:07:09 +00:00
Michael Meissner
2f9e65b1f1 Do not include stddef.h if building trampoline support and inhibit_libc is defined
From-SVN: r29831
1999-10-05 19:59:03 +00:00
Michael Meissner
139fa6f87b Mark args as unused.
From-SVN: r29830
1999-10-05 19:48:55 +00:00
Michael Meissner
df231a0970 Declare malloc, free, and atexit if inhibit_libc is defined.
From-SVN: r29829
1999-10-05 19:41:35 +00:00
Richard Henderson
dbf08f94a7 flow.c (make_edge): Accept an optional 2D bitmap in which to cache edge existence.
* flow.c (make_edge): Accept an optional 2D bitmap in which
        to cache edge existence.  Update all callers.
        (make_label_edge, make_eh_edge): Pass through the edge cache.
        (make_edges): Provide the cache.

From-SVN: r29828
1999-10-05 12:01:01 -07:00
Kaveh R. Ghazi
5da1ecf26e mbchar.c (literal_codeset, [...]): Constify a char*.
* mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
	a char*.
	(local_mbtowc): Change the type of variable `i' from int to size_t.

	* mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
	(local_mbtowc, local_mblen, literal_codeset): Constify a char*.

From-SVN: r29827
1999-10-05 16:21:34 +00:00
Mark Mitchell
018fc244dc method.c (synthesize_method): Call setup_vtbl_ptr for destructors.
* method.c (synthesize_method): Call setup_vtbl_ptr for destructors.

	* decl.c (start_function): Set current_in_charge_parm for
	constructors, too, where appropriate.
	* search.c (fixup_all_virtual_upcast_offsets): New function.
	(expand_indirect_vtbls_init): Use it.

From-SVN: r29826
1999-10-05 16:19:04 +00:00
Michael Meissner
1b42a6a905 Include tm_p.h in ggc files
From-SVN: r29825
1999-10-05 15:42:18 +00:00
Diego Novillo
b81fdb5a14 mips.c (mips_move_2words): Split doubles if ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
* config/mips/mips.c (mips_move_2words): Split doubles if ISA >= 3,
	!TARGET_64BIT, and destination is not an FP register.

Co-Authored-By: Jonathan Larmour <jlarmour@cygnus.co.uk>

From-SVN: r29824
1999-10-05 12:18:56 +00:00
Jeff Law
a99d6b8c08 Daily bump.
From-SVN: r29823
1999-10-05 01:45:10 -06:00
Richard Henderson
09051660d2 Rewrite to use independant test structures.
From-SVN: r29822
1999-10-04 22:18:54 -07:00
Zack Weinberg
6343a50edf resource.c (find_free_register): Mark class_str argument const.
1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>

	* resource.c (find_free_register): Mark class_str argument const.
	* resource.h: Update prototype to match.

	* i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
	* i386.md: Give all anonymous insns names.

From-SVN: r29821
1999-10-05 05:00:55 +00:00
Jeffrey A Law
ff54d46bc9 Jeffrey A Law (law@cygnus.com)
* flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
        blocks.

From-SVN: r29820
1999-10-04 21:12:33 -07:00
Richard Henderson
375e2d5cfa toplev.c (dbr_sched_time): Unconditional.
* toplev.c (dbr_sched_time): Unconditional.
        (peephole2_time): New.
        (compile_file): Add pass numbers to all of the dump file suffixes.
        Dump peephole2_time.  Don't dump times for non-applicable passes.
        (rest_of_compilation): Add pass numbers to dump file suffixes.
        Conditionalize calls to the scheduler.
        * invoke.texi: Update.

From-SVN: r29819
1999-10-04 21:04:48 -07:00
Anthony Green
7a3b7acb7c flow.c (make_edges): Fix insn iteration.
* flow.c (make_edges): Fix insn iteration.
	(find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
	(find_basic_blocks_1): Fix spelling mistake.

From-SVN: r29818
1999-10-05 03:44:26 +00:00
Richard Henderson
1fef02f64a tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that always have side-effects.
* tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
        always have side-effects.  Use memset not bzero.
        (make_node): Likewise.

From-SVN: r29817
1999-10-04 16:57:47 -07:00
Mark Mitchell
8a693bd0bb stmt.c (expand_anon_union_decl): When any of the elements of the union is addressable, so is the entire union.
* stmt.c (expand_anon_union_decl): When any of the elements of the
	union is addressable, so is the entire union.

From-SVN: r29816
1999-10-04 23:18:09 +00:00
Ulrich Drepper
436c94cb55 Update.
From-SVN: r29815
1999-10-04 22:13:38 +00:00
Ulrich Drepper
ed9e042da2 Test for not using results of va_arg calls.
From-SVN: r29814
1999-10-04 22:12:37 +00:00
Tom Tromey
5d836b57fc configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Call AC_EXEEXT after LIB_AC_PROG_CC, but don't
	actually let AC_EXEEXT run.

From-SVN: r29813
1999-10-04 22:08:42 +00:00
Tom Tromey
97cf151d27 natPlainSocketImpl.cc: Don't include headers if java.net is disabled.
* java/net/natPlainSocketImpl.cc: Don't include headers if
	java.net is disabled.

From-SVN: r29812
1999-10-04 21:37:30 +00:00
Tom Tromey
05a3dfc719 re GNATS gcj/59 (Problem with jv-scan --print-main)
* lex.h (BUILD_OPERATOR2): Return ASSIGN_ANY_TK in `lite' case as
	well.  Fixes Java PR gcj/59.
	* parse-scan.y (yyerror): Report errors.

From-SVN: r29811
1999-10-04 20:32:08 +00:00
Mark Mitchell
5828784f30 Always use -fvtable-thunks.
From-SVN: r29810
1999-10-04 20:13:42 +00:00
Tom Tromey
39acd93283 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (ZINCS): Removed.  This is defined in configure.in
	when needed, and must be left empty when not needed.

From-SVN: r29809
1999-10-04 19:09:09 +00:00
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