Commit Graph

25482 Commits

Author SHA1 Message Date
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
Michael Hayes
4c0c8ee1f2 * config/c4x/rtems.h: New file.
From-SVN: r31029
1999-12-20 04:40:37 +00:00
Anthony Green
abd995697d gcconfig.h: Use libgcj hack for Alpha Linux.
* gcconfig.h: Use libgcj hack for Alpha Linux.
       Undefine MPROTEXT_VDB (from Jeff Sturm).
       * os_dep.c: Remove Alpha Linux hacks.
       * misc.c: Ditto.

From-SVN: r31028
1999-12-20 02:34:52 +00:00
Anthony Green
7013e7cda9 libgcjdata.c: New file.
1999-12-19  Anthony Green  <green@cygnus.com>

        * libgcjdata.c: New file.
        * libgcj.spec.in: Use @LIBDATASTARTSPEC@ in startfile.
        * configure: Rebuilt.
        * configure.in (LIBDATASTARTSPEC): Force data with a known name
        into the program.
        * Makefile.in: Rebuilt.
        * Makefile.am: Build libgcjdata.a.

        * libgcj.spec.in: Use @FORCELIBGCCSPEC@ in startfile.
        * configure: Rebuilt.
        * configure.in (FORCELIBGCCSPEC): Force important parts of libgcc
        into every program.

From-SVN: r31027
1999-12-20 02:18:11 +00:00
Bernd Schmidt
ecf3151a7b Better spill failure messages.
From-SVN: r31026
1999-12-19 17:39:15 +00:00
Richard Kenner
7cfc1daaf8 rs6000.h (SUBTARGET_DEFAULT): New macro.
* rs6000.h (SUBTARGET_DEFAULT): New macro.
	(TARGET_SWITCHES): Allow subtargets to default switches.
	* rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.

From-SVN: r31025
1999-12-19 07:45:21 -05:00
Jeff Law
227d9fb43c Daily bump.
From-SVN: r31024
1999-12-19 01:45:07 -07:00
Mark Mitchell
2a14e2147b crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize in a main program.
* crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
	in a main program.

From-SVN: r31023
1999-12-19 05:36:13 +00:00
Richard Henderson
e05eb76168 cccp.c (main): Define __STDC_VERSION__ as necessary.
* cccp.c (main): Define __STDC_VERSION__ as necessary.
        * cppinit.c (cpp_handle_option): Likewise.

        * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
        determine when to define.

From-SVN: r31022
1999-12-18 20:43:20 -08:00
Richard Henderson
09fe1c496d alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle cmove with mismatched test and data modes.
* alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
        cmove with mismatched test and data modes.

From-SVN: r31021
1999-12-18 20:35:31 -08:00