Commit Graph

25691 Commits

Author SHA1 Message Date
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
Tom Tromey
bcc7684092 Modifier.java (STRICT): New constant.
* java/lang/reflect/Modifier.java (STRICT): New constant.
	(isStrict): New method.
	(toString): Added `strict'.

From-SVN: r31040
1999-12-20 23:05:21 +00:00
Richard Kenner
7205485e64 Fix typo in turned-off code
From-SVN: r31039
1999-12-20 17:55:38 -05:00
Richard Kenner
e545d37f6d * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
From-SVN: r31038
1999-12-20 16:23:30 -05:00
Richard Kenner
b701041288 expr.c (store_constructor): New argument SIZE; pass to clear_storage.
* expr.c (store_constructor): New argument SIZE; pass to clear_storage.
	(store_constructor_field, expand_expr): Pass new arg.

From-SVN: r31037
1999-12-20 15:29:36 -05:00
Mark Mitchell
11a6092b63 Makefile.in (explow.o): Depend on function.h.
* Makefile.in (explow.o): Depend on function.h.

	* stor-layout.c (set_sizetype): Fix typo.

From-SVN: r31036
1999-12-20 19:47:58 +00:00
Nathan Sidwell
2d447b1e3b * g++.old-deja/g++.other/cast3.C: New test.
From-SVN: r31035
1999-12-20 15:54:19 +00:00
Nathan Sidwell
6816f04063 typeck.c (strip_all_pointer_quals): New static function.
* typeck.c (strip_all_pointer_quals): New static function.
(build_static_cast): Use it. Don't use at_least_as_qualified_p.

From-SVN: r31034
1999-12-20 15:53:43 +00:00
Bernd Schmidt
01d939e8fb current_function -> cfun
From-SVN: r31033
1999-12-20 13:18:17 +00:00
Bernd Schmidt
239a0f5ba5 Change some regsets to regset_heads
From-SVN: r31032
1999-12-20 12:13:01 +00:00
Jeff Law
1af373f65c Daily bump.
From-SVN: r31031
1999-12-20 01:45:06 -07:00
Anthony Green
d352598f80 Alpha Linux changes.
From-SVN: r31030
1999-12-20 05:55:34 +00:00