Richard Kenner [Thu, 23 Mar 2000 22:12:22 +0000 (22:12 +0000)]
calls.c (expand_call): If TARGET is passed by reference and is readonly, write a CLOBBER.
* calls.c (expand_call): If TARGET is passed by reference and
is readonly, write a CLOBBER.
From-SVN: r32716
Kaveh R. Ghazi [Thu, 23 Mar 2000 21:32:10 +0000 (21:32 +0000)]
builtins.c (expand_builtin): Handle bcmp.
* builtins.c (expand_builtin): Handle bcmp.
* builtins.def: Add BUILT_IN_BCMP.
* c-common.c (c_common_nodes_and_builtins): Provide builtin
prototype & function for bcmp.
From-SVN: r32715
Jim Wilson [Thu, 23 Mar 2000 19:38:24 +0000 (19:38 +0000)]
Fix misscheduling of epilogue predicate register restore.
* config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
(rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
* config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
From-SVN: r32714
Andrew Haley [Thu, 23 Mar 2000 16:38:29 +0000 (16:38 +0000)]
mips.md (movdf_internal1a): Delete (set 'f', 'F') alternative when using -fp64 -gp32.
Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
* config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
alternative when using -fp64 -gp32.
From-SVN: r32707
Bryce McKinlay [Thu, 23 Mar 2000 12:35:44 +0000 (12:35 +0000)]
Thread_Wait.java: New file.
2000-03-23 Bryce McKinlay <bryce@albatross.co.nz>
* libjava.lang/Thread_Wait.java: New file.
* libjava.lang/Thread_Sleep.java: New file.
* libjava.lang/Thread_Monitor.java: New file.
* libjava.lang/Thread_Wait.out: New file.
* libjava.lang/Thread_Sleep.out: New file.
* libjava.lang/Thread_Monitor.out: New file.
* libjava.lang/Thread_Interrupt.java: New file.
* libjava.lang/Thread_Wait_2.java: New file.
* libjava.lang/Thread_Wait_2.out: New file.
* libjava.lang/Thread_Wait_Interrupt.java: New file.
* libjava.lang/Thread_Wait_Interrupt.out: New file.
* libjava.lang/Thread_Interrupt.out: New file.
* libjava.lang/Thread_Join.java: New file.
* libjava.lang/Thread_Join.out: New file.
* libjava.lang/Thread_Alive.java: New file.
* libjava.lang/Thread_Alive.out: New file.
From-SVN: r32706
Jason Merrill [Thu, 23 Mar 2000 12:14:06 +0000 (12:14 +0000)]
rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
* config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
* config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
* config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
* frame.h (frame_state): Revert last change.
* frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
* libgcc2.c (throw_helper): Revert last change.
From-SVN: r32705
Nathan Sidwell [Thu, 23 Mar 2000 09:33:43 +0000 (09:33 +0000)]
Fix explanation to match the post patch behaviour
From-SVN: r32704
Nathan Sidwell [Thu, 23 Mar 2000 09:23:16 +0000 (09:23 +0000)]
* g++.old-deja/g++.ext/array4.C: New test.
From-SVN: r32703
Jeff Law [Thu, 23 Mar 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32702
Alexandre Petit-Bianco [Thu, 23 Mar 2000 07:01:24 +0000 (07:01 +0000)]
[multiple changes]
2000-03-22 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (check_abstract_method_definitions): New local
`end_type_reached'. Make sure we also consider `end_type'.
(java_check_abstract_method_definitions): Make sure we also
eventually consider `java.lang.Object'.
(maybe_use_access_method): Don't use access method if not a pure
inner class or if the method's context is right.
(find_applicable_accessible_methods_list): New static
`object_done'. Don't search abstract classes as interfaces. Fixed
indentation. Fixed the `java.lang.Object' only search. Search class'
interface(s) first, fully search enclosing contexts.
(find_most_specific_methods_list): Pick closest candidates when
they're all abstract.
2000-03-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (check_method_types_complete): New function.
(create_class): Reset anonymous class counter only when seeing an
non inner classe.
(java_complete_class): JDEP_METHOD: Don't recompute signature
if incomplete.
2000-03-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (build_static_ref): Fixed indentation in comment.
* java-tree.def (TRY_EXPR): Fixed typo in name.
(CLASS_LITERAL): Likewise.
* java-tree.h: (TYPE_DOT_CLASS): New macro.
(struct lang_type): New field `dot_class'.
* jcf-write.c (generate_bytecode_insns): Fixed error message.
(generate_classfile): Method `class$' is synthetic.
* parse.y (build_do_class_method): New function.
(build_dot_class_method_invocation): Likewise.
(java_complete_expand_methods): Expand TYPE_DOT_CLASS if necessary.
(resolve_qualified_expression_name): Handle CLASS_LITERAL.
(qualify_ambiguous_name): Likewise.
(patch_incomplete_class_ref): Invoke synthetic method if necessary.
(build_try_statement): Fixed leading comment.
2000-03-15 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Disregard anonymous
classes.
* parse.y (patch_method_invocation): Handle anonymous classes
creation in static context.
2000-03-15 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): New macro.
* parse.y (resolve_qualified_expression_name): Use it.
(patch_method_invocation): Likewise.
2000-03-15 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (register_incomplete_type): JDEP_ENCLOSING set
depending on the type of dependency which dictates what the
current class is.
(unresolved_type_p): Resolved types limited to the current class.
(For details, see: http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00790.html)
From-SVN: r32701
Geoff Keating [Thu, 23 Mar 2000 01:24:15 +0000 (01:24 +0000)]
New test execute/ieee/
20000320-1.c.
From-SVN: r32700
Richard Henderson [Thu, 23 Mar 2000 00:53:28 +0000 (16:53 -0800)]
* stmt.c (expand_asm_operands): Don't promote the temporary.
From-SVN: r32699
Theodore Papadopoulo [Thu, 23 Mar 2000 00:41:05 +0000 (01:41 +0100)]
builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
* builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
* c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
c_get_alias_set): Likewise.
* c-decl.c (duplicate_decls): Likewise.
* c-typeck.c (default_conversion,build_unary_op): Likewise.
* calls.c (initialize_argument_information): Likewise.
* dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
Likewise.
* dwarfout.c (decl_class_context,output_type): Likewise.
* expr.c (get_inner_reference): Likewise.
* fold-const.c (simple_operand_p,fold): Likewise.
* function.c (aggregate_value_p): Likewise.
* stmt.c (expand_asm_operands): Likewise.
* varasm.c (named_section): Likewise.
* call.c (check_dtor_name,build_new_method_call): Likewise.
* decl.c (push_class_binding,poplevel,pushtag,lookup_namespace_name,
make_typename_type,check_initializer,cp_finish_decl,xref_tag): Likewise.
* decl2.c (grokfield,build_expr_from_tree,build_expr_from_tree,
decl_namespace,arg_assoc_template_arg,arg_assoc,
validate_nonmember_using_decl,do_class_using_decl): Likewise.
* error.c (dump_template_argument,dump_expr,cp_file_of,cp_line_of,
args_to_string): Likewise.
* friend.c (is_friend): Likewise.
* lex.c (note_got_semicolon,note_list_got_semicolon,is_global): Likewise.
* method.c (build_overload_nested_name,build_overload_value,
build_qualified_name,build_qualified_name,hack_identifier): Likewise.
* parse.y (typename_sub,typename_sub1): Likewise.
* pt.c (push_inline_template_parms_recursive,check_template_shadow,
process_partial_specialization,convert_template_argument,
template_args_equal,add_pending_template,lookup_template_class,
for_each_template_parm_r,maybe_fold_nontype_arg,
tsubst,instantiate_template,type_unification_real,unify,
instantiate_pending_templates,set_mangled_name_for_template_decl):
Likewise.
* repo.c (repo_get_id,repo_template_used): Likewise.
* search.c (lookup_field_1): Likewise.
* tree.c (walk_tree,get_type_decl,cp_tree_equal,member_p): Likewise.
* xref.c (classname): Likewise.
From-SVN: r32698
Jason Merrill [Thu, 23 Mar 2000 00:33:35 +0000 (19:33 -0500)]
oops
From-SVN: r32697
Jason Merrill [Thu, 23 Mar 2000 00:29:55 +0000 (00:29 +0000)]
Implement dwarf2 exception handling for the ARM.
* config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
(DWARF_FRAME_RETURN_COLUMN): Define.
* config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
REG_FRAME_RELATED_EXPR note.
(emit_sfm): Likewise.
(arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
* dwarf2out.c (reg_save): Handle saving a register to itself.
(dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
* except.c (eh_regs): Don't use the static chain reg if it's
callee-saved.
* frame.h (frame_state): Add cfa_saved field.
* frame.c (execute_cfa_insn): Set it.
* libgcc2.c (throw_helper): Don't adjust sp if it's restored in
the epilogue.
* function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
Now takes a parm.
(instantiate_virtual_regs): Adjust.
* tm.texi: Adjust.
* config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
* config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
* config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
* dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
(initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
From-SVN: r32696
Kaveh R. Ghazi [Thu, 23 Mar 2000 00:20:37 +0000 (00:20 +0000)]
builtins.def: New file.
* builtins.def: New file.
* Makefile.in (TREE_H): Depend on builtins.def.
* builtins.c (built_in_names): Use builtins.def.
* tree.h (built_in_function): Likewise.
From-SVN: r32695
Mark Mitchell [Wed, 22 Mar 2000 23:55:31 +0000 (23:55 +0000)]
tree.c (size_in_bytes): Return size_zero_node, not integer_zero_node.
* tree.c (size_in_bytes): Return size_zero_node, not
integer_zero_node.
From-SVN: r32694
Geoff Keating [Wed, 22 Mar 2000 23:16:21 +0000 (23:16 +0000)]
fp-bit.c (pack_d): Correct the case when a denormal is rounded up and stops being denormal.
* config/fp-bit.c (pack_d): Correct the case when a denormal
is rounded up and stops being denormal.
From-SVN: r32693
Richard Henderson [Wed, 22 Mar 2000 23:09:29 +0000 (15:09 -0800)]
alpha.c (function_arg): Check for void_type_node before using MUST_PASS_IN_STACK.
* config/alpha/alpha.c (function_arg): Check for void_type_node
before using MUST_PASS_IN_STACK.
From-SVN: r32692
Stephane Carrez [Wed, 22 Mar 2000 23:05:12 +0000 (00:05 +0100)]
regmove.c (combine_stack_adjustments_for_block): Check that the stack pointer is a valid memory address.
* regmove.c (combine_stack_adjustments_for_block): Check that
the stack pointer is a valid memory address.
From-SVN: r32691
Alexandre Petit-Bianco [Wed, 22 Mar 2000 22:48:04 +0000 (22:48 +0000)]
jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR...
Mon Mar 20 08:58:51 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
properly initialize `finished_label.' Don't emit gotos for empty
try statements.
(Minor fix: http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00762.html)
From-SVN: r32690
Mark Mitchell [Wed, 22 Mar 2000 21:43:45 +0000 (21:43 +0000)]
cp-tree.h (BINFO_FOR_VBASE): Adjust documentation.
* cp-tree.h (BINFO_FOR_VBASE): Adjust documentation.
(CANONICAL_BINFO): New macro.
(BINFO_NEW_VTABLE_MARKED): Use it.
(SET_BINFO_NEW_VTABLE_MARKED): Likewise.
(CLEAR_BINFO_NEW_VTABLE_MARKED): Likewise.
* class.c (dfs_build_vbase_offset_vtbl_entries): Use BINFO_TYPE,
not TREE_TYPE.
(build_primary_vtable): Adjust usage of BINFO_NEW_VTABLE_MARKED.
(build_secondary_vtable): Likewise.
(dfs_finish_vtbls): Likewise.
(dfs_accumulate_vtbl_inits): Likewise.
(accumulate_vtbl_inits): New function.
(finish_vtbls): Make sure that virtual bases come after
non-virtual bases in the vtable group.
(record_base_offsets): Don't save and restore TREE_VIA_VIRTUAL.
(finish_struct_1): Adjust usage of BINFO_NEW_VTABLE_MARKED.
* search.c (struct vbase_info): Move definition.
(marked_new_vtable_p): Adjust usage of BINFO_NEW_VTABLE_MARKED.
(unmarked_new_vtable_p): Likewise.
(dfs_mark_vtable_path): Remove.
(dfs_mark_new_vtable): Remove.
(dfs_unmark_new_vtable): Likewise.
(dfs_clear_search_slot): Likewise.
(dfs_find_vbases): Adjust usage of BINFO_NEW_VTABLE_MARKED.
(dfs_clear_vbase_slots): Likewise.
(init_vbase_pointers): LIkewise.
From-SVN: r32689
Tom Tromey [Wed, 22 Mar 2000 21:25:21 +0000 (21:25 +0000)]
iface.java: New file.
* libjava.compile/iface.java: New file.
* libjava.compile/static_3.java: New file.
* libjava.compile/static_2.java: New file.
* libjava.compile/static_1.xfail: New file.
* libjava.compile/static_1.java: New file.
* libjava.compile/redef6.xfail: New file.
* libjava.compile/redef6.java: New file.
* libjava.compile/redef5.xfail: New file.
* libjava.compile/redef5.java: New file.
* libjava.compile/redef4.xfail: New file.
* libjava.compile/redef4.java: New file.
* libjava.compile/redef3.xfail: New file.
* libjava.compile/redef3.java: New file.
* libjava.compile/redef2.xfail: New file.
* libjava.compile/redef2.java: New file.
* libjava.compile/redef1.xfail: New file.
* libjava.compile/redef1.java: New file.
* libjava.compile/not_a_redef.java: New file.
* libjava.compile/inner_1.java: New file.
* libjava.compile/static_init.xfail: New file.
* libjava.compile/static_init.java: New file.
From-SVN: r32688
Mark Mitchell [Wed, 22 Mar 2000 17:25:56 +0000 (17:25 +0000)]
New test case.
From-SVN: r32686
Jan Hubicka [Wed, 22 Mar 2000 10:51:10 +0000 (11:51 +0100)]
* calls.c: re-install Mar 16 emit_library_call merge.
From-SVN: r32685
Jason Merrill [Wed, 22 Mar 2000 10:12:50 +0000 (10:12 +0000)]
typeck.c (type_after_usual_arithmetic_conversions): Prefer a SIZETYPE to a non-SIZETYPE.
* typeck.c (type_after_usual_arithmetic_conversions): Prefer a
SIZETYPE to a non-SIZETYPE.
From-SVN: r32684
Jeff Law [Wed, 22 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32683
Jakub Jelinek [Wed, 22 Mar 2000 07:58:53 +0000 (08:58 +0100)]
sparc.c (mem_min_alignment): If not optimizing...
* config/sparc/sparc.c (mem_min_alignment): If not optimizing,
we cannot be sure that if reload_completed base register will
be properly aligned.
From-SVN: r32682
Richard Henderson [Wed, 22 Mar 2000 07:14:41 +0000 (23:14 -0800)]
* flow.c (delete_block): Fix typo last change.
From-SVN: r32681
Mark Mitchell [Wed, 22 Mar 2000 05:39:35 +0000 (05:39 +0000)]
class.c (layout_virtual_bases): Adjust names in conditionally compiled code.
* class.c (layout_virtual_bases): Adjust names in conditionally
compiled code.
From-SVN: r32680
Mark Mitchell [Wed, 22 Mar 2000 01:32:09 +0000 (01:32 +0000)]
class.c (record_base_offsets): New function.
* class.c (record_base_offsets): New function.
(layout_conflict_p): Likewise.
(layout_nonempty_base_or_field): Use it.
(layout_empty_base): New function.
(build_base_field): Use it.
(build_base_fields): Update comment.
(layout_virtual_bases): Fold in a little code form
layout_basetypes. Use layout_empty_base.
(layout_basetypes): Remove.
(end_of_class): New function.
(layout_class_type): Use it. Adjust.
* cp-tree.h (CLASSTYPE_VBASECLASSES): Fix typo in comment.
(fntype_p): Remove.
* search.c (dfs_skip_nonprimary_vbases_unmarkedp): Fix typo in
comment.
(dfs_skip_nonprimary_vbases_markedp): Likewise.
* typeck.c (fntype_p): Remove.
From-SVN: r32679
Mark Mitchell [Wed, 22 Mar 2000 00:50:51 +0000 (00:50 +0000)]
cp-tree.h (TI_SPEC_INFO): Remove.
* cp-tree.h (TI_SPEC_INFO): Remove.
(CLASSTYPE_TI_SPEC_INFO): Likewise.
* pt.c (process_partial_specialization): Likewise.
From-SVN: r32678
Mark Mitchell [Tue, 21 Mar 2000 22:28:33 +0000 (22:28 +0000)]
class.c (build_base_field): Fix thinko in computation of binfo offsets.
* class.c (build_base_field): Fix thinko in computation of binfo
offsets.
From-SVN: r32677
Bryce McKinlay [Tue, 21 Mar 2000 21:33:53 +0000 (21:33 +0000)]
Event.java: Add all the event type constants.
2000-03-21 Bryce McKinlay <bryce@albatross.co.nz>
* java/awt/Event.java: Add all the event type constants.
(Event): Implemented constructors.
(controlDown): Implemented.
(metaDown): Implemented.
(paramString): Stubbed.
(shiftDown): Implemented.
(toString): Implemented.
(translate): Implemented.
From-SVN: r32676
Mark Mitchell [Tue, 21 Mar 2000 20:13:06 +0000 (20:13 +0000)]
tree.c (mark_local_for_remap_p): Mark variables declared in TARGET_EXPRs as well.
* tree.c (mark_local_for_remap_p): Mark variables declared in
TARGET_EXPRs as well.
From-SVN: r32675
Mark Mitchell [Tue, 21 Mar 2000 19:33:42 +0000 (19:33 +0000)]
c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P...
* c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
not COMPLETE_TYPE_P, to check the type of the expression.
From-SVN: r32674
Kaveh Ghazi [Tue, 21 Mar 2000 19:08:19 +0000 (19:08 +0000)]
Another bogus case added
From-SVN: r32673
Michael Meissner [Tue, 21 Mar 2000 18:54:16 +0000 (18:54 +0000)]
Fix problems with -mno-fp-regs
From-SVN: r32672
Nathan Sidwell [Tue, 21 Mar 2000 18:10:48 +0000 (18:10 +0000)]
tree.h (COMPLETE_TYPE_P): New macro.
gcc
* tree.h (COMPLETE_TYPE_P): New macro.
(COMPLETE_OR_VOID_TYPE_P): New macro.
(COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
* stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
* c-aux-info.c (gen_type): Use them.
* c-common.c (c_expand_expr_stmt): Likewise.
* c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
grokdeclarator, grokparms, finish_struct, start_function,
store_parm_decls, combine_parm_decls): Likewise.
* c-parse.y (cast_expr): Likewise.
* c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
c_size_in_bytes, c_alignof, build_component_ref,
build_indirect_ref, build_array_ref, convert_arguments,
build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
* calls.c (initialize_argument_information): Likewise.
* convert.c (convert_to_integer): Likewise.
* dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
* dwarfout.c (location_or_const_value_attribute,
output_enumeration_type_die, output_structure_type_die,
output_union_type_die, output_type): Likewise.
* expr.c (safe_from_p, expand_expr): Likewise.
* function.c (assign_parms): Likewise.
* sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
* tree.c (build_array_type, build_function_type,
build_method_type, build_offset_type, build_complex_type): Likewise.
* c-parse.c, c-parse.h: Regenerated.
gcc/cp
* typeck.c (require_complete_type, complete_type,
complete_type_or_else, c_sizeof, c_sizeof_nowarn,
build_array_ref, convert_arguments, pointer_diff,
build_x_unary_op, build_unary_op, build_c_cast,
build_modify_expr): Use COMPLETE_TYPE_P etc.
* call.c (is_complete, convert_like_real,
build_new_method_call): Likewise.
* class.c (build_vbase_pointer_fields, check_bases,
build_base_field, finish_struct_1, pushclass): Likewise.
* cvt.c (cp_convert_to_pointer, convert_to_void): Likewise.
* decl.c (maybe_process_template_type_declaration, pushtag,
pushdecl, redeclaration_error_message, start_decl, start_decl_1,
layout_var_decl, check_initializer, cp_finish_decl,
grokdeclarator, require_complete_types_for_parms,
grok_op_properties, xref_tag, xref_basetypes,
check_function_type): Likewise.
* decl2.c (check_classfn, reparse_absdcl_as_casts): Likewise.
* friend.c (do_friend): Likewise.
* init.c (build_offset_ref): Likewise.
* parse.y (structsp): Likewise.
* pt.c (maybe_process_partial_specialization,
tsubst_friend_function, instantiate_class_template, tsubst,
do_type_instantiation, instantiate_pending_templates): Likewise.
* repo.c (repo_get_id): Likewise.
* rtti.c (build_typeid, get_typeid, build_dynamic_cast_1,
synthesize_tinfo_var, emit_support_tinfos): Likewise.
* search.c (lookup_fnfields_1, lookup_conversions): Likewise.
* semantics.c (begin_class_definition): Likewise.
* tree.c (build_cplus_method_type): Likewise.
* typeck2.c (digest_init, build_functional_cast,
add_exception_specifier): Likewise.
* parse.h, parse.c: Regenerated.
From-SVN: r32671
Kaveh R. Ghazi [Tue, 21 Mar 2000 17:02:57 +0000 (17:02 +0000)]
* gcc.dg/noreturn-1.c: Check for another bogus noreturn case.
From-SVN: r32670
Nathan Sidwell [Tue, 21 Mar 2000 16:12:25 +0000 (16:12 +0000)]
cxxabi.h: New header file.
* inc/cxxabi.h: New header file. Define new-abi entry points.
(__pointer_type_info::target): Rename member to ...
(__pointer_type_info::type): ... here.
(__base_class_info::type): Rename member to ...
(__base_class_info::base): ... here.
* Make-lang.in (CXX_EXTRA_HEADERS): Add cxxabi.h
* cp-tree.h (CPTI_ABI): New global tree enumeration.
(abi_node): New global tree node.
* decl.c (abi_node): Document.
(init_decl_processing): Initialize abi_node.
* rtti.c (build_dynamic_cast_1): Use abi_node for new-abi.
(get_vmi_pseudo_type_info): Likewise.
(create_tinfo_types): Likewise.
(emit_support_tinfos): Likewise.
* tinfo.h (cxxabi.h): Include for new-abi.
Move rtti class definitions to new header file.
* tinfo.cc (abi): Use the namespace.
(std): Move new abi rtti classes from here ...
(__cxxabiv1): ... to here.
* tinfo2.cc (cxxabi.h): Include for new-abi.
Move rtti class definitions to new header file.
(std): Move new abi rtti classes from here ...
(__cxxabiv1): ... to here.
* inc/typeinfo (__class_type_info): Move into __cxxabiv1
namespace.
From-SVN: r32669
Jeff Law [Tue, 21 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32668
Michael Hayes [Tue, 21 Mar 2000 06:52:18 +0000 (06:52 +0000)]
* config/c4x/rtems.h: Include config/rtems.h.
From-SVN: r32667
Denis Chertykov [Tue, 21 Mar 2000 06:45:57 +0000 (06:45 +0000)]
avr.c (encode_section_info): sets SYMBOL_REF_FLAG if decl is a FUNCTION_DECL
* config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
decl is a FUNCTION_DECL
From-SVN: r32666
Bryce McKinlay [Tue, 21 Mar 2000 05:54:42 +0000 (05:54 +0000)]
* java/lang/natClass.cc (isInstance): Use JV_CLASS, not getClass().
From-SVN: r32665
Bryce McKinlay [Tue, 21 Mar 2000 05:44:29 +0000 (05:44 +0000)]
natClass.cc (isInstance): Use _Jv_IsAssignableFrom(), not Class.isAssignableFrom().
* java/lang/natClass.cc (isInstance): Use _Jv_IsAssignableFrom(),
not Class.isAssignableFrom().
From-SVN: r32664
Bryce McKinlay [Tue, 21 Mar 2000 05:12:20 +0000 (05:12 +0000)]
natClass.cc (isInstance): Initialize `this'.
2000-03-21 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natClass.cc (isInstance): Initialize `this'.
(isAssignableFrom): Initialize `this' and `klass'.
(_Jv_IsAssignableFrom): If an interface has no idt, it is not
implemented by any loaded class, so return false.
From-SVN: r32663
Bryce McKinlay [Tue, 21 Mar 2000 04:55:43 +0000 (04:55 +0000)]
Test case for PR libgcj/179:
2000-03-21 Bryce McKinlay <bryce@albatross.co.nz>
Test case for PR libgcj/179:
* libjava.lang/pr179.java: New file.
* libjava.lang/pr179.out: New file.
From-SVN: r32662
Jim Wilson [Tue, 21 Mar 2000 04:05:49 +0000 (04:05 +0000)]
Minor performance improvements. Minor EH/unwind bug fix.
* config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
function uses output registers. Don't save RP for leaf functions.
Do save RP even if no epilogue.
* config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
(CALL_USED_REGISTERS): Unmark in registers.
(REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
to near the middle.
From-SVN: r32661
Tom Tromey [Tue, 21 Mar 2000 01:03:02 +0000 (01:03 +0000)]
* Makefile.in: Hand edit for java_raw_api.lo.
From-SVN: r32660
Jim Wilson [Mon, 20 Mar 2000 23:50:48 +0000 (23:50 +0000)]
Add ia64 support.
* f/target.h (FFETARGET_32bit_longs): New. Define for alpha, sparc64,
and ia64.
(ffetargetInteger1, ffetargetLogical1, ffetargetReal1, ffetargetReal2,
ffetarget_integerdefault_is_magical): Use FFETARGET_32bit_longs.
From-SVN: r32658
Geoffrey Keating [Mon, 20 Mar 2000 23:47:39 +0000 (23:47 +0000)]
rs6000.md (bunordered): New expander.
* config/rs6000/rs6000.md (bunordered): New expander.
(bordered): New expander.
(buneq): New expander.
(bunge): New expander.
(bungt): New expander.
(bunle): New expander.
(bunlt): New expander.
(bltgt): New expander.
* config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
(ccr_bit_negated_p): New function.
(print_operand): For %C, generate appropriate cror for UNEQ,
UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
From-SVN: r32657
Andreas Jaeger [Mon, 20 Mar 2000 23:44:30 +0000 (00:44 +0100)]
* tree.h (safe_for_unsave): Prototype.
From-SVN: r32656
Andreas Jaeger [Mon, 20 Mar 2000 23:42:47 +0000 (00:42 +0100)]
sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning.
* sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
warning.
From-SVN: r32655
Richard Henderson [Mon, 20 Mar 2000 22:52:04 +0000 (14:52 -0800)]
regmove.c (stack_memref_p): Fix typo, reorg for readability.
* regmove.c (stack_memref_p): Fix typo, reorg for readability.
(combine_stack_adjustments_for_block): Don't allow sp references
in the side of a set we're not fixing up.
* toplev.c (rest_of_compilation): Run combine_stack_adjustments
after life_analysis.
From-SVN: r32654
Richard Henderson [Mon, 20 Mar 2000 22:40:50 +0000 (14:40 -0800)]
calls.c (expand_call): Don't bother generating tail call sequences if there are pending cleanups.
* calls.c (expand_call): Don't bother generating tail call
sequences if there are pending cleanups. Use
expand_start_target_temps/expand_end_target_temps to elide
cleanups created during sibcall expansion.
From-SVN: r32653
Jason Merrill [Mon, 20 Mar 2000 21:37:40 +0000 (16:37 -0500)]
new
From-SVN: r32652
Geoff Keating [Mon, 20 Mar 2000 20:58:53 +0000 (20:58 +0000)]
configure.in: Set $IFS to a value if it doesn't already have one in the --enable-checking...
* configure.in: Set $IFS to a value if it doesn't already have one
in the --enable-checking handling.
* configure: Regenerate.
From-SVN: r32651
Jed Wing [Mon, 20 Mar 2000 18:12:59 +0000 (18:12 +0000)]
method.c (build_overload_int): Use host_integerp.
* method.c (build_overload_int): Use host_integerp.
Co-Authored-By: Jason Merrill <jason@casey.cygnus.com>
From-SVN: r32650
Theodore Papadopoulo [Mon, 20 Mar 2000 17:44:24 +0000 (18:44 +0100)]
init.c (build_offset_ref): Handle the case of a templated member function.
* init.c (build_offset_ref): Handle the case of a templated member
function.
From-SVN: r32649
Martin v. Löwis [Mon, 20 Mar 2000 13:22:38 +0000 (13:22 +0000)]
c-parse.in (SAVE_WARN_FLAGS): Use size_int.
* c-parse.in (SAVE_WARN_FLAGS): Use size_int.
* c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
Regenerated.
From-SVN: r32648
Jan Hubicka [Mon, 20 Mar 2000 10:45:56 +0000 (11:45 +0100)]
jump.c (delete_noop_moves): Remove code attempting to combine stack adjustments.
* jump.c (delete_noop_moves): Remove code attempting to
combine stack adjustments.
From-SVN: r32647
Jeff Law [Mon, 20 Mar 2000 08:45:09 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32646
Nick Clifton [Sun, 19 Mar 2000 21:57:35 +0000 (21:57 +0000)]
remove extraneous code checked in with previous delta
From-SVN: r32645
Richard Henderson [Sun, 19 Mar 2000 20:28:03 +0000 (12:28 -0800)]
* gcc.c-torture/compile/
20000314-2.c: Use __SIZE_TYPE__, not size_t.
From-SVN: r32644
Martin v. Löwis [Sun, 19 Mar 2000 18:25:27 +0000 (18:25 +0000)]
emit-rtl.c (push_to_full_sequence, [...]): New functions.
* emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
* except.c (emit_cleanup_handler): Use them.
(expand_end_all_catch): Likewise.
* function.c (fixup_var_refs): Likewise.
(expand_function_end): Clear catch_clauses_last.
* rtl.h (push_to_full_sequence, end_full_sequence): Declare.
* except.h (struct eh_status): New field x_catch_clauses_last.
(catch_clauses_last): New define.
* cp/except.c (expand_exception_blocks): Clear catch_clauses_last.
* java/except.c (emit_handlers): Clear catch_clauses_last.
From-SVN: r32643
Martin v. Löwis [Sun, 19 Mar 2000 17:53:38 +0000 (17:53 +0000)]
Makefile.in (tree.o): Depend on HASHTAB_H.
* Makefile.in (tree.o): Depend on HASHTAB_H.
* tree.c: Include hashtab.h.
(struct type_hash): Remove next field.
(TYPE_HASH_SIZE): Remove.
(TYPE_HASH_INITIAL_SIZE): New define.
(type_hash_table): Change type to htab_t.
(type_hash_eq, type_hash_hash, print_type_hash_statistics,
mark_hash_entry): New functions.
(init_obstacks): Allocate type hash.
(type_hash_lookup): Use htab functions.
(type_hash_add, mark_type_hash): Likewise.
(dump_tree_statistics): Call print_type_hash_statistics.
From-SVN: r32642
Kaveh R. Ghazi [Sun, 19 Mar 2000 13:45:25 +0000 (13:45 +0000)]
t-aix41: New file.
* rs6000/t-aix41: New file.
* configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
From-SVN: r32641
Hans-Peter Nilsson [Sun, 19 Mar 2000 12:32:32 +0000 (12:32 +0000)]
tm.texi (Driver): Fix typos and tweak entry for INCLUDE_DEFAULTS.
* tm.texi (Driver): Fix typos and tweak entry for
INCLUDE_DEFAULTS.
Move misplaced STRUCT_FORCE_BLK entry ...
(Storage Layout): ... to here.
(Run-time Target): Recommend having TARGET_MASK_... helper macros.
From-SVN: r32640
Warren Levy [Sun, 19 Mar 2000 12:20:12 +0000 (12:20 +0000)]
Color.java: Specified java.io for Serializable.
* java/awt/Color.java: Specified java.io for Serializable.
* java/awt/Toolkit.java: Imported java.net.URL.
From-SVN: r32639
Richard Henderson [Sun, 19 Mar 2000 11:56:54 +0000 (03:56 -0800)]
* stor-layout.c (layout_decl): Don't abort on any zero sized decl.
From-SVN: r32638
Richard Henderson [Sun, 19 Mar 2000 11:51:11 +0000 (03:51 -0800)]
* gcc.c-torture/compile/
20000319-1.c: New test.
From-SVN: r32637
Richard Henderson [Sun, 19 Mar 2000 11:37:39 +0000 (03:37 -0800)]
fold-const.c (extract_muldiv): Apply type check for defined overflow to multiply as well as divide.
* fold-const.c (extract_muldiv): Apply type check for defined
overflow to multiply as well as divide.
From-SVN: r32636
Richard Henderson [Sun, 19 Mar 2000 11:30:38 +0000 (03:30 -0800)]
flow.c (delete_block): Delete the addr_vec along with the block.
* flow.c (delete_block): Delete the addr_vec along with the block.
(flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
reference labels.
From-SVN: r32635
Warren Levy [Sun, 19 Mar 2000 11:23:27 +0000 (11:23 +0000)]
* java/awt/Color.java: Rewrote to be more memory efficient (& compile).
From-SVN: r32634
Jeff Law [Sun, 19 Mar 2000 08:45:10 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32633
Mark Mitchell [Sun, 19 Mar 2000 05:26:48 +0000 (05:26 +0000)]
emit-rtl.c (remove_unncessary_notes): Check that all NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an...
* emit-rtl.c (remove_unncessary_notes): Check that all
NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
associated NOTE_BLOCK.
* function.h (identify_blocks): Update comments.
(reorder_blocks): Declare.
* function.c (identify_blocks): Don't take paramters.
(reorder_blocks): Don't take parameters.
* loop.h (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
reorder_blocks instead of unroll_block_trees.h
* sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
* stmt.c (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
in whole-function mode.
* tree.h (reorder_blocks): Remove declaration.
From-SVN: r32632
Mark Mitchell [Sun, 19 Mar 2000 05:22:04 +0000 (05:22 +0000)]
cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.
* cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.
* class.c (check_bitfield_decl): Turn illegal bitfields into
non-bitfields.
(dfs_propagate_binfo_offsets): Adjust for new size_binop
semantics.
(dfs_offset_for_unshared_vbases): Likewise.
* cvt.c (cp_convert_to_pointer): Convert NULL to a
pointer-to-member correctly under the new ABI.
* expr.c (cplus_expand_constant): Don't use cp_convert when
turning an offset into a pointer-to-member.
* init.c (resolve_offset_ref): Don't adjust pointers-to-members
when dereferencing them under the new ABI.
* typeck.c (get_member_function_from_ptrfunc): Tweak calculation
of pointers-to-members under the new ABI.
From-SVN: r32631
Mark Mitchell [Sun, 19 Mar 2000 05:17:20 +0000 (05:17 +0000)]
Tweak for slightly different error-output.
From-SVN: r32630
Mark Mitchell [Sun, 19 Mar 2000 05:14:44 +0000 (05:14 +0000)]
* Makefile.in (expr.o): Depend on intl.h.
From-SVN: r32629
Mark Mitchell [Sun, 19 Mar 2000 05:13:15 +0000 (05:13 +0000)]
* expr.c: Include intl.h.
From-SVN: r32628
Tom Tromey [Sun, 19 Mar 2000 04:35:24 +0000 (04:35 +0000)]
* libjava.lang/pr109.java: Added `println' at end.
From-SVN: r32627
Richard Henderson [Sun, 19 Mar 2000 01:56:42 +0000 (17:56 -0800)]
* expr.c (emit_move_insn_1): Clarify cannot_inline message.
From-SVN: r32626
Mark Mitchell [Sun, 19 Mar 2000 00:59:51 +0000 (00:59 +0000)]
class.c (check_bitfield_decl): Remove restriction on really long bitfields.
* class.c (check_bitfield_decl): Remove restriction on really long
bitfields.
(layout_class_type): Implement new ABI handling of bitfields
longer than their types.
From-SVN: r32625
Mark Mitchell [Sun, 19 Mar 2000 00:37:52 +0000 (00:37 +0000)]
tree.h (tree_index): Remove enumerals for integer types.
* tree.h (tree_index): Remove enumerals for integer types.
(integer_type_kind): New type.
(integer_types): New variable.
(char_type_node): Adjust.
(signed_char_type_node): Likewise.
(unsigned_char_type_node): Likewise.
(short_integer_type_node): Likewise.
(short_unsigned_type_node): Likewise.
(integer_type_node): Likewise.
(unsigned_type_node): Likewise.
(long_integer_type_node): Likewise.
(long_unsigned_type_node): Likewise.
(long_long_integer_type_node): Likewise.
(long_long_unsigned_type_node): Likewise.
* tree.c (integer_types): New variable.
(init_obstacks): Register it as a root.
From-SVN: r32624
Jason Eckhardt [Sat, 18 Mar 2000 20:40:38 +0000 (20:40 +0000)]
bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as NEXT_INSN.
* bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
NEXT_INSN. Update last insn in chain.
From-SVN: r32623
Jason Merrill [Sat, 18 Mar 2000 19:59:35 +0000 (14:59 -0500)]
dwarf2out.c (dwarf2out_decl): Don't emit anything for types with TYPE_DECL_SUPPRESS_DEBUG set.
* dwarf2out.c (dwarf2out_decl): Don't emit anything for types
with TYPE_DECL_SUPPRESS_DEBUG set.
From-SVN: r32622
Richard Henderson [Sat, 18 Mar 2000 19:08:06 +0000 (11:08 -0800)]
* flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
From-SVN: r32621
Richard Henderson [Sat, 18 Mar 2000 19:01:04 +0000 (11:01 -0800)]
i386.c (call_insn_operand): Always allow SYMBOL_REF, care for HALF_PIC_P.
* i386.c (call_insn_operand): Always allow SYMBOL_REF,
care for HALF_PIC_P.
(expander_call_insn_operand): Remove.
(ix86_expand_epilogue): New arg `emit_return' to control return insn.
* i386.h (PREDICATE_CODES): Update.
* i386.md (all call expanders): Remove predicates, remove special
handling for half-pic.
(*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
(*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
(sibcall_epilogue): New.
From-SVN: r32620
Martin v. Löwis [Sat, 18 Mar 2000 18:19:23 +0000 (18:19 +0000)]
* parse.c: Regenerated.
From-SVN: r32619
Martin v. Löwis [Sat, 18 Mar 2000 18:12:54 +0000 (18:12 +0000)]
* parse.y (extdefs): Call ggc_collect.
From-SVN: r32618
Nathan Sidwell [Sat, 18 Mar 2000 10:28:02 +0000 (10:28 +0000)]
class.c (build_base_field): Use TYPE_ALIGN to examine a type.
* class.c (build_base_field): Use TYPE_ALIGN to examine a type.
(note_name_declared_in_class): Use OVL_CURRENT to get at a
potential overload.
From-SVN: r32617
Jeff Law [Sat, 18 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r32616
Hans-Peter Nilsson [Sat, 18 Mar 2000 03:26:47 +0000 (03:26 +0000)]
divconst-2.c: Rewrite to check for standards-compliant result rather than specific constants.
* execute/divconst-2.c: Rewrite to check for standards-compliant
result rather than specific constants. Put test-values in array.
From-SVN: r32615
Richard Henderson [Fri, 17 Mar 2000 23:24:30 +0000 (15:24 -0800)]
rtlanal.c (single_set): Reject if the parallel has anything except SET or USE or CLOBBER.
* rtlanal.c (single_set): Reject if the parallel has anything
except SET or USE or CLOBBER.
From-SVN: r32614
Richard Henderson [Fri, 17 Mar 2000 22:41:25 +0000 (14:41 -0800)]
alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
* alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
* alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
(*sibcall_osf_1, *sibcall_value_osf_1): New.
From-SVN: r32613
Jeffrey A Law [Fri, 17 Mar 2000 22:40:45 +0000 (14:40 -0800)]
Sibling call optimizations.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r32612
Mark Mitchell [Fri, 17 Mar 2000 21:44:43 +0000 (21:44 +0000)]
objc-act.c (encode_method_prototype): Pass types, not PARM_DECLs, to int_size_in_bytes.
* objc/objc-act.c (encode_method_prototype): Pass types, not
PARM_DECLs, to int_size_in_bytes.
From-SVN: r32611
Jim Wilson [Fri, 17 Mar 2000 20:22:18 +0000 (20:22 +0000)]
Fix glibc s_scalbn.c miscompilation at -O.
* config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
From-SVN: r32610
Jim Wilson [Fri, 17 Mar 2000 20:06:49 +0000 (20:06 +0000)]
Put 1999 years back.
* config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
From-SVN: r32609