Commit Graph

25502 Commits

Author SHA1 Message Date
Jeff Law
c547c37183 Daily bump.
From-SVN: r31096
1999-12-27 01:45:09 -07:00
Jakub Jelinek
996ed075bd h8300.h (TARGET_H8300H, [...]): Make sure UNITS_PER_WORD and BITS_PER_WORD are compile time constants when...
* config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
	UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
	compiling libgcc2.
	* config/mips/mips.h (TARGET_64BIT): Likewise.
	* config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
	* libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
	of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
	dsps.  Give routines proper names if SI/DI modes are not used.
	* longlong.h: Use DWunion instead of DIunion.

From-SVN: r31095
1999-12-27 09:34:45 +01:00
Bryce McKinlay
9310f1eb4c Commit forgotten Thread.java patch.
From-SVN: r31094
1999-12-27 07:33:22 +00:00
Zack Weinberg
f4524c9e9c acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING, GC_CHECKING, GC_ALWAYS_COLLECT.
1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>

	* acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
	GC_CHECKING, GC_ALWAYS_COLLECT.
	* configure.in: Allow --enable-checking with an argument
	listing check modes to enable.
	* config.in, configure: Rebuilt.
	* ggc-page.c, ggc-simple.c: Define GGC_POISON (and
	GGC_ALWAYS_VERIFY for ggc-simple.c) only if
	ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
	ENABLE_GC_ALWAYS_COLLECT.
	* rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
	throughout.
	* tree.h, tree.c: Change ENABLE_CHECKING to
	ENABLE_TREE_CHECKING throughout.

	* cp-tree.h: Replace ENABLE_CHECKING with ENABLE_TREE_CHECKING
	throughout.

From-SVN: r31093
1999-12-26 23:06:54 +00:00
Mark Mitchell
f0ad3f4675 decl.c (store_return_init): Use mode of old RTL generated for DECL_RESULT, not the mode of DECL_RESULT itself.
* decl.c (store_return_init): Use mode of old RTL generated for
	DECL_RESULT, not the mode of DECL_RESULT itself.
	* semantics.c (finish_named_return_value): Set DECL_UNINLINABLE
	for functions that used named return values.

From-SVN: r31092
1999-12-26 15:28:18 +00:00
Richard Kenner
1d691c5344 * fold-const.c (fold_truthop): Properly check for FP RHS.
From-SVN: r31091
1999-12-26 07:43:28 -05:00
Jeff Law
f918cd8a10 Daily bump.
From-SVN: r31090
1999-12-26 01:45:42 -07:00
Jeff Law
22c0e6c2e1 Daily bump.
From-SVN: r31089
1999-12-25 01:45:06 -07:00
Mark Mitchell
de23a892ab toplev.h (note_deferall_of_defined_inline_function): Declare.
* toplev.h (note_deferall_of_defined_inline_function): Declare.
	* toplev.c (note_deferral_of_defined_inline_function): New
	function, split out from ...
	(rest_of_compilation): ... here.  Use it.

	* semantics.c (expand_body): Use
	note_deferral_of_defined_inline_function.

From-SVN: r31088
1999-12-24 20:24:16 +00:00
Richard Kenner
9376fcd631 expr.c (store_constructor): Don't call clear_storage if size is variable.
* expr.c (store_constructor): Don't call clear_storage if size is
	variable.

From-SVN: r31086
1999-12-24 12:27:36 -05:00
Kaveh R. Ghazi
272df862c2 Makefile.in (toplev.o): Depend on loop.h.
* Makefile.in (toplev.o): Depend on loop.h.

	* dwarfout.c: Include tm_p.h.

	* emit-rtl.c (restore_emit_status): Mark parameter with
	ATTRIBUTE_UNUSED.

	* final.c (final_scan_insn): Likewise.

	* flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
	flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
	flow_depth_first_order_compute, flow_loop_pre_header_find,
	flow_loop_tree_node_add, flow_loops_tree_build,
	flow_loop_level_compute, flow_loops_level_compute,
	flow_loop_outside_edge_p): Add prototypes.
	(recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.

	* ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
	Mark with ATTRIBUTE_NORETURN.

	* hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.

	* local-alloc.c (no_conflict_p): Likewise.

	* loop.c (insert_bct): Hide definitions of variables with hidden
	usage.
	(note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.

	* regclass.c (memory_move_secondary_cost): Mark variable `mem'
	with ATTRIBUTE_UNUSED.
	(record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
	(reg_scan): Likewise.

	* reload.c (find_reloads): Remove unused variables `changed'.

	* reload1.c (reload_reg_class_lower): Don't unnecessarily cast
	away const-ness.
	(allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
	Remove unused variable `insn'.

	* toplev.c: Include loop.h.
	(report_file_and_line): Remove unnecessary prototype.

	* tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.

	* unroll.c (biv_total_increment): Likewise.

From-SVN: r31085
1999-12-24 14:04:54 +00:00
Jeff Law
ae38a81600 Daily bump.
From-SVN: r31084
1999-12-24 01:45:07 -07:00
Bryce McKinlay
54f76845c5 linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case.
1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>

        * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
        NO_SIGNALS case.

From-SVN: r31083
1999-12-24 01:08:34 +00:00
Bryce McKinlay
43cbc9430d natObject.cc (notify): Throw message with IllegalMonitorStateException.
1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/lang/natObject.cc (notify): Throw message with
        IllegalMonitorStateException.
        (notifyAll): Ditto.
        (wait): Ditto.
        * java/lang/Thread.java (isInterrupted): Don't clear interrupt_flag.
        (isInterrupted_): New function, which does clear interrupt_flag.
        (interrupt): Use `isInterrupted_'.
        * java/lang/natThread.cc (interrupt): Add comment.
        (join): Set `Prev' in joiner loop.
        Change various calls to `isInterrupted' to use `isInterrupted_'.
        * posix-threads.cc (_Jv_CondWait): Allways use pthread_cond_timedwait
        on linux. Set result to 0 on an interrupt. Test interrupted status
        of java Thread object directly.
        FLAG_INTERRUPTED: removed.
        (_Jv_ThreadStart): Throw OutOfMemoryError if pthread_create fails.
        (_Jv_ThreadInterrupt): Don't set FLAG_INTERRUPTED.
        (_Jv_InitThreads): Don't block SIGINT.
        (_Jv_ThreadWait): Don't configure SIGINT handler.

From-SVN: r31082
1999-12-24 01:00:46 +00:00
J"orn Rennecke
07875628ee reload1.c (emit_input_reload_insns): Restore old behaviour wrt.
* reload1.c (emit_input_reload_insns): Restore old behaviour
	wrt. 'special' reloads.

From-SVN: r31081
1999-12-23 23:17:20 +00:00
Zack Weinberg
7e28988a04 Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on hash.h.
1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>

	* Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
	hash.h.  (cse.c): Don't depend on hashtab.h.

	* cse.c: Don't include hashtab.h.
	(hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
	of dead functions.
	* ggc-simple.c: Don't include hash.h.

From-SVN: r31080
1999-12-23 17:54:00 +00:00
Jeff Law
2255737668 Daily bump.
From-SVN: r31079
1999-12-23 01:45:07 -07:00
Jason Merrill
44db1d9c57 dwarf2out.c (add_abstract_origin_attribute): Call gen_abstract_function on our function context.
* dwarf2out.c (add_abstract_origin_attribute): Call
        gen_abstract_function on our function context.

From-SVN: r31078
1999-12-23 00:26:55 -05:00
Hans-Peter Nilsson
6165fb6bf5 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
From-SVN: r31077
1999-12-23 02:00:31 +00:00
Hans-Peter Nilsson
188e3966cd * MAINTAINERS: Add myself to "write after approval" list.
From-SVN: r31076
1999-12-23 01:47:09 +00:00
Hans-Peter Nilsson
7951414334 Add myself to "write after approval" list
From-SVN: r31075
1999-12-23 01:32:54 +00:00
Michael Hayes
933cddd010 c4x.c (c4x_address_cost): Add statement to default case in switch.
* config/c4x/c4x.c (c4x_address_cost): Add statement to default
	case in switch.

From-SVN: r31074
1999-12-22 20:47:57 +00:00
Mark Mitchell
e55e18d639 * dump.c (dequeue_and_dump): Handle CTOR_STMTs.
From-SVN: r31073
1999-12-22 18:00:58 +00:00
Michael Hayes
f13734bb66 c4x.md (*addqi3_noclobber_reload): Change operand 0 constraints to "a!r".
* config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
	constraints to "a!r".

From-SVN: r31072
1999-12-22 09:50:19 +00:00
Alexandre Oliva
81b25f8042 oops, not an ICE, just a bogus error
From-SVN: r31071
1999-12-22 09:25:27 +00:00
Alexandre Oliva
1f7c23a7e7 oops, it needs -O1 to fail
From-SVN: r31070
1999-12-22 09:22:49 +00:00
Alexandre Oliva
99f3f6cc7e * nameret2.C: New test.
From-SVN: r31069
1999-12-22 09:21:44 +00:00
Jakub Jelinek
bf3f1a7161 libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t.
* libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of
	_IO_fpos_t.
	(_IO_seekoff, _IO_seekpos): Likewise. Use _IO_off64_t instead of
	_IO_fpos64_t.
	* libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Likewise.
	(_IO_seekoff, _IO_seekpos): Likewise.
	(_IO_default_seekoff, _IO_default_seekpos): Likewise.
	(_IO_default_seek): Likewise.
	(_IO_file_seekoff, _IO_file_seek, _IO_str_seekoff): Likewise.
	* streambuf.h (streampos): Typedef to _IO_off_t resp. _IO_off64_t.
	* parsestream.h (class parsebuf::pos_at_line_start): Change type
	to _IO_off_t.

From-SVN: r31068
1999-12-22 10:01:59 +01:00
Alexandre Oliva
f6a898ba9e * error.c (dump_decl): Support named return values.
From-SVN: r31067
1999-12-22 08:52:49 +00:00
Alexandre Oliva
0e455fc3f9 * g++.old-deja/g++.pt/instantiate6.C: Remove excess errors XFAIL.
From-SVN: r31066
1999-12-22 08:48:32 +00:00
Jeff Law
177eca9bd1 Daily bump.
From-SVN: r31065
1999-12-22 01:45:07 -07:00
Alexandre Oliva
3be0e20212 * nameret1.C: New test.
From-SVN: r31064
1999-12-22 08:41:27 +00:00
Alexandre Oliva
0ecba51fdb tweaks
From-SVN: r31063
1999-12-22 04:54:48 +00:00
Alexandre Oliva
200a1a6df3 * template10.C: New test.
From-SVN: r31062
1999-12-22 04:52:11 +00:00
Tom Tromey
f9f1f4a651 * mauve-libgcj: Added java.lang.reflect.Modifier.toString12.
From-SVN: r31061
1999-12-21 23:50:01 +00:00
Martin v. Löwis
2c7af0d7f4 Add commentary:Remove seek for ios::app if not.
From-SVN: r31059
1999-12-21 18:14:50 +00:00
Martin v. Löwis
dec0fa945c * filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.
From-SVN: r31057
1999-12-21 18:10:24 +00:00
Mark Mitchell
74a7ea1231 Makefile.in (calls.o): Depend on function.h.
* Makefile.in (calls.o): Depend on function.h.
	(alias.o): Likewise.

From-SVN: r31056
1999-12-21 17:27:23 +00:00
Mark Mitchell
5ed9996314 New test
From-SVN: r31053
1999-12-21 17:03:24 +00:00
Bernd Schmidt
367b1cf5cf Break up emit_reload_insns.
From-SVN: r31052
1999-12-21 13:56:28 +00:00
Richard Kenner
ca098a1ddf * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
From-SVN: r31050
1999-12-21 07:11:13 -05:00
Michael Hayes
6ca30df606 * md.texi: Add c4x constraints documentation.
From-SVN: r31049
1999-12-21 10:45:28 +00:00
Martin v. Löwis
eda190c541 New test case.
From-SVN: r31048
1999-12-21 09:49:39 +00:00
Martin v. Löwis
1948c2d9d2 dgux.c (struct option): Rename to lang_independent_option.
* config/i386/dgux.c (struct option): Rename to
	lang_independent_option.
	(struct m_options): Add description field.
	(output_options): Rename option type, add sep declaration, output
	ix86_cpu_string and ix86_arch_string only if set.
	(output_file_start): Rename option type.

From-SVN: r31047
1999-12-21 09:31:50 +00:00
Jeff Law
7768df81d2 Daily bump.
From-SVN: r31046
1999-12-21 01:45:06 -07:00
Mike Stump
a50fbd964a Makefile.in (crtbegin.o, [...]): Depend on stmp-int-hdrs.
* Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
        stmp-int-hdrs.
        (libgcc2.a): Similarly.

From-SVN: r31045
1999-12-20 23:18:22 -07:00
David Edelsohn
c6d69baca2 longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss with W_TYPE_SIZE == 32.
* longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
        with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
        for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.

From-SVN: r31044
1999-12-21 01:10:20 -05:00
Jeffrey A Law
f0bd6b8ed8 fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
* fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
        Remove redundant initialization of "frexpon" and "expon".

From-SVN: r31043
1999-12-20 23:02:59 -07:00
Mark Mitchell
3ef397c1c6 cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.
1999-12-20  Mark Mitchell  <mark@codesourcery.com>

	* cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.
	(CLASSTYPE_HAS_PRIMARY_BASE_P): New macro.
	(CLASSTYPE_PRIMARY_BINFO): Likewise.
	* class.c (check_methods): Don't set TYPE_HAS_COMPLEX_INIT_REF,
	TYPE_NEEDS_CONSTRUCTING, and CLASSTYPE_NON_AGGREGATE here.
	(check_bases_and_members): Set them here instead.
	(create_vtable_ptr): New function, split out from ...
	(finish_struct_1): ... here.  Use it.  Tidy.  Use
	CLASSTYPE_HAS_PRIMARY_BASE_P and CLASSTYPE_PRIMARY_BINFO.
	* search.c (dfs_init_vbase_pointers): Handle seeing TYPE_VFIELD as
	the first field in the class.
	* tree.c (layout_basetypes): Use CLASSTYPE_N_BASECLASSES.  Handle
	seeing TYPE_VFIELD as the first field in the class.

From-SVN: r31042
1999-12-21 02:11:10 +00:00
Mark Mitchell
4c6b7393dc cp-tree.h (TYPE_VIRTUAL_P): Rename to ...
* cp-tree.h (TYPE_VIRTUAL_P): Rename to ...
	(TYPE_POLYMORPHIC_P): ... this.
	(TYPE_USES_COMPLEX_INHERITANCE): Rename to ...
	(TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P): ... this.
	(TREE_CALLS_NEW): Remove.
	(TREE_MANGLED): Likewise.
	* call.c (build_vfield_ref): Use TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P,
	and TYPE_POLYMORPHIC_P.
	* class.c (check_bases): Likewise.
	(finish_base_struct): Likewise.
	(finish_struct_bits): Likewise.
	(check_for_override): Likewise.
	(finish_struct_1): Likewise.
	(get_vfield_name): Likewise.
	* decl.c (xref_basetypes): Likewise.
	* decl2.c (import_export_class): Likewise.
	(import_export_decl): Likewise.
	* error.c (dump_function_decl): Likewise.
	* pt.c (instantiate_class_template): Likewise.
	* repo.c (repo_inline_used): Likewise.
	* rtti.c (build_headof): Likewise.
	(get_tinfo_fn_dynamic): Likewise.
	(build_x_typeid): Likewise.
	(get_tinfo_var): Likewise.
	(build_dynamic_cast_1): Likewise.
	(synthesize_tinfo_fn): Likewise.
	* search.c (lookup_field_1): Likewise.
	(dfs_debug_mark): Likewise.
	(maybe_suppress_debug_info): Likewise.
	* typeck.c (build_component_ref): Likewise.
	(build_component_addr): Likewise.
	* typeck2.c (process_init_constructor): Likewise.

From-SVN: r31041
1999-12-21 00:19:01 +00:00