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
Richard Henderson
b00c3006c8
c-typeck.c (c_expand_start_case): Don't warn for long switch in system headers.
...
* c-typeck.c (c_expand_start_case): Don't warn for long switch
in system headers.
From-SVN: r31020
1999-12-18 20:31:06 -08:00
Richard Kenner
f49a78fcf7
Fix typo in last change
...
From-SVN: r31019
1999-12-18 21:01:51 -05:00
Richard Kenner
1f9a0ec21c
Revert bogus patch
...
From-SVN: r31018
1999-12-18 20:19:33 -05:00
Richard Kenner
d4b60170fd
alias.c: Minor reformatting.
...
* alias.c: Minor reformatting.
* flow.c: Likewise.
* regs.h: Likewise.
* stor-layout.c: Likewise.
* fold-const.c: Likewise.
(OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
(struct cb_args, const_binop_1, const_binop): Pass type of arg,
not arg itself.
(size_int_wide): Cache nodes even if garbage collecting.
(twoval_comparison_p): Reenable SAVE_EXPR case if operand
of SAVE_EXPR has no side effects.
* cse.c: Move a comment.
* tree.c: Minor reformatting.
(int_size_in_bytes): Return -1 if constant overflows.
* reload.c (combine_reloads): Do nothing if no output reload
From-SVN: r31017
1999-12-18 16:33:23 -05:00
J"orn Rennecke
3f0aabf20a
* unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
...
From-SVN: r31016
1999-12-18 19:59:24 +00:00
Franz Sirl
0cc6d0ac18
* MAINTAINERS: Add myself to the write-after-approval list
...
From-SVN: r31015
1999-12-18 19:56:21 +00:00
Zack Weinberg
2bf8d22acb
objc-parse.c: Regenerate.
...
1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
* objc/objc-parse.c: Regenerate. This file must be rebuilt
after any change to c-parse.in, even if objc-parse.y didn't
change. Oops.
From-SVN: r31014
1999-12-18 18:44:24 +00:00
David S. Miller
e619323dbd
toplev.c (rest_of_compilation): Restore BLOCK tree reconstruction and branch shortening changes lost in...
...
* toplev.c (rest_of_compilation): Restore BLOCK tree
reconstruction and branch shortening changes lost in
December 18th change.
From-SVN: r31013
1999-12-18 10:30:41 -08:00
Gerald Pfeifer
05e1739fcf
newcvsroot: Add check on the number of command-line arguments.
...
* newcvsroot: Add check on the number of command-line arguments.
Add usage.
From-SVN: r31012
1999-12-18 14:34:56 +00:00
Scott Bambrough
193a94fa39
linux-elf.h: Change all instances of ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
...
* config/arm/linux-elf.h: Change all instances of
ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
* config/arm/uclinux-elf.h: Likewise.
From-SVN: r31011
1999-12-18 13:34:21 +00:00
Jeff Law
029135f3a4
Daily bump.
...
From-SVN: r31009
1999-12-18 01:45:06 -07:00
Gabriel Dos Reis
6ed551b487
toplev.c (notice, [...]): Move to diagnostic.c
...
1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
* toplev.c (notice, vmessage, v_message_with_file_and_line,
v_message_with_decl, file_and_line_for_asm,
v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
pfatal_with_name, fatal_io_error, need_error_newline,
last_error_function, last_error_tick, announce_function,
default_print_error_function, print_error_function,
report_error_function, fnotice, error_with_file_and_line,
error_with_decl, error_for_asm, error, set_fatal_function, fatal,
_fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
warning_with_decl, warning_for_asm, warning, pedwarn,
pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
diagnostic.c
(compile_file): Use fnotice instead of notice. Adjust call.
* diagnostic.c: New file.
* Makefile.in (OBJS): Include diagnostic.o
(diagnostic.o): Define dependence.
From-SVN: r31003
1999-12-18 01:45:40 +00:00
Tom Tromey
ccfe7d0a0d
re GNATS libgcj/111 (bug in reflection code)
...
* java/lang/reflect/Method.java (toString): Call getType if
required. Partial fix for PR libgcj/111. From Per Bothner.
From-SVN: r31002
1999-12-18 00:44:00 +00:00