gcc.git
20 years agocall.c (build_vfield_ref, [...]): Replace calls to build with calls to buildN.
Roger Sayle [Mon, 16 Aug 2004 02:08:06 +0000 (02:08 +0000)]
call.c (build_vfield_ref, [...]): Replace calls to build with calls to buildN.

* call.c (build_vfield_ref, build_call, build_conditional_expr,
convert_arg_to_ellipsis, build_x_va_arg, build_over_call,
build_java_interface_fn_ref, build_special_member_call,
build_new_method_call, initialize_reference): Replace calls to
build with calls to buildN.
* class.c (build_base_path, convert_to_base_statically,
build_vfn_ref, instantiate_type, dfs_accumulate_vtbl_inits,
build_vtbl_initializer): Likewise.
* cp-gimplify.c (genericize_try_block, genericize_catch_block,
gimplify_if_stmt, cp_genericize_r): Likewise.
* cvt.c (convert_to_void): Likewise.
* decl.c (check_initializer, finish_constructor_body,
finish_destructor_body): Likewise.
* error.c (dump_expr): Likewise.
* except.c (build_exc_ptr, expand_start_catch_block, build_throw):
Likewise.
* init.c (perform_member_init, expand_virtual_init,
expand_cleanup_for_base, build_init, expand_default_init,
build_offset_ref, decl_constant_value, build_new, build_new_1,
build_vec_delete_1, build_vec_init, build_delete,
push_base_cleanups, build_vec_delete): Likewise.
* mangle.c (write_integer_cst): Likewise.
* method.c (thunk_adjust, do_build_copy_constructor,
do_build_assign_ref): Likewise.
* pt.c (lookup_template_function, tsubst, tsubst_copy_and_build,
unify, build_non_dependent_expr): Likewise.
* rtti.c (build_headof, build_typeid, ifnonnull,
build_dyanmic_cast_1, tinfo_base_init): Likewise.
* semantics.c (begin_compound_stmt, finish_call_expr,
finish_pseudo_destructor_expr, finish_id_expression,
simplify_aggr_init_expr, finalize_nrv_r): Likewise.
* tree.c (build_target_expr, build_cplus_new, array_type_nelts_top,
array_type_nelts_total, stabilize_call): Likewise.
* typeck.c (decay_conversion, build_class_member_access_expr,
lookup_destructor, build_ptrmemfunc_access_expr, build_array_ref,
get_member_function_from_ptrfunc, build_binary_op, pointer_diff,
build_x_unary_op, build_unary_op, unary_complex_lvalue,
build_compound_expr, build_modify_expr, expand_ptrmemfunc_cst,
check_return_expr): Likewise.
* typeck2.c (split_nonconstant_1, split_nonconstant_init_1,
split_nonconstant_init, store_init_value, build_m_component_ref):
Likewise.

From-SVN: r86047

20 years agoDaily bump.
GCC Administrator [Mon, 16 Aug 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r86043

20 years ago2832.cc: Remove junk.
Paolo Carlini [Sun, 15 Aug 2004 23:08:58 +0000 (23:08 +0000)]
2832.cc: Remove junk.

2004-08-15  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
* testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.

* testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.

2004-08-15  Paolo Carlini  <pcarlini@suse.de>

* include/bits/deque.tcc: Trivial formatting fixes.

From-SVN: r86040

20 years agoMakefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h.
Ziemowit Laski [Sun, 15 Aug 2004 21:47:32 +0000 (21:47 +0000)]
Makefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h.

[gcc/ChangeLog]
2004-08-15  Ziemowit Laski  <zlaski@apple.com>

       * Makefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h.
       (c-lang.o): Depend on c-objc-common.h.
       (c-objc-common.o): Depend on $(C_PRETTY_PRINT_H) and
       c-objc-common.h; remove duplicate $(C_TREE_H) dependency.
       * c-lang.c: Include c-objc-common.h.
       (LANG_HOOKS_FINISH, LANG_HOOKS_INIT_OPTIONS,
       LANG_HOOKS_INITIALIZE_DIAGNOSTICS, LANG_HOOKS_HANDLE_OPTION,
       LANG_HOOKS_MISSING_ARGUMENT, LANG_HOOKS_POST_OPTIONS,
       LANG_HOOKS_GET_ALIAS_SET, LANG_HOOKS_SAFE_FROM_P,
       LANG_HOOKS_EXPAND_EXPR, LANG_HOOKS_MARK_ADDRESSABLE,
       LANG_HOOKS_PARSE_FILE, LANG_HOOKS_TRUTHVALUE_CONVERSION,
       LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL,
       LANG_HOOKS_STATICP, LANG_HOOKS_SET_DECL_ASSEMBLER_NAME,
       LANG_HOOKS_NO_BODY_BLOCKS, LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL,
       LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_FUNCTION_ENTER_NESTED,
       LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_DUP_LANG_SPECIFIC_DECL,
       LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_STMT,
       LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
       LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
       LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
       LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P,
       LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING,
       LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS,
       LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN,
       LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_TYPE_FOR_MODE,
       LANG_HOOKS_TYPE_FOR_SIZE, LANG_HOOKS_SIGNED_TYPE,
       LANG_HOOKS_UNSIGNED_TYPE, LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE,
       LANG_HOOKS_INCOMPLETE_TYPE_ERROR, LANG_HOOKS_TYPE_PROMOTES_TO,
       LANG_HOOKS_REGISTER_BUILTIN_TYPE, LANG_HOOKS_WRITE_GLOBALS):
       Move to c-objc-common.h.
       * c-objc-common.c: Include c-objc-common.h.
       * c-objc-common.h: New file.

[gcc/objc/ChangeLog]
2004-08-15  Ziemowit Laski  <zlaski@apple.com>

       * Make-lang.in (objc/objc-lang.o): Depend on $(C_PRETTY_PRINT_H),
       $(DIAGNOSTIC_H), c-objc-common.h and gtype-objc.h, but not on toplev.h.
       (objc/objc-parse.o): Do not depend on gtype-objc.h.
       * objc-act.c: Do not include gtype-objc.h.
       (finish_file): Rename to objc_finish_file().
       * objc-act.h (finish_file): Update copyright notice; remove prototype.
       * objc-lang.c: Update copyright notice; include diagnostic.h,
       c-objc-common.h, c-pretty-print.h and gtype-objc.h; do not include
       toplev.h.
       (finish_file): New hook routine.
       (LANG_HOOKS_FINISH, LANG_HOOKS_INIT_OPTIONS,
       LANG_HOOKS_INITIALIZE_DIAGNOSTICS, LANG_HOOKS_HANDLE_OPTION,
       LANG_HOOKS_MISSING_ARGUMENT, LANG_HOOKS_POST_OPTIONS,
       LANG_HOOKS_GET_ALIAS_SET, LANG_HOOKS_SAFE_FROM_P,
       LANG_HOOKS_EXPAND_EXPR, LANG_HOOKS_MARK_ADDRESSABLE,
       LANG_HOOKS_PARSE_FILE, LANG_HOOKS_TRUTHVALUE_CONVERSION,
       LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL,
       LANG_HOOKS_STATICP, LANG_HOOKS_SET_DECL_ASSEMBLER_NAME,
       LANG_HOOKS_NO_BODY_BLOCKS, LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL,
       LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_FUNCTION_ENTER_NESTED,
       LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_DUP_LANG_SPECIFIC_DECL,
       LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_STMT,
       LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
       LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
       LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
       LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P,
       LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING,
       LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS,
       LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN,
       LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_TYPE_FOR_MODE,
       LANG_HOOKS_TYPE_FOR_SIZE, LANG_HOOKS_SIGNED_TYPE,
       LANG_HOOKS_UNSIGNED_TYPE, LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE,
       LANG_HOOKS_INCOMPLETE_TYPE_ERROR, LANG_HOOKS_TYPE_PROMOTES_TO,
       LANG_HOOKS_REGISTER_BUILTIN_TYPE, LANG_HOOKS_WRITE_GLOBALS):
       Move to c-objc-common.h.

From-SVN: r86037

20 years agore PR target/14931 (ASM file in GCC for PPC darwin should use the new stub style)
Andreas Tobler [Sun, 15 Aug 2004 21:32:11 +0000 (23:32 +0200)]
re PR target/14931 (ASM file in GCC for PPC darwin should use the new stub style)

2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>

PR target/14931
* powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.

From-SVN: r86029

20 years agore PR target/14931 (ASM file in GCC for PPC darwin should use the new stub style)
Andreas Tobler [Sun, 15 Aug 2004 21:31:30 +0000 (23:31 +0200)]
re PR target/14931 (ASM file in GCC for PPC darwin should use the new stub style)

2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
    Andrew Pinski  <pinskia@physics.uc.edu>

PR target/14931
* config/rs6000/darwin-tramp.asm (L_abort$stub): Change to new stub
style.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r86028

20 years agore PR fortran/17030 (gfortran does not optimize ABS of complex that well)
Andrew Pinski [Sun, 15 Aug 2004 19:26:32 +0000 (19:26 +0000)]
re PR fortran/17030 (gfortran does not optimize ABS of complex that well)

2004-08-15  Andrew Pinski  <apinski@apple.com>

        PR fortran/17030
        * f95-lang.c (gfc_init_builtin_functions): Initialize the builtins
        for cabs{,f} and copysign{,f}.
        * trans-decl.c (gfor_fndecl_math_cabsf): Delete.
        (gfor_fndecl_math_cabs): Delete.
        (gfor_fndecl_math_sign4): Delete.
        (gfor_fndecl_math_sign8): Delete.
        (gfc_build_intrinsic_function_decls): Remove the
        initializing of cabs{,f} and copysign{,f} functions.
        * trans-intrinsic.c (gfc_conv_intrinsic_abs): Use the builtins
        instead of the functions definitions.
        (gfc_conv_intrinsic_sign): Likewise.
        * trans.h (gfor_fndecl_math_cabsf): Delete.
        (gfor_fndecl_math_cabs): Delete.
        (gfor_fndecl_math_sign4): Delete.
        (gfor_fndecl_math_sign8): Delete.

From-SVN: r86027

20 years agodeque.tcc: Trivial formatting fixes.
Paolo Carlini [Sun, 15 Aug 2004 19:03:44 +0000 (19:03 +0000)]
deque.tcc: Trivial formatting fixes.

2004-08-15  Paolo Carlini  <pcarlini@suse.de>

* include/bits/deque.tcc: Trivial formatting fixes.

* include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
Remove unneded typedef.

* include/bits/locale_facets.tcc: Very minor tweaks.

* testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
type for the fill argument.
* testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.

From-SVN: r86026

20 years agotree.h (build_int_cst): New.
Nathan Sidwell [Sun, 15 Aug 2004 15:45:33 +0000 (15:45 +0000)]
tree.h (build_int_cst): New.

.: * tree.h (build_int_cst): New.
(build_int_2): Remove.
* tree.c (build_int_2): Remove.
(build_int_cst): New.
(make_vector_type, build_common_tree_nodes,
build_common_tree_nodes_2): Use build_int_cst.
* builtins.c (expand_builtin_prefetch, expand_builtin_strstr,
expand_builtin_strpbrk, expand_builtin_fputs,
build_string_literal, expand_builtin_printf,
expand_builtin_sprintf, fold_builtin_lround, fold_builtin_bitop,
fold_builtin_bitop, fold_builtin_isascii, fold_builtin_toascii,
fold_builtin_isdigit, simplify_builtin_strstr,
simplify_builtin_strpbrk, fold_builtin_fputs,
simplify_builtin_sprintf): Use build_int_cst.
* c-common.c (start_fname_decls, fix_string_type,
c_common_nodes_and_builtins, c_init_attributes,
shorten_compare): Likewise.
* c-decl.c (complete_array_type,
check_bitfield_type_and_width): Likewise.
* c-lex.c (interpret_integer, lex_charconst): Likewise.
* c-parse.in (primary): <TYPES_COMPATIBLE_P> Likewise.
* c-pretty-print.c (pp_c_integer_constant): Likewise.
* c-typeck.c (really_start_incremental_init, push_init_level,
set_nonincremental_init_from_string): Likewise.
* calls.c (load_register_parameters): Likewise.
* convert.c (convert_to_pointer): Likewise.
* coverage.c (coverage_counter_alloc, tree_coverage_counter_ref,
build_fn_info_type, build_ctr_info_value, build_gcov_info):
Likewise.
* except.c (init_eh, assign_filter_values, assign_filter_values):
Likewise.
* expmed.c (store_fixed_bit_field, extract_bit_field,
extract_fixed_bit_field, extract_split_bit_field, expand_shift,
expand_mult_const, expand_mult_highpart_adjust, extract_high_half,
expand_sdiv_pow2, expand_divmod, make_tree): Likewise.
* expr.c (convert_move, emit_group_load, emit_group_store,
expand_assignment, store_constructor, store_field,
expand_expr_real_1, reduce_to_bit_field_precision): Likewise.
* fold-const.c (force_fit_type, int_const_binop, fold_convert_const,
invert_truthvalue, optimize_bit_field_compare,
decode_field_reference, all_ones_mask_p, constant_boolean_node,
fold_div_compare, fold, fold_read_from_constant_string,
fold_negate_const, fold_abs_const, fold_not_const): Likewise.
* function.c (assign_parm_setup_block): Likewise.
* stmt.c (shift_return_value, expand_end_case_type,
estimate_case_costs): Likewise.
* stor-layout.c (layout_type, initialize_sizetypes,
set_min_and_max_values_for_integral_type): Likewise.
* tree-chrec.c (chrec_fold_multiply_poly_poly,
reset_evolution_in_loop): Likewise.
* tree-chrec.h (build_polynomial_chrec): Likewise.
* tree-complex.c (build_replicated_const): Likewise.
* tree-eh.c (honor_protect_cleanup_actions,
lower_try_finally_onedest, lower_try_finally_copy,
lower_try_finally_switch): Likewise.
* tree-mudflap.c (mf_build_string, mx_register_decls,
mudflap_register_call, mudflap_enqueue_constant): Likewise.
* tree-nested.c (get_trampoline_type, get_nl_goto_field): Likewise.
* tree-pretty-print.c (dump_generic_node): Likewise.
* tree-ssa-ccp.c (widen_bitfield, maybe_fold_offset_to_array_ref):
Likewise.
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
* tree-ssa-loop-niter.c (number_of_iterations_cond,
loop_niter_by_eval, upper_bound_in_type, lower_bound_in_type):
Likewise.

* config/alpha/alpha.c (alpha_initialize_trampoline,
alpha_va_start, alpha_gimplify_va_arg_1): Use build_int_cst.
* config/arm/arm.c (arm_get_cookie_size): Likewise.
* config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise.
* config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise.
* config/i860/i860.c (i860_va_start): Likewise.
* config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise.
* config/mips/mips.c (mips_build_builtin_va_list, mips_va_start,
mips_gimplify_va_arg_expr): Likewise.
* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
* config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg,
add_compiler_branch_island): Likewise.
* config/s390/s390.c (s390_va_start): Likewise.
* config/sh/sh.c (sh_va_start): Likewise.
* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start):
Likewise.
* config/xtensa/xtensa.c (xtensa_va_start,
xtensa_gimplify_va_arg_expr): Likewise.

* objc/objc-act.c (build_objc_string_object,
build_objc_symtab_template, init_def_list, init_objc_symtab,
init_module_descriptor, generate_static_references,
build_selector_translation_table, get_proto_encoding,
build_typed_selector_reference, build_selector_reference,
build_next_objc_exception_stuff,
build_method_prototype_list_template, generate_descriptor_table,
generate_protocols, build_protocol_initializer,
build_ivar_list_template, build_method_list_template,
build_ivar_list_initializer, generate_ivars_list,
generate_dispatch_table, generate_protocol_list,
build_category_initializer, build_shared_structure_initializer,
generate_shared_structures, handle_impent,
generate_objc_image_info): Use build_int_cst.
ada:
* cuintp.c (UI_To_gnu): Use build_int_cst..
* trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise.
* utils.c (init_gigi_decls): Likewise.
* utils2.c (build_call_raise): Likewise.
cp:
* call.c (convert_class_to_reference,
build_user_type_conversion_1, convert_like_real,
build_java_interface_fn_ref, build_special_member_call): Use
build_int_cst.
* class.c (build_vtbl_initializer): Likewise.
* cp-gimplify.c (cp_gimplify_expr): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
* decl.c (cxx_init_decl_processing, complete_array_type): Likewise.
* decl2.c (start_static_initialization_or_destruction,
generate_ctor_or_dtor_function): Likewise.
* except.c (build_throw): Likewise.
* lex.c (cxx_init): Likewise.
* mangle.c (write_integer_cst): Likewise.
* rtti.c (build_headof, get_tinfo_decl_dynamic,
build_dynamic_cast_1, ptr_initializer, ptm_initializer,
get_pseudo_ti_init): Likewise.
* search.c (get_dynamic_cast_base_type): Likewise.
* tree.c (build_shared_int_cst): Likewise.
fortran:
* trans-array.c (gfc_trans_array_constructor_value): Use
build_int_cst.
* trans-const.c (gfc_build_string_const,
gfc_init_constants, gfc_conv_mpz_to_tree,
gfc_conv_constant_to_tree): Likewise.
* trans-decl.c (gfc_get_symbol_decl): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_ibits,
gfc_conv_intrinsic_len, prepare_arg_info): Likewise.
* trans-io.c (add_case, set_error_locus, build_dt,
transfer_expr): Likewise.
* trans-stmt.c (gfc_trans_label_assign, gfc_trans_pause,
gfc_trans_stop, gfc_trans_character_select): Likewise.
* trans-types.c (gfc_init_types, gfc_get_dtype): Likewise.
* trans.c (gfc_trans_runtime_check): Likewise.
java:
* boehm.c (get_boehm_type_descriptor): Use build_int_cst.
* class.c (build_utf8_ref, build_static_field_ref,
make_field_value, make_method_value, get_dispatch_table,
make_class_data, emit_symbol_table, emit_catch_table): Likewise.
* constants.c (get_tag_node,  build_ref_from_constant_pool,
build_constants_constructor): Likewise.
* decl.c (java_init_decl_processing): Likewise.
* expr.c (build_java_array_length_access, build_newarray,
expand_java_multianewarray, expand_java_pushc, expand_iinc,
build_java_binop, build_field_ref, expand_java_add_case,
expand_java_call, build_known_method_ref, build_invokevirtual,
build_invokeinterface, build_jni_stub): Likewise.
* java-gimplify.c (java_gimplify_new_array_init): Likewise.
* jcf-parse.c (get_constant): Likewise.
* lex.c (do_java_lex): Likewise.
* parse.y (patch_binop, patch_unaryop, patch_cast,
build_null_of_type, patch_newarray): Likewise.
* resource.c (compile_resource_data): Likewise.
* typeck.c (build_prim_array_type): Likewise.

From-SVN: r86022

20 years ago* vec.h: Comment improvements.
Ben Elliston [Sun, 15 Aug 2004 10:00:28 +0000 (10:00 +0000)]
* vec.h: Comment improvements.

From-SVN: r86021

20 years agoffi.c (ffi_pref_cif_machdep): set `cif->flags' to contain `FFI_TYPE_UINT64' as return...
Casey Marshall [Sun, 15 Aug 2004 04:05:18 +0000 (04:05 +0000)]
ffi.c (ffi_pref_cif_machdep): set `cif->flags' to contain `FFI_TYPE_UINT64' as return type for any 64-bit...

2004-08-14  Casey Marshall <csm@gnu.org>

* src/mips/ffi.c (ffi_pref_cif_machdep): set `cif->flags' to
contain `FFI_TYPE_UINT64' as return type for any 64-bit
integer (O32 ABI only).
(ffi_prep_closure): new function.
(ffi_closure_mips_inner_O32): new function.
* src/mips/ffitarget.h: Define `FFI_CLOSURES' and
`FFI_TRAMPOLINE_SIZE' appropriately if the ABI is o32.
* src/mips/o32.S (ffi_call_O32): add labels for .eh_frame. Return
64 bit integers correctly.
(ffi_closure_O32): new function.
Added DWARF-2 unwind info for both functions.

From-SVN: r86019

20 years agoc-common.c (shorten_compare, [...]): Replace calls to build with calls to buildN.
Roger Sayle [Sun, 15 Aug 2004 02:24:41 +0000 (02:24 +0000)]
c-common.c (shorten_compare, [...]): Replace calls to build with calls to buildN.

* c-common.c (shorten_compare, pointer_int_sum,
c_common_truthvalue_conversion, boolean_increment): Replace calls
to build with calls to buildN.
* c-decl.c (complete_array_type, grokdeclarator): Likewise.
* c-gimplify.c (c_build_bind_expr, gimplify_c_loop,
gimplify_switch_stmt): Likewise.
* c-typeck.c (default_function_array_conversion,
build_component_ref, build_array_ref, build_function_call,
pointer_diff, build_unary_op, build_conditional_expr,
build_compound_expr, build_modify_expr, c_finish_goto_label,
c_finish_goto_ptr, c_finish_return, c_finish_loop,
c_finish_bc_stmt, c_finish_stmt_expr, c_end_compound_stmt,
build_binary_op): Likewise.

From-SVN: r86018

20 years agoDaily bump.
GCC Administrator [Sun, 15 Aug 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r86014

20 years ago* rtl.c (note_insn_name): Add NOTE_DISABLE_SCHED_OF_BLOCK.
Steven Bosscher [Sat, 14 Aug 2004 23:26:16 +0000 (23:26 +0000)]
* rtl.c (note_insn_name): Add NOTE_DISABLE_SCHED_OF_BLOCK.

From-SVN: r86011

20 years agoinclhack.def (stdio_va_list): Also fix com_err.h...
John David Anglin [Sat, 14 Aug 2004 21:52:08 +0000 (21:52 +0000)]
inclhack.def (stdio_va_list): Also fix com_err.h...

* fixinc/inclhack.def (stdio_va_list): Also fix com_err.h, cps.h,
curses.h, krb5.h, lc_core.h, pfmt.h, wchar.h and curses_colr/curses.h.
* fixinc/fixincl.x: Rebuilt.

From-SVN: r86009

20 years ago* config/mips/mips-protos.h (mips_symbolic_constant_p)
Richard Sandiford [Sat, 14 Aug 2004 20:55:56 +0000 (20:55 +0000)]
* config/mips/mips-protos.h (mips_symbolic_constant_p)
(mips_atomic_symbolic_constant_p, mips_stack_address_p)
(mips_small_data_pattern_p): Declare.
* config/mips/mips.h (CONST_GP_P): Moved from mips.c.
(PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Delete.
* config/mips/mips.c (mips_symbolic_constant_p): Make global.
(mips_atomic_symbolic_constant_p, mips_stack_address_p): New functions.
(uns_arith_operand, const_arith_operand, arith_operand, sle_operand)
(sleu_operand, small_int, reg_or_0_operand, const_float_1_operand)
(reg_or_const_float_1_operand, hilo_operand, extend_operator)
(macc_msac_operand, equality_op, cmp_op, trap_cmp_op)
(pc_or_label_operand, call_insn_operand, move_operand)
(consttable_operand, symbolic_operand, general_symbolic_operand)
(global_got_operand, local_got_operand, stack_operand)
(fp_register_operand, lo_operand, fcc_register_operand): Delete.
(mips_small_data_pattern_1): Renamed from small_data_pattern_1.
(mips_small_data_pattern_p): Replace previous small_data_pattern
predicate.  Turn into a bool () (rtx) function.
* config/mips/predicates.md: New file.
* config/mips/mips.md: Include it.  Use the target-independent
comparison_operator instead of cmp_op.  Rename trap_cmp_op to
trap_comparison_operator and equality_op to equality_operator.
Replace uses of small_int with the equivalent const_arith_operand.
Rename reg_or_const_float_1_operand to reg_or_1_operand.  Rename
const_float_1_operand to const_1_operand.  Rename fcc_register_operand
to fcc_reload_operand.
* config/mips/sb1.md: Rename fp_register_operand to fpr_operand.

From-SVN: r86006

20 years agoPR libstdc++/17005 partial fix.
John David Anglin [Sat, 14 Aug 2004 19:02:58 +0000 (19:02 +0000)]
PR libstdc++/17005 partial fix.

* pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _INCLUDE__STDC_A1_SOURCE
except when generating ANSI/C89 code.

From-SVN: r86005

20 years ago* c-common.c (shorten_compare): Use force_fit_type directly.
Nathan Sidwell [Sat, 14 Aug 2004 17:54:36 +0000 (17:54 +0000)]
* c-common.c (shorten_compare): Use force_fit_type directly.

From-SVN: r86004

20 years agosetjmp-1.c: Remove XFAIL.
Richard Henderson [Sat, 14 Aug 2004 17:18:56 +0000 (10:18 -0700)]
setjmp-1.c: Remove XFAIL.

        * gcc.dg/setjmp-1.c: Remove XFAIL.
        * gcc.dg/tree-ssa/20040615-1.c: Pass during dom1.

From-SVN: r86003

20 years ago* gcc.dg/pack-test-4.c (main): Return 0.
Richard Henderson [Sat, 14 Aug 2004 17:01:46 +0000 (10:01 -0700)]
* gcc.dg/pack-test-4.c (main): Return 0.

From-SVN: r86002

20 years ago* gcc.dg/torture/builtin-attr-1.c: Fix scalbln prototype.
Richard Henderson [Sat, 14 Aug 2004 16:51:37 +0000 (09:51 -0700)]
* gcc.dg/torture/builtin-attr-1.c: Fix scalbln prototype.

From-SVN: r86001

20 years agogcc_release (build_sources): Add comment header to generated MD5SUMS.
Kelley Cook [Sat, 14 Aug 2004 16:47:52 +0000 (16:47 +0000)]
gcc_release (build_sources): Add comment header to generated MD5SUMS.

2004-08-14  Kelley Cook  <kcook@gcc.gnu.org>

* gcc_release (build_sources): Add comment header to generated
MD5SUMS.

From-SVN: r86000

20 years ago* trans-decl.c (gfc_build_function_decl): Remove dead code.
Paul Brook [Sat, 14 Aug 2004 15:35:51 +0000 (15:35 +0000)]
* trans-decl.c (gfc_build_function_decl): Remove dead code.

From-SVN: r85996

20 years agoinstall.texi (Building): Avoid duplicate reference to GNU make requirement.
Gerald Pfeifer [Sat, 14 Aug 2004 15:20:47 +0000 (15:20 +0000)]
install.texi (Building): Avoid duplicate reference to GNU make requirement.

* doc/install.texi (Building): Avoid duplicate reference to GNU
make requirement.
(*-*-solaris2*): Do not recommend GNU make any longer.  Simplify.

Co-Authored-By: Dave Korn <dk@artimi.com>
Co-Authored-By: Dimitri Papadopoulos-Orfanos <papadopo@shfj.cea.fr>
From-SVN: r85995

20 years ago* trans-arry.c (gfc_trans_auto_array_allocation): Remove unused var.
Paul Brook [Sat, 14 Aug 2004 13:10:02 +0000 (13:10 +0000)]
* trans-arry.c (gfc_trans_auto_array_allocation): Remove unused var.

From-SVN: r85994

20 years agoChangeLog: Fix wrong path.
Bud Davis [Sat, 14 Aug 2004 09:27:47 +0000 (09:27 +0000)]
ChangeLog: Fix wrong path.

2004-08-14  Bud Davis  <bdavis9659@comcast.net>

* ChangeLog: Fix wrong path.

From-SVN: r85993

20 years agoChangeLog: Fix wrong file name.
Bud Davis [Sat, 14 Aug 2004 09:25:05 +0000 (09:25 +0000)]
ChangeLog: Fix wrong file name.

2004-08-14  Bud Davis  <bdavis9659@comcast.net>

* ChangeLog: Fix wrong file name.

From-SVN: r85992

20 years ago* gcc.dg/980217-1.c: Add prototype for printf.
Richard Henderson [Sat, 14 Aug 2004 07:57:37 +0000 (00:57 -0700)]
* gcc.dg/980217-1.c: Add prototype for printf.

From-SVN: r85991

20 years agoalpha.h (PROMOTE_MODE): Don't promote vector types.
Richard Henderson [Sat, 14 Aug 2004 07:41:21 +0000 (00:41 -0700)]
alpha.h (PROMOTE_MODE): Don't promote vector types.

        * config/alpha/alpha.h (PROMOTE_MODE): Don't promote vector types.
        * config/alpha/alpha.c (function_value): Use PROMOTE_MODE.

From-SVN: r85989

20 years agonatInetAddressPosix.cc (lookup): Reflect rename of localhostAddress to loopbackAddress.
Andreas Tobler [Sat, 14 Aug 2004 05:04:52 +0000 (07:04 +0200)]
natInetAddressPosix.cc (lookup): Reflect rename of localhostAddress to loopbackAddress.

2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>

        * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
        localhostAddress to loopbackAddress.
        * java/net/natInetAddressWin32.cc (lookup): Likewise.

From-SVN: r85982

20 years agoi386.md (call_1, [...]): Use Pmode for constant_call_address_operand.
Richard Henderson [Sat, 14 Aug 2004 02:59:18 +0000 (19:59 -0700)]
i386.md (call_1, [...]): Use Pmode for constant_call_address_operand.

        * config/i386/i386.md (call_1, sibcall_1, call_1_rex64): Use Pmode
        for constant_call_address_operand.
        (call_value_pop_1, call_value_1): Likewise.
        (sibcall_value_1, call_value_1_rex64): Likewise.

From-SVN: r85981

20 years agoDaily bump.
GCC Administrator [Sat, 14 Aug 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r85979

20 years agoFix typo in DFmode divide scheduler patterns.
James E Wilson [Fri, 13 Aug 2004 23:57:02 +0000 (23:57 +0000)]
Fix typo in DFmode divide scheduler patterns.

* config/mips/sb1.md (ir_sb1_divdf_2pipes, ir_sb1_divdf_1pipe):
Correct mode from SFmode to DFmode.

From-SVN: r85976

20 years agoconfigure.in (GCINCS): Don't use "boehm-cflags".
Bryce McKinlay [Fri, 13 Aug 2004 23:05:36 +0000 (23:05 +0000)]
configure.in (GCINCS): Don't use "boehm-cflags".

libjava:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

* configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
boehm-gc's include dirs.
* configure: Rebuilt.
* include/boehm-gc.h: Include gc_config.h.

boehm-gc:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

* configure.ac (gc_cflags): Add -Iinclude.
(AC_CONFIG_HEADERS): New. Configure gc_config.h header.
Don't write DEFS to boehm-cflags file.
* configure: Rebuilt.
* gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
* specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
* include/gc_config_macros.h: Remove backward-compatibility
redefinitions of GC_ names.
* include/gc.h: Include <gc_config.h>.

2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

Import Boehm GC version 6.3.

From-SVN: r85972

20 years agosarray.h: Hoist include of assert.h near the top of file...
Ziemowit Laski [Fri, 13 Aug 2004 22:50:09 +0000 (22:50 +0000)]
sarray.h: Hoist include of assert.h near the top of file...

[libobjc/ChangeLog]
2004-08-13  Ziemowit Laski  <zlaski@apple.com>

        * objc/sarray.h: Hoist include of assert.h near the top of file,
        and mark the remainder of the file 'extern "C"'.

From-SVN: r85971

20 years ago2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 13 Aug 2004 22:31:45 +0000 (22:31 +0000)]
2004-08-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* Add ACX_{TARGET,HOST,BUILD}_NONCANONICAL,
which do an automatic AC_SUBST on _GCC_TOPLEV_*_NONCANONICAL.
The intention is that we will migrate to these bit by bit.

From-SVN: r85970

20 years agoCorrected typo in PR number, previous commit
Bud Davis [Fri, 13 Aug 2004 22:25:06 +0000 (22:25 +0000)]
Corrected typo in PR number, previous commit

From-SVN: r85969

20 years agoObject.h: Move includes out of extern "C" blocks.
Andrew Pinski [Fri, 13 Aug 2004 22:23:58 +0000 (22:23 +0000)]
Object.h: Move includes out of extern "C" blocks.

2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc/Object.h: Move includes out of extern "C" blocks.
        * objc/encoding.h: Likewise.
        * objc/hash.h: Likewise.
        * objc/objc-api.h: Likewise.
        * objc/runtime.h: Likewise.
        * objc/sarray.h: Likewise.
        * objc/typedstream.h: Likewise.

From-SVN: r85968

20 years agoInetAddress.java (loopbackAddress): Renamed from localhostAddress.
Bryce McKinlay [Fri, 13 Aug 2004 22:17:34 +0000 (22:17 +0000)]
InetAddress.java (loopbackAddress): Renamed from localhostAddress.

2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

* java/net/InetAddress.java (loopbackAddress): Renamed from
localhostAddress.
(getByName): Return loopback address for null hostname, without
security check. Use lookup(), not getAllByName.
(getAllByName): Return loopback address for null hostname, without
security check.
* java/net/natInetAddressPosix.cc (lookup): Don't perform security
check here.

From-SVN: r85967

20 years agore PR libfortran/16935 (Segmentation fault of compiler with unsupported control items...
Bud Davis [Fri, 13 Aug 2004 22:01:02 +0000 (22:01 +0000)]
re PR libfortran/16935 (Segmentation fault of compiler with unsupported control items in OPEN)

2004-08-13  Bud Davis  <bdavis9659@comcast.net>

        PR gfortran/13965
        * gfortran.fortran-torture/execute/open_rewind.f90: New test.
        * io/open.c (st_open): use flags instead of the unit structure.

From-SVN: r85966

20 years agodarwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup...
Ziemowit Laski [Fri, 13 Aug 2004 21:46:49 +0000 (21:46 +0000)]
darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup...

[gcc/ChangeLog]
2004-08-13  Ziemowit Laski  <zlaski@apple.com>

        * config/darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup,
        __cstring_object and __image_info sections with the no_dead_strip
        attribute.

From-SVN: r85964

20 years agore PR libfortran/15930 ([irix6.5] gfortran libraries not built)
Roger Sayle [Fri, 13 Aug 2004 21:13:56 +0000 (21:13 +0000)]
re PR libfortran/15930 ([irix6.5] gfortran libraries not built)

PR libgfortran/15930
* fixinc/inclhack.def (irix___generic1, irix___generic2): New.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/internal/math_core.h: New file.

Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>
From-SVN: r85962

20 years agoaltivec-2.C: Revert previous changes and don't execute.
Janis Johnson [Fri, 13 Aug 2004 21:11:24 +0000 (21:11 +0000)]
altivec-2.C: Revert previous changes and don't execute.

2004-08-13  Janis Johnson  <janis187@us.ibm.com>

* g++.dg/ext/altivec-2.C: Revert previous changes and don't execute.

From-SVN: r85961

20 years agodbxout.c (NO_DBX_FUNCTION_END): Default to zero.
Richard Henderson [Fri, 13 Aug 2004 20:15:33 +0000 (13:15 -0700)]
dbxout.c (NO_DBX_FUNCTION_END): Default to zero.

        * dbxout.c (NO_DBX_FUNCTION_END): Default to zero.
        (dbxout_function_end): Remove ifdefs for it.
        (dbxout_begin_prologue): Protect N_BNSYM with it, and gdb extensions.

From-SVN: r85955

20 years agoMakefile.in (insn-preds.o): Depend on TREE_H.
Richard Henderson [Fri, 13 Aug 2004 19:11:35 +0000 (12:11 -0700)]
Makefile.in (insn-preds.o): Depend on TREE_H.

        * Makefile.in (insn-preds.o): Depend on TREE_H.
        * genpreds.c (write_insn_preds_c): Include tree.h.
        * config/alpha/alpha.c (reg_or_0_operand, reg_or_6bit_operand,
        reg_or_8bit_operand, cint8_operand, add_operand, sext_add_operand,
        const48_operand, and_operand, or_operand, mode_width_operand,
        mode_mask_operand, mul8_operand, const0_operand,
        hard_fp_register_operand, hard_int_register_operand,
        reg_or_cint_operand, some_operand, some_ni_operand, input_operand,
        samegp_function_operand, direct_call_operand, small_symbolic_operand,
        global_symbolic_operand, call_operand, symbolic_operand,
        dtp16_symbolic_operand, dtp32_symbolic_operand,
        gotdtp_symbolic_operand, tp16_symbolic_operand, tp32_symbolic_operand,
        gottp_symbolic_operand, alpha_comparison_operator,
        alpha_zero_comparison_operator, alpha_swapped_comparison_operator,
        signed_comparison_operator, alpha_fp_comparison_operator,
        divmod_operator, fix_operator, aligned_memory_operand,
        unaligned_memory_operand, reg_or_unaligned_mem_operand,
        any_memory_operand, reg_not_elim_operand, normal_memory_operand,
        reg_no_subreg_operand, addition_operation): Move to predicates.md.
        (reg_or_const_int_operand): Remove.  Replace all users with
        reg_or_cint_operand.
        (tls_symbolic_operand_1): Export.  Don't check mode or for CONST.
        (resolve_reload_operand): Split out of aligned_memory_operand.
        * config/alpha/alpha-protos.h: Update for exports.
        * config/alpha/alpha.h (PREDICATE_CODES): Remove.
        * config/alpha/alpha.md: Include predicates.md.
        * config/alpha/predicates.md: New file.

From-SVN: r85953

20 years agore PR libgcj/17020 (gij should ignore all reserved method flags)
Bryce McKinlay [Fri, 13 Aug 2004 18:26:00 +0000 (18:26 +0000)]
re PR libgcj/17020 (gij should ignore all reserved method flags)

PR libgcj/17020
Reported by Robin Green.
* defineclass.cc (handleField): Don't throw exception on
unrecognised modifier. Add FIXME comments for spec compliance.
(handleMethod): Likewise.

From-SVN: r85952

20 years ago* gfortran.dg/der_io_1.f90: Remove stray comma.
Paul Brook [Fri, 13 Aug 2004 17:30:20 +0000 (17:30 +0000)]
* gfortran.dg/der_io_1.f90: Remove stray comma.

From-SVN: r85951

20 years agogfortran.h: Add comments.
Tobias Schlüter [Fri, 13 Aug 2004 17:24:09 +0000 (17:24 +0000)]
gfortran.h: Add comments.

2004-08-13  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>

* gfortran.h: Add comments.
* parse.c (parse_contained): Fix comment typo.
* resolve.c (was_declared): Ditto.
* symbol.c: Ditto.

From-SVN: r85950

20 years agodebug.cc (_Error_formatter::_M_print_string): Fix thinko, memmove is not needed,...
Paolo Carlini [Fri, 13 Aug 2004 16:53:12 +0000 (16:53 +0000)]
debug.cc (_Error_formatter::_M_print_string): Fix thinko, memmove is not needed, memcpy suffices.

2004-08-13  Paolo Carlini  <pcarlini@suse.de>

* src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
memmove is not needed, memcpy suffices.

From-SVN: r85949

20 years agostd_fstream.h (class basic_ifstream, [...]): Add const overloads of is_open, as per...
Paolo Carlini [Fri, 13 Aug 2004 16:47:43 +0000 (16:47 +0000)]
std_fstream.h (class basic_ifstream, [...]): Add const overloads of is_open, as per DR 365 [WP].

2004-08-13  Paolo Carlini  <pcarlini@suse.de>

* include/std/std_fstream.h (class basic_ifstream,
class basic_ofstream, class basic_fstream): Add const overloads
of is_open, as per DR 365 [WP].
* docs/html/ext/howto.html: Add an entry for DR 365.

From-SVN: r85948

20 years agogenattrtab.c (insn_ent): Replace insn_code...
Richard Sandiford [Fri, 13 Aug 2004 16:43:04 +0000 (16:43 +0000)]
genattrtab.c (insn_ent): Replace insn_code...

* genattrtab.c (insn_ent): Replace insn_code, insn_index and lineno
fields with a pointer to the instruction definition.
(get_attr_value, fill_attr, make_length_attrs, remove_insn_ent)
(insert_insn_ent, simplify_test_exp, optimize_attrs, write_attr_get)
(write_attr_case, write_const_num_delay_slots): Update accordingly.
(write_attr_case, write_const_num_delay_slots): Write the name of
an insn next to its case statement.
* genoutput.c (data): Add a filename field.
(gen_insn, gen_peephole, gen_expand, gen_split): Set it.
(output_insn_data): Print the location of each insn definition.
* genrecog.c (write_action): Print the name of an insn above
the statement that returns its code.

From-SVN: r85947

20 years agodarwin-c.c (find_subframework_file): Fix spelling of cannot.
Andrew Pinski [Fri, 13 Aug 2004 15:34:00 +0000 (15:34 +0000)]
darwin-c.c (find_subframework_file): Fix spelling of cannot.

2004-08-12  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin-c.c (find_subframework_file): Fix spelling of cannot.
        * config/libgloss.h: Likewise.
        * config/arm/arm.c (arm_gen_load_multiple): Likewise.
        * c4x/c4x-modes.def: Likewise.
        * config/c4x/c4x.c (c4x_hard_regno_rename_ok): Likewise.
        (c4x_rptb_nop_p): Likewise.
        (c4x_rptb_valid_p): Likewise.
        (c4x_rptb_insert): Likewise.
        (c4x_address_conflict): Likewise.
        * config/c4x/c4x.md: Likewise.
        * config/frv/frv.md: Likewise.
        * config/i386/athlon.md: Likewise.
        * config/i386/i386.md: Likewise.
        * config/i386/predicates.md: Likewise.
        * config/ia64/ia64.c: Likewise.
        * config/ia64/itanium1.md: Likewise.
        * config/ia64/itanium2.md: Likewise.
        * config/iq2000/iq2000.md: Likewise.
        * config/mcore/mcore.c: Likewise.
        * config/mips/mips.c: Likewise.
        * config/mips/r3900.h: Likewise.
        * config/mips/sb1.md: Likewise.
        * config/pa/milli64.S: Likewise.
        * config/pa/pa.c: Likewise.
        * config/pa/pa.h: Likewise.
        * config/rs6000/8540.md: Likewise.

From-SVN: r85944

20 years agoMakefile.in (BOOT_CFLAGS): Remove accidental addition of -dU.
Daniel Berlin [Fri, 13 Aug 2004 15:29:58 +0000 (15:29 +0000)]
Makefile.in (BOOT_CFLAGS): Remove accidental addition of -dU.

2004-08-13  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.in (BOOT_CFLAGS): Remove accidental addition of -dU.

From-SVN: r85943

20 years ago* sh.md (cbranch define_delay) Use cond_delay_slot for
J"orn Rennecke [Fri, 13 Aug 2004 15:24:30 +0000 (15:24 +0000)]
* sh.md (cbranch define_delay) Use cond_delay_slot for
non-anulled condition too.

From-SVN: r85941

20 years ago- correct ChangeLog
David Edelsohn [Fri, 13 Aug 2004 14:41:51 +0000 (10:41 -0400)]
- correct ChangeLog

From-SVN: r85939

20 years agors6000.h (PREDICATE_CODES): Remove PARALLEL from any_operand.
David Edelsohn [Fri, 13 Aug 2004 14:41:10 +0000 (10:41 -0400)]
rs6000.h (PREDICATE_CODES): Remove PARALLEL from any_operand.

* config/rs6000/rs6000.h (PREDICATE_CODES): Remove PARALLEL from
any_operand.

From-SVN: r85938

20 years agors6000.c (any_parallel_operand): New predicate.
David Edelsohn [Fri, 13 Aug 2004 14:38:47 +0000 (14:38 +0000)]
rs6000.c (any_parallel_operand): New predicate.

* config/rs6000/rs6000.c (any_parallel_operand): New predicate.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add
any_parallel_operand, lmw_operation, stmw_operation,
mfcr_operation, mtcrf_operation.
* config/rs6000/rs6000.md (save_fpregs_{si,di}): Use
any_parallel_operand.
(return_and_restore_fpregs_{si,di}): Same.

From-SVN: r85937

20 years ago* MAINTAINERS: Remove myself from write-after-approval.
Brian Booth [Fri, 13 Aug 2004 14:29:31 +0000 (14:29 +0000)]
* MAINTAINERS: Remove myself from write-after-approval.

From-SVN: r85936

20 years ago[multiple changes]
Arnaud Charlet [Fri, 13 Aug 2004 10:24:46 +0000 (12:24 +0200)]
[multiple changes]

2004-08-13  Olivier Hainque  <hainque@act-europe.fr>

* decl.c (gnat_to_gnu_entity) <E_Variable>: When building an allocator
for a global aliased object with a variable size and an unconstrained
nominal subtype, pretend there is no initializer if the one we have is
incomplete, and avoid referencing an inexistant component in there. The
part we have will be rebuilt anyway and the reference may confuse
further operations.

2004-08-13  Thomas Quinot  <quinot@act-europe.fr>

* einfo.ads: Minor reformatting

* lib-writ.adb (Output_Main_Program_Line): Do not set parameter
restrictions in the ALI if we only want to warn about violations.

2004-08-13  Vincent Celier  <celier@gnat.com>

* ali.adb (Scan_ALI): Initialize component Body_Needed_For_SAL to False
when creating a new Unit_Record in table Units.

* gnatls.adb (Output_Unit): In verbose mode, output the restrictions
that are violated, if any.

* prj-nmsc.adb (Ada_Check.Get_Path_Names_And_Record_Sources): Do not
add directory separator if path already ends with a directory separator.

2004-08-13  Ed Schonberg  <schonberg@gnat.com>

* rtsfind.adb (Entity_Not_Defined): If the error ocurrs in a predefined
unit, this is an attempt to inline a construct that is not available in
the current restricted mode, so abort rather than trying to continue.

* sem_ch3.adb (Build_Underlying_Full_View): If the new type has
discriminants that rename those of the parent, recover names of
original discriminants for the constraint on the full view of the
parent.
(Complete_Private_Subtype): Do not create a subtype declaration if the
subtype is an itype.

* gnat_rm.texi: Added section on implementation of discriminated
records with default values for discriminants.

2004-08-13  Ed Schonberg  <schonberg@gnat.com>

PR ada/15601
* sem_res.adb (Make_Call_Into_Operator): Handle properly the case where
the second operand is overloaded.

From-SVN: r85934

20 years agogenrecog.c (add_to_sequence): When processing a MATCH_PARALLEL...
Zack Weinberg [Fri, 13 Aug 2004 06:36:21 +0000 (06:36 +0000)]
genrecog.c (add_to_sequence): When processing a MATCH_PARALLEL...

* genrecog.c (add_to_sequence): When processing a MATCH_PARALLEL,
if pred->singleton != PARALLEL, issue a warning and pretend it was.
Also issue a warning for any predicate we don't know about.

From-SVN: r85933

20 years agoi386.c (internal_label_prefix): Export.
Richard Henderson [Fri, 13 Aug 2004 04:29:06 +0000 (21:29 -0700)]
i386.c (internal_label_prefix): Export.

* config/i386/i386.c (internal_label_prefix): Export.
(internal_label_prefix_len, struct ix86_address,
ix86_decompose_address, maybe_get_pool_constant,
ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes,
memory_address_length): Export.
(any_fp_register_operand, fp_register_operand,
register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand,
x86_64_general_operand, x86_64_szext_general_operand,
x86_64_nonmemory_operand, x86_64_movabs_operand,
x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
x86_64_zext_immediate_operand, const_int_1_31_operand,
symbolic_operand, pic_symbolic_operand, local_symbolic_operand,
tls_symbolic_operand, global_dynamic_symbolic_operand,
local_dynamic_symbolic_operand, initial_exec_symbolic_operand,
local_exec_symbolic_operand, call_insn_operand, sibcall_insn_operand,
constant_call_address_operand, const0_operand, const1_operand,
const248_operand, const_0_to_3_operand, const_0_to_7_operand,
const_0_to_15_operand, const_0_to_255_operand, incdec_operand,
shiftdi_operand, reg_no_sp_operand, mmx_reg_operand,
general_no_elim_operand, nonmemory_no_elim_operand,
index_register_operand, q_regs_operand, flags_reg_operand,
non_q_regs_operand, zero_extended_scalar_load_operand,
vector_move_operand, no_seg_address_operand, sse_comparison_operator,
ix86_comparison_operator, ix86_carry_flag_operator,
fcmov_comparison_operator, promotable_binary_operator,
cmp_fp_expander_operand, ext_register_operand, binary_fp_operator,
mult_operator, div_operator, arith_or_logical_operator,
memory_displacement_operand, cmpsi_operand, long_memory_operand,
aligned_operand): Move to predicates.md as define_predicates.
(tls_symbolic_operand_1): Remove.
(x86_64_sign_extended_value): Merge into x86_64_immediate_operand.
(x86_64_zero_extended_value): Merge into x86_64_zext_immediate_operand.
(legitimize_address): Merge tls_symbolic_operand contents.
(ix86_expand_move): Likewise.
* config/i386/i386-protos.h: Update for exports.
* config/i386/i386.h (EXTRA_CONSTRAINT): Update for renames.
(PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Remove.
* config/i386/i386.md: Include predicates.md.
* config/i386/predicates.md: New file.

From-SVN: r85930

20 years agoNXConstStr.h: Update copyright date...
Ziemowit Laski [Fri, 13 Aug 2004 02:06:37 +0000 (02:06 +0000)]
NXConstStr.h: Update copyright date...

2004-08-12  Ziemowit Laski  <zlaski@apple.com>

        * objc/NXConstStr.h: Update copyright date; bracket with
        'extern "C"' for C++ use; make include syntax consistent
        by using <...> instead of "..."; hoist <objc/...> includes
        above the 'extern "C"' block.
        * objc/Object.h: Likewise.
        * objc/Protocol.h: Likewise.
        * objc/encoding.h: Likewise.
        * objc/hash.h: Likewise.
        * objc/runtime.h: Likewise.
        * objc/sarray.h: Likewise.
        * objc/thr.h: Likewise.
        * objc/typedstream.h: Likewise.
        * objc/objc-api.h: Add 'extern "C"' block for C++ use.
        (objc_static_instances): For C++ case, do away with
        zero-sized array.
        (objc_method): Hoist definition to file scope.
        (_objc_load_callback, _objc_object_alloc, class_get_class_method,
        class_get_instance_method, class_create_instance,
        class_get_class_name, class_get_instance_size,
        class_get_meta_class, class_get_super_class, class_get_version,
        class_is_class, class_is_meta_class, class_set_version,
        class_get_gc_object_type, class_ivar_set_gcinvisible,
        get_imp): Rename 'class' parameter to '_class'.
        * objc/objc-list.h: Add 'extern "C"' block for C++ use.
        * objc/objc.h: Update copyright date.
        (arglist_t): Provide a union tag.

From-SVN: r85927

20 years agore PR c++/16924 (dllexport attribute now causes some symbols _not_ to be exported)
Mark Mitchell [Fri, 13 Aug 2004 01:24:28 +0000 (01:24 +0000)]
re PR c++/16924 (dllexport attribute now causes some symbols _not_ to be exported)

PR c++/16924
* config/i386/winnt.c (i386_pe_mark_dllexport): Set
SYMBOL_REF_DECL.
(i386_pe_mark_dllimport): Likewise.
(i386_pe_encode_section_info): Likewise, when overriding
dllimport attribute.

From-SVN: r85924

20 years agogcc.dg/vmx/cw-bug-2.c: Remove.
Janis Johnson [Fri, 13 Aug 2004 00:46:54 +0000 (00:46 +0000)]
gcc.dg/vmx/cw-bug-2.c: Remove.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

gcc.dg/vmx/cw-bug-2.c: Remove.
gcc.dg/vmx/vprint-1.c: Remove.
gcc.dg/vmx/vscan-1.c: Remove.

From-SVN: r85923

20 years agoDaily bump.
GCC Administrator [Fri, 13 Aug 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r85921

20 years agoremove file for real
Ian Lance Taylor [Fri, 13 Aug 2004 00:02:16 +0000 (00:02 +0000)]
remove file for real

From-SVN: r85918

20 years agotemporary add to fix file in CVS
Ian Lance Taylor [Fri, 13 Aug 2004 00:02:01 +0000 (00:02 +0000)]
temporary add to fix file in CVS

From-SVN: r85917

20 years agoconfigure.ac: When testing for flex, nm, ar, and bison, check that they will actually...
Geoffrey Keating [Thu, 12 Aug 2004 23:03:20 +0000 (23:03 +0000)]
configure.ac: When testing for flex, nm, ar, and bison, check that they will actually be built.

* configure.ac: When testing for flex, nm, ar, and bison, check
that they will actually be built.
* configure: Regenerate.

From-SVN: r85914

20 years agoMakefile.def, [...]: Remove useless, bogus references to tix.
Nathanael Nerode [Thu, 12 Aug 2004 23:00:39 +0000 (23:00 +0000)]
Makefile.def, [...]: Remove useless, bogus references to tix.

* Makefile.def, configure.in: Remove useless, bogus
references to tix.
* Makefile.in, configure: Regenerate.

(Also fix up last ChangeLog entry.)

From-SVN: r85913

20 years agosrc-release: Stop distributing mmalloc with gdb (which doesn't use it).
Nathanael Nerode [Thu, 12 Aug 2004 22:44:25 +0000 (22:44 +0000)]
src-release: Stop distributing mmalloc with gdb (which doesn't use it).

2004-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: Stop distributing mmalloc with gdb (which doesn't
use it).
* Makefile.def: GDB doesn't depend on mmalloc anymore.
* Makefile.in: Regenerate.

From-SVN: r85912

20 years agoconfigure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
Paolo Carlini [Thu, 12 Aug 2004 22:38:21 +0000 (22:38 +0000)]
configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.

2004-08-12  Paolo Carlini  <pcarlini@suse.de>

* configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.

From-SVN: r85911

20 years agore PR libstdc++/16956 ([3.4 only] std::stringbuf::seekoff return wrong position value)
Paolo Carlini [Thu, 12 Aug 2004 22:26:32 +0000 (22:26 +0000)]
re PR libstdc++/16956 ([3.4 only] std::stringbuf::seekoff return wrong position value)

2004-08-12  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/16956
* include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
to the returned value, reorganize a bit.
* testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.

* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.

From-SVN: r85910

20 years agos390.h (MAX_FIXED_MODE_SIZE): Define.
Ulrich Weigand [Thu, 12 Aug 2004 21:37:31 +0000 (21:37 +0000)]
s390.h (MAX_FIXED_MODE_SIZE): Define.

* config/s390/s390.h (MAX_FIXED_MODE_SIZE): Define.
(MOVE_MAX_PIECES): Define.

From-SVN: r85909

20 years agodbxout.c (dbxout_begin_prologue): New function.
Devang Patel [Thu, 12 Aug 2004 21:32:56 +0000 (14:32 -0700)]
dbxout.c (dbxout_begin_prologue): New function.

        * dbxout.c (dbxout_begin_prologue): New function.
        (dbx_debug_hooks): Use new begin prologue hook.
        (dbxout_function_end): Emit N_ENSYM.
        * stab.def (N_BNSYM, N_ENSYM): Define and document these two new stabs.

        testsuite:
        gcc.dg/darwin-20040809-2.c: New test.

From-SVN: r85908

20 years agoaltivec-12.C: New test.
Janis Johnson [Thu, 12 Aug 2004 21:28:12 +0000 (21:28 +0000)]
altivec-12.C: New test.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* g++.dg/ext/altivec-12.C: New test.

From-SVN: r85907

20 years agoaltivec.h (vec_dst): Fix C++ functions whose first argument is float*.
Janis Johnson [Thu, 12 Aug 2004 21:27:14 +0000 (21:27 +0000)]
altivec.h (vec_dst): Fix C++ functions whose first argument is float*.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first
argument is float*.

From-SVN: r85906

20 years agoaltivec-11.C: New test.
Janis Johnson [Thu, 12 Aug 2004 21:25:44 +0000 (21:25 +0000)]
altivec-11.C: New test.

2004-08-12  Janis Johnson  <janis1872us.ibm.com>

* g++.dg/ext/altivec-11.C: New test.

From-SVN: r85904

20 years agors6000.c (altivec_init_builtins): Fix argument type for vec_dss.
Janis Johnson [Thu, 12 Aug 2004 21:24:49 +0000 (21:24 +0000)]
rs6000.c (altivec_init_builtins): Fix argument type for vec_dss.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type
for vec_dss.

From-SVN: r85903

20 years agoextend.texi (AltiVec builtins): Fix description for recent changes.
Janis Johnson [Thu, 12 Aug 2004 21:19:08 +0000 (21:19 +0000)]
extend.texi (AltiVec builtins): Fix description for recent changes.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* doc/extend.texi (AltiVec builtins): Fix description for recent
changes.  Update operation list to match current support.

From-SVN: r85902

20 years agoThis commit was generated by cvs2svn to compensate for changes in r85899,
Bryce McKinlay [Thu, 12 Aug 2004 21:14:30 +0000 (22:14 +0100)]
This commit was generated by cvs2svn to compensate for changes in r85899,

which included commits to RCS files with non-trunk default branches.

From-SVN: r85900

20 years agoInitial revision
Bryce McKinlay [Thu, 12 Aug 2004 21:14:23 +0000 (22:14 +0100)]
Initial revision

From-SVN: r85897

20 years agocxxabi_tweaks.h: Define __cxa_vec_ctor_return and _GLIBCXX_CXA_VEC_CTOR_RETURN.
Paul Brook [Thu, 12 Aug 2004 18:50:38 +0000 (18:50 +0000)]
cxxabi_tweaks.h: Define __cxa_vec_ctor_return and _GLIBCXX_CXA_VEC_CTOR_RETURN.

* config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
_GLIBCXX_CXA_VEC_CTOR_RETURN.
* config/cpu/generic/cxxabi_tweaks.h: Ditto.
* libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
__cxa_vec_ctor_return.
* libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
Use _GLIBCXX_CXA_VEC_CTOR_RETURN.

* g++.dg/abi/arm_cxa_vec_1.C: New test.

From-SVN: r85891

20 years agoaltivec-2.C: Check for hardware support before executing any VMX instructions.
Janis Johnson [Thu, 12 Aug 2004 18:09:44 +0000 (18:09 +0000)]
altivec-2.C: Check for hardware support before executing any VMX instructions.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* g++.dg/ext/altivec-2.C: Check for hardware support before
executing any VMX instructions.

From-SVN: r85890

20 years agoops-long-2.c: Add dg-error directives.
Janis Johnson [Thu, 12 Aug 2004 18:08:12 +0000 (18:08 +0000)]
ops-long-2.c: Add dg-error directives.

2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/vmx/ops-long-2.c: Add dg-error directives.

From-SVN: r85889

20 years agoFix typo
Mark Mitchell [Thu, 12 Aug 2004 18:03:15 +0000 (18:03 +0000)]
Fix typo

From-SVN: r85887

20 years agore PR c++/16273 (Memory exhausted when using nested classes and virtual functions)
Mark Mitchell [Thu, 12 Aug 2004 17:58:24 +0000 (17:58 +0000)]
re PR c++/16273 (Memory exhausted when using nested classes and virtual functions)

PR c++/16273
* class.c (count_depth_data): New type.
(dfs_depth_post): New function.
(dfs_depth_q): Likewise.
(find_final_overrider_data_s): Change type of vpath.
Add vpath_list.
(dfs_find_final_overrider_1): New function.
(dfs_find_final_overrider): Use it.
(dfs_find_final_overrider_q): Adjust use of vpath.
(dfs_find_final_overrider_post): Likewise.
(find_final_overrider): Use dfs_depth.  Allocate and deallocate
vpath_list.

From-SVN: r85886

20 years agore PR libgcj/16662 (IllegalMonitorStateException in EventQueue.getNextEvent(): possib...
Hans Boehm [Thu, 12 Aug 2004 17:56:32 +0000 (17:56 +0000)]
re PR libgcj/16662 (IllegalMonitorStateException in EventQueue.getNextEvent(): possible hash synchronization bug?)

PR libgcj/16662
* java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
(Almost everywhere): add LOG calls, fix, add comments.
(_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
Add explicit check for LOCKED bit in slow case (PR 16662).
(_Jv_MonitorExit): Add casts in debug-only code.
Always release LOCKED bit before throwing exception.
(_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
isn't.  Handle easy cases without lock acquisition.
(Object::wait): Use NotifyAll for lock inflation.

From-SVN: r85884

20 years agos390.c (struct s390_frame_layout): New struct as element of struct machine_function.
Andreas Krebbel [Thu, 12 Aug 2004 17:40:02 +0000 (17:40 +0000)]
s390.c (struct s390_frame_layout): New struct as element of struct machine_function.

2004-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (struct s390_frame_layout): New struct as element
of struct machine_function.
(cfun->machine->frame_size): Moved into cfun->machine->frame_layout and
changed all uses.
(cfun->machine->save_fprs_p): Replaced by cfun_save_high_fprs and
changed all uses.
(cfun_frame_layout, cfun_save_high_fprs_p, cfun_gprs_save_area_size)
(cfun_set_fpr_bit, cfun_fpr_bit_p): New macros.
(s390_frame_area, s390_register_info): New functions.
(s390_optimize_prolog): Renamed to s390_optimize_prologue.  Added check
for base register.
(s390_return_addr_rtx, s390_return_address_offset)
(s390_va_start, s390_gimplify_va_arg)
(s390_emit_prologue, s390_emit_epilogue): Adjusted for new stack
layouts.
(s390_frame_info): Functionality partly moved to s390_register_info.
Made adaptions for new stack layout.
(save_gprs, restore_gprs): Changed meaning of second parameter and
adapted all callers.

* config/s390/s390.h (s390_backchain_string): New global variable.
(MASK_BACKCHAIN): Removed definition.
(TARGET_BACKCHAIN): Changed check.
(TARGET_KERNEL_BACKCHAIN): New macro.
(TARGET_SWITCHES): Removed entries of "backchain" and "no-backchain".
(TARGET_OPTIONS): Added "backchain", "no-backchain" and
"kernel-backchain".
(DYNAMIC_CHAIN_ADDRESS): Adjusted for new stack layouts.

* config/s390/s390.md ("allocate_stack"): Added TARGET_KERNEL_BACKCHAIN
as condition.  Adjusted for new stack layout.

* doc/invoke.texi: Added documentation for new option
"-mkernel-backchain" and adjusted documentation of "-mbackchain" and
"-mno-backchain".

From-SVN: r85882

20 years agoProcess_1.java: New test.
David Daney [Thu, 12 Aug 2004 16:24:56 +0000 (16:24 +0000)]
Process_1.java: New test.

2004-08-03  David Daney  <ddaney@avtrex.com>

* testsuite/libjava.lang/Process_1.java: New test.
* testsuite/libjava.lang/Process_2.java: New test.
* testsuite/libjava.lang/Process_3.java: New test.
* testsuite/libjava.lang/Process_4.java: New test.
* testsuite/libjava.lang/Process_5.java: New test.
* testsuite/libjava.lang/Process_6.java: New test.
* testsuite/libjava.lang/Process_1.out: Expected result.
* testsuite/libjava.lang/Process_2.out: Expected result.
* testsuite/libjava.lang/Process_3.out: Expected result.
* testsuite/libjava.lang/Process_4.out: Expected result.
* testsuite/libjava.lang/Process_5.out: Expected result.
* testsuite/libjava.lang/Process_6.out: Expected result.

From-SVN: r85881

20 years agore PR libgcj/11801 (Problems with Process.waitFor() and exitValue())
David Daney [Thu, 12 Aug 2004 16:20:11 +0000 (16:20 +0000)]
re PR libgcj/11801 (Problems with Process.waitFor() and exitValue())

2004-08-12  David Daney  <ddaney@avtrex.com>

PR libgcj/11801
* java/lang/PosixProcess.java: Rewrote.
* java/lang/natPosixProcess.cc: Rewrote.
* java/lang/Runtime.java (execInternal): Declare throws IOException.
* gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
* posix-threads.cc (block_sigchld) New function.
(_Jv_ThreadRegister) Use it.
(_Jv_ThreadStart) Use it.
* configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
* Makefile.am: ... to specify extra native headers.
* configure: Regenerated.
* include/config.h: Regenerated.
* Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

From-SVN: r85880

20 years agolib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name.
Paul Brook [Thu, 12 Aug 2004 16:14:52 +0000 (16:14 +0000)]
lib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name.

* config/arm/lib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name.
(aeabi_uidivmod, aeabi_idivmod): Provide thumb implementation.

From-SVN: r85879

20 years agogcj.texi: Add subsection on signal usage.
David Daney [Thu, 12 Aug 2004 16:10:52 +0000 (16:10 +0000)]
gcj.texi: Add subsection on signal usage.

2004-08-12  David Daney  <ddaney@avtrex.com>

        * java/gcj.texi:  Add subsection on signal usage.

From-SVN: r85878

20 years agoexpr.c (move_by_pieces): Set alignment for move to minimum of MOVE_MAX_PIECES mode...
David Edelsohn [Thu, 12 Aug 2004 15:05:38 +0000 (15:05 +0000)]
expr.c (move_by_pieces): Set alignment for move to minimum of MOVE_MAX_PIECES mode alignment and the...

        * expr.c (move_by_pieces): Set alignment for move to minimum of
        MOVE_MAX_PIECES mode alignment and the largest non-slow mode
        alignment, but not less than the original alignment.
        (move_by_pieces_ninsns): Same.
        (can_store_by_pieces): Similar for store with STORE_MAX_PIECES.
        (store_by_pieces_1): Same.

From-SVN: r85875

20 years agore PR tree-optimization/16867 (Inline array initializer miscompilation at -O)
Diego Novillo [Thu, 12 Aug 2004 14:34:11 +0000 (14:34 +0000)]
re PR tree-optimization/16867 (Inline array initializer miscompilation at -O)

PR tree-optimization/16867
* tree.c (is_global_var): New function.
(needs_to_live_in_memory): Check for TREE_ADDRESSABLE.
Call is_global_var.
* tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove.
Update all users.
(is_global_var): Declare.
* tree-dfa.c (dump_variable): Display global and addressable
attributes.
(add_referenced_var): Clarify documentation when marking
variables call-clobbered.
* tree-flow-inline.h (is_call_clobbered): Call is_global_var
instead of needs_to_live_in_memory.
(mark_call_clobbered): If the variable is a tag, mark it
DECL_EXTERNAL.
* tree-gimple.c (is_gimple_reg): Don't check for
TREE_ADDRESSABLE.
(is_gimple_non_addressable): Likewise.
* tree-ssa-alias.c (get_nmt_for): Always check whether the tag
needs to be marked call-clobbered.
(setup_pointers_and_addressables): Call is_global_var instead
of needs_to_live_in_memory.
* tree-ssa-dce.c (need_to_preserve_store): Remove.
Update all users with is_global_var.
(mark_stmt_if_obviously_necessary): Fix processing of aliased
stores.  Don't check the virtual definitions.  Rather, check
whether the store is going into global memory.
(find_obviously_necessary_stmts): Get the symbol from the PHI
result.
* tree-ssa-operands.c (get_call_expr_operands): Do not add
clobbering may-defs if the call does not have side effects.

libjava/ChangeLog

PR tree-optimization/16867
* testsuite/libjava.lang/PR16867.java: New test.

From-SVN: r85874

20 years agore PR c++/16276 ([3.4 only] G++ generates local references to linkonce sections)
Jakub Jelinek [Thu, 12 Aug 2004 13:57:04 +0000 (15:57 +0200)]
re PR c++/16276 ([3.4 only] G++ generates local references to linkonce sections)

        PR c++/16276
        * output.h (default_function_rodata_section,
default_no_function_rodata_section): New prototypes.
* target.h (struct gcc_target): Add asm_out.function_rodata_section.
* target-def.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define.
(TARGET_ASM_OUT): Add it.
        * varasm.c (default_function_rodata_section,
default_no_function_rodata_section): New functions.
        * final.c (final_scan_insn): Call
targetm.asm_out.function_rodata_section instead of
readonly_data_section.
* config/darwin.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define.
* config/mcore/mcore.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/ip2k/ip2k.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/rs6000/xcoff.h (TARGET_ASM_FUNCTION_RODATA_SECTION):
Likewise.
* config/alpha/alpha.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/i386/cygming.h (TARGET_ASM_FUNCTION_RODATA_SECTION):
Likewise.
* config/i386/i386-interix.h (TARGET_ASM_FUNCTION_RODATA_SECTION):
Likewise.
* config/arm/pe.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/avr/avr.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* doc/tm.texi (TARGET_ASM_FUNCTION_RODATA_SECTION): Document.

        * g++.old-deja/g++.other/comdat4.C: New test.
        * g++.old-deja/g++.other/comdat4-aux.cc: New.

From-SVN: r85873

20 years agodwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh frame info.
Paul Brook [Thu, 12 Aug 2004 13:45:44 +0000 (13:45 +0000)]
dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh frame info.

* dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh
frame info.
* doc/tm.texi: Document interaction between TARGET_UNWIND_INFO and
DWARF2_UNWIND_INFO.

From-SVN: r85871

20 years agoMakefile.in: Regenerate
Kelley Cook [Thu, 12 Aug 2004 12:13:14 +0000 (12:13 +0000)]
Makefile.in: Regenerate

2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>

* include/Makefile.in: Regenerate

From-SVN: r85870

20 years agoMakefile.in, [...]: Regenerate
Kelley Cook [Thu, 12 Aug 2004 11:54:13 +0000 (11:54 +0000)]
Makefile.in, [...]: Regenerate

2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in, aclocal.m4, configure, include/Makefile.in,
libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
src/Makefile.in, testsuite/Makefile.in: Regenerate

From-SVN: r85869

20 years agoPatch for PR target/16286
Ben Elliston [Thu, 12 Aug 2004 11:02:38 +0000 (11:02 +0000)]
Patch for PR target/16286

2004-08-12  Ben Elliston  <bje@au.ibm.com>

* config/rs6000/altivec.h: Change vector to __vector throughout.
(Except for the `vector' macro itself).

[testsuite]
2004-08-12  Ben Elliston  <bje@au.ibm.com>

* gcc.dg/pr16286.c: New test.

From-SVN: r85868

20 years ago2004-08-12 Jan Beulich <jbeulich@novell.com>
Jan Beulich [Thu, 12 Aug 2004 09:46:39 +0000 (09:46 +0000)]
2004-08-12  Jan Beulich  <jbeulich@novell.com>

* config/locale/generic/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
initializer for return value, as that is invalid for enumerated types.
* config/locale/gnu/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Likewise.

From-SVN: r85862