Commit Graph

72693 Commits

Author SHA1 Message Date
Nathan Sidwell
ab34901fe4 configure.in: Replace ms1 with mt.
* configure.in: Replace ms1 with mt.
	* configure: Rebuilt.

From-SVN: r108637
2005-12-16 11:52:02 +00:00
Nathan Sidwell
a3fafcb085 Checkin missing parts of my 2005-12-12 patch
From-SVN: r108636
2005-12-16 11:43:46 +00:00
Alan Modra
00dcee0c2b re PR driver/20425 (-print-search-dirs doesn't honor mutil-os/multilib settings)
PR driver/20425
	* gcc.c (for_each_path): New function.
	(add_to_obstack, file_at_path): New functions.
	(struct file_at_path_info, struct add_to_obstack_info): New.
	(build_search_list): Rewrite using for_each_path.  Constify struct
	path_prefix pointer.  Add do_multi param.  Adjust all callers.
	(find_a_file): Similarly, but just change existing param to bool.
	(putenv_from_prefixes): Add do_multi param, make "paths" const.
	(do_spec_path): Delete.
	(struct spec_path_info): New.
	(spec_path): New function.
	(do_spec_1): Use for_each_path for %D and %I.
	(find_file): Adjust for find_a_file changes.
	(main): Search multilibs for specs.  Print multilib lib path for
	-print-search-dirs.  Likewise add multilibs to LIBRARY_PATH_ENV.
	(read_specs): Search multilibs for %include and %include_noerr.
	(is_directory): Remove second string param.  Change last param
	to a bool.  Don't use concat.  Remove SMALL_ARG_MAX test, always
	check path is a dir.  Update all callers.
	* doc/hostconfig.texi (SMALL_ARG_MAX): Remove mention.
	* system.h (SMALL_ARG_MAX): Poison.
	* config.gcc: Don't define SMALL_ARG_MAX.
	* config.host: Likewise.
	* config.build: Likewise.

From-SVN: r108635
2005-12-16 20:16:22 +10:30
Paolo Bonzini
bd1ef75776 combine.c (combine_simplify_rtx <case NOT, [...]): Move simplifications that do not require additional infrastructure...
2005-12-16  Paolo Bonzini  <bonzini@gnu.org>

	* combine.c (combine_simplify_rtx <case NOT, NEG, TRUNCATE,
	FLOAT_TRUNCATE, FLOAT_EXTEND, PLUS, MINUS, AND, IOR, XOR,
	ABS, VEC_SELECT, POPCOUNT, PARITY, FFS, FLOAT>,
	simplify_logical): Move simplifications that do not require
	additional infrastructure...
	* simplify-rtx.c (simplify_unary_operation_1,
	simplify_binary_operation_1): ... here.

From-SVN: r108634
2005-12-16 09:24:19 +00:00
Richard Guenther
488ce07ba2 (gfc_conv_descriptor_data_addr): Use build_fold_addr_expr where appropriate.
2005-12-16  Richard Guenther  <rguenther@suse.de>

	(gfc_conv_descriptor_data_addr): Use build_fold_addr_expr where
	appropriate.
	(gfc_trans_allocate_array_storage): Likewise.
	(gfc_trans_array_constructor_value): Likewise.
	(gfc_conv_array_data): Likewise.
	(gfc_conv_expr_descriptor): Likewise.
	(gfc_conv_array_parameter): Likewise.
	(gfc_conv_variable): Likewise.
	(gfc_conv_function_val): Likewise.
	(gfc_conv_function_call): Likewise.
	(gfc_conv_expr_reference): Likewise.
	(gfc_conv_intrinsic_ctime): Likewise.
	(gfc_conv_intrinsic_fdate): Likewise.
	(gfc_conv_intrinsic_ttynam): Likewise.
	(gfc_conv_intrinsic_si_kind): Likewise.
	(gfc_conv_intrinsic_trim): Likewise.
	(set_parameter_ref): Likewise.
	(gfc_convert_array_to_string): Likewise.
	(gfc_trans_open): Likewise.
	(gfc_trans_close): Likewise.
	(build_filepos): Likewise.
	(gfc_trans_inquire): Likewise.
	(nml_get_addr_expr): Likewise.
	(transfer_namelist_element): Likewise.
	(build_dt): Likewise.
	(gfc_trans_dt_end): Likewise.
	(transfer_array_component): Likewise.
	(transfer_expr): Likewise.
	(transfer_array_desc): Likewise.
	(gfc_trans_transfer): Likewise.
	(gfc_trans_allocate): Likewise.
	(gfc_trans_deallocate): Likewise.

From-SVN: r108633
2005-12-16 09:16:12 +00:00
Andreas Krebbel
52c6b0b7dc re PR rtl-optimization/24823 (ICE in insert_save, at caller-save.c:719)
2005-12-16  Andreas Krebbel  <krebbel1@de.ibm.com>

	PR 24823
	* flow.c (mark_used_dest_regs): New function.
	(mark_used_regs): Call mark_used_dest_regs.

2005-12-16  Andreas Krebbel  <krebbel1@de.ibm.com>

	PR 24823
	* gfortran.dg/pr24823.f: New test.

From-SVN: r108632
2005-12-16 09:09:37 +00:00
Jeff Law
7d48c9e2cc tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which represent a use and definition of the same...
* tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which
	represent a use and definition of the same SSA_NAME.

	* gcc.dg/tree-ssa/ssa-dse-8.c: New test.

From-SVN: r108630
2005-12-16 00:03:12 -07:00
Jon Grimm
9a8ce21f3b target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): New.
2005-12-16  Jon Grimm  <jgrimm2@us.ibm.com>
	    Janis Johnson  <janis187@us.ibm.com>
	    Ben Elliston  <bje@au.ibm.com>

	* target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): New.
	(TARGET_INITIALIZER): Add TARGET_DECIMAL_FLOAT_P.
	* target.h (struct gcc_target): Add decimal_float_supported_p.
	* targhooks.c (default_scalar_mode_supported_p): Handle
	MODE_DECIMAL_FLOAT.
	* builtins.def: Add new builtins for 32, 64 and 128 bit variants
	of inf, nan, finite, isinf and isnan.
	* builtin-types.def (BT_DFLOAT32, BT_DFLOAT64, BT_DFLOAT128,
	BT_DFLOAT32_PTR, BT_DFLOAT64_PTR, BT_DFLOAT128_PTR,
	BT_FN_DFLOAT32, BT_FN_DFLOAT64, BT_FN_DFLOAT128,
	BT_FN_INT_DFLOAT32, BT_FN_INT_DFLOAT64, BT_FN_INT_DFLOAT128,
	BT_FN_DFLOAT32_CONST_STRING, BT_FN_DFLOAT64_CONST_STRING,
	BT_FN_DFLOAT32_CONST_STRING, BT_FN_DFLOAT32_DFLOAT32,
	BT_FN_DFLOAT64_DFLOAT64, BT_FN_DFLOAT128_DFLOAT128): New.
	* c-decl.c (declspecs_add_type): Verify combos on type qualifiers.
	Pedwarn if decimal floating point types are used.  Error if
	decimal floating point is not supported by the target.
	(finish_declspecs): Return type from DFP typespec_word.
	* c-typeck.c (c_common_type): Choose the decimal floating point
	type with the greater precision when determining a common type.
	(convert_arguments): Warn if there is a mismatch between argument
	and prototype for decimal float types.  Warn of conversions with
	binary float types and of precision narrowing due to prototype.
	* c-parser.c (reswords): Add _Decimal32, _Decimal64, _Decimal128.
	(c_token_starts_typename): Handle RID_DFLOAT32/64/128.
	(c_token_starts_declspecs): Likewise.
	(c_parser_attributes): Likewise.
	* c-common.h (enum rid): Add new enumeration values RID_DFLOAT32,
	RID_DFLOAT64, RID_DFLOAT128.
	(T_D32, TEX_D32, T_D64, TEX_D64, T_D128, TEX_D128): New macros.
	* c-common.c (c_common_type_for_mode): Handle decimal float modes.
	(shorten_compare): Convert DFP/BFP operands to a common type.
	(c_common_modes_and_builtins): Register built-in decimal float
	types if the target supports them.
	(handle_mode_addtribute): Handle MODE_DECIMAL_FLOAT.
	* builtins.c (fold_builtin_1): Handle 32, 64 and 128 bit cases of
	inf, nan, finite, isinf and isnan builtins.
	* c-cppbuiltin.c (builtin_define_decimal_float_constants): New.
	(builtin_define_float_constants): Assert non-decimal radix.
	(c_cpp_builtins): Register built-in __DEC_EVAL_METHOD__ define.
	Call builtin_define_decimal_float_constants for each type.
	* c-lex.c (interpret_float): Decode decimal float types from CPP_N
	flags.  Use real_from_string3, which can handle binary or decimal
	floats.
	* c-tree.h (enum c_typespec_keyword): Add cts_dfloat32,
	cts_dfloat64, cts_dfloat128.
	* tree.c (build_common_tree_nodes_2): Add decimal float types.
	* tree.h (enum tree_index): Add new enumeration values
	TI_DFLOAT32_TYPE, TI_DFLOAT64_TYPE, TI_DFLOAT128_TYPE,
	TI_DFLOAT32_PTR_TYPE, TI_DFLOAT64_PTR_TYPE, TI_DFLOAT128_PTR_TYPE.
	(dfloat32_type_node): New macro.
	(dfloat64_type_node, dfloat128_type_node): Likewise.
	(dfloat32_ptr_type_node, dfloat64_ptr_type_node): Likewise.
	(dfloat128_ptr_type_node): Likewise.
	* c-pretty-print.c (pp_c_floating_constant): Append 32, 64 and 128
	bit decimal floating point types with "df", "dd" and "dl".
	* c-format.h (enum format_lengths): Add new enumeration values
	FMT_LEN_H, FMT_LEN_D and FMT_LEN_DD.
	* c-format.c (printf_length_specs, scanf_length_specs): Add
	entries for H, D, DD.
	(print_char_table, scan_char_table): Use new entries.
	(asm_fprintf_char_table, gcc_diag_char_table,
	gcc_cdiag_char_table, gcc_cxxdiag_char_table): Adjust for longer
	length arrays.
	* defaults.h (DECIMAL32_TYPE_SIZE): Define.
	(DECIMAL64_TYPE_SIZE): Likewise.
	(DECIMAL128_TYPE_SIZE): Likewise.
	(TARGET_DEC_EVAL_METHOD): Likewise.
	* doc/extend.texi (Decimal Float): New node.
	(Constructing Calls): Document decimal float built-ins.
	* doc/tm.texi: Document TARGET_DECIMAL_FLOAT_SUPPORTED_P hook.
	* Makefile.in (USER_H): Add $(srcdir)/ginclude/decfloat.h.
	* ginclude/decfloat.h: New file.

Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>

From-SVN: r108629
2005-12-16 17:38:26 +11:00
Alan Modra
425de7399f reload.c (find_reloads): Fix comment typo.
* reload.c (find_reloads): Fix comment typo.
	* recog.h (recog_memoized): Correct comment.

From-SVN: r108627
2005-12-16 16:44:17 +10:30
Kazu Hirata
6416ae7f28 basic-block.h, [...]: Fix comment typos.
* basic-block.h, config/i386/winnt.c, config/pa/pa.c,
	config/s390/s390.c, dfp.c, expr.c, fold-const.c, params.def,
	reload.c, struct-equiv.c, tree-ssa-ccp.c, tree-ssa-pre.c,
	tree-ssa-reassoc.c, tree-ssa-structalias.c: Fix comment typos.
	* doc/invoke.texi, doc/tm.texi: Fix typos.

From-SVN: r108626
2005-12-16 06:09:31 +00:00
Kazu Hirata
bcf51da29c * parser.c, pt.c: Fix comment typos.
From-SVN: r108625
2005-12-16 05:55:45 +00:00
Kazu Hirata
8a6c433918 dependency.c, [...]: Fix comment typos.
* dependency.c, resolve.c, trans-array.c: Fix comment typos.
	* gfortran.texi: Fix typos.

From-SVN: r108624
2005-12-16 05:49:45 +00:00
Andrew Pinski
a075400701 struct-layout-encoding-1_generate.c (base_types): Change C++ style comments to C style comments.
2005-12-16  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (base_types):
        Change C++ style comments to C style comments.
        Remove aligned types from the array.
        Keep Enums disabled.
        (complex_types): Remove aligned types from the array.
        Comment out "_Complex long double".
        (attrib_types): Remove.
        (complex_attrib_types): Remove.
        (attrib_array_types): Remove.
        (complex_attrib_array_types): Remove.
        (aligned_bitfld_types): Remove.
        (n_aligned_bitfld_types): Remove.
        (FEATURE_ALIGNEDPACKED): Delete.
        (ALL_FEATURES): Remove FEATURE_ALIGNEDPACKED.
        (singles): Remove support for adding attributes.
        (choose_type): Remove support for attributed types.
        (generate_fields): Remove support for attributed bit-fields.
        Remove support for adding attributes.
        (generate_random_tests): Remove support for adding attributes.
        (features): Add back "[0] :0" and "complex vector [0]".
        (main): Remove support for attributed bit-fields.
        Uncomment the calling of generate_random_tests for the rests of
        the tests.

From-SVN: r108623
2005-12-15 21:01:38 -08:00
Ben Elliston
6d7f0973de * real.c (decimal_quad_format): Correct values for emin, emax.
From-SVN: r108622
2005-12-16 13:11:48 +11:00
DJ Delorie
12ea2512c4 predicates.md (m32c_psi_scale): New.
* config/m32c/predicates.md (m32c_psi_scale): New.
* config/m32c/m32c.c (m32c_expand_neg_mulpsi3): New.
* config/m32c/muldiv.md (mulpsi3): Support negative constants.

From-SVN: r108620
2005-12-15 20:31:39 -05:00
GCC Administrator
6cb8c05915 Daily bump.
From-SVN: r108614
2005-12-16 00:17:46 +00:00
Tom Tromey
86bcd3a224 re PR java/25429 (can't see private static final int CREATE = 1)
gcc/java:
	PR java/25429
	* parse.y (resolve_expression_name): Don't generate accessor
	methods for constant fields.
libjava:
	* testsuite/libjava.compile/rh175833.java: New file.
	* testsuite/libjava.compile/pr25429.java: New file.

Co-Authored-By: Andrew Haley <aph@redhat.com>

From-SVN: r108608
2005-12-16 00:00:43 +00:00
Jan Hubicka
094bb856e6 re PR rtl-optimization/25224 (ICE in initialize_original_copy_tables)
PR rtl-optimization/25224
	* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
	tables.

From-SVN: r108606
2005-12-15 23:52:16 +00:00
Zdenek Dvorak
cb20f7e875 Commit part of Zdenek's larger loop-invariant.c patch.
* loop-invariant.c (df): New global variable.
	(find_defs, check_dependencies, find_invariant_insn, record_uses,
	find_invariants_bb, find_invariants_body, find_invariants,
	find_invariants_to_move, move_invariants, free_inv_motion_data,
	move_single_loop_invariants, move_loop_invariants): Do not pass df in
	arguments.

Co-Authored-By: Steven Bosscher <stevenb@suse.de>

From-SVN: r108605
2005-12-15 23:30:46 +00:00
Jakub Jelinek
0a942feac9 varasm.c (default_unique_section_1): Use special section names for SECCAT_DATA_REL{,_RO}{,_LOCAL}.
* varasm.c (default_unique_section_1): Use special section
	names for SECCAT_DATA_REL{,_RO}{,_LOCAL}.

From-SVN: r108602
2005-12-15 23:33:15 +01:00
Joseph Myers
69c120dd33 * nl.po: Update.
From-SVN: r108600
2005-12-15 22:31:39 +00:00
Ben Elliston
032371611e invoke.texi (Warning Options): Document -Walways-true being enabled by -Wall.
* doc/invoke.texi (Warning Options): Document -Walways-true being
	enabled by -Wall.

From-SVN: r108599
2005-12-16 09:31:20 +11:00
Joseph Myers
4a73d8657b re PR other/25028 (TImode-to-floating conversions broken)
PR other/25028
	* libgcc2.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Define.
	* libgcc2.c (__floatdixf, __floatundixf, __floatditf,
	__floatunditf): Use #error if type sizes don't match requirements
	of implementation.
	(__floatdisf, __floatdidf): Unify.  Possibly use XFmode or TFmode
	as wider floating-point type.  Use #error if type sizes don't
	match requirements of implementation.  Avoid overflow in computing
	Wtype_MAXp1_F * Wtype_MAXp1_F.  When special casing conversion,
	shift one more bit.  Cast 1 to DWtype or UDWtype for shifting.
	(__floatundisf, __floatundidf): Likewise.
	* config/ia64/hpux.h (XF_SIZE, TF_SIZE): Define.
	* config/ia64/ia64.c (ia64_init_libfuncs): Use
	_U_Qfcnvfxt_quad_to_quad and _U_Qfcnvxf_quad_to_quad for
	TFmode-TImode conversions.
	* doc/tm.texi (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Document.

testsuite:
	* gcc.dg/torture/fp-int-convert-timode.c: Only XFAIL for LP64 IA64
	HP-UX.

From-SVN: r108598
2005-12-15 21:50:10 +00:00
Craig Rodrigues
4976b95c37 freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Use builtin_define_with_int_value() instead of adding a new check for every new...
* freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
        Use builtin_define_with_int_value() instead of
        adding a new check for every new major FreeBSD version.

From-SVN: r108597
2005-12-15 21:32:43 +00:00
Bryce McKinlay
cbe82f2170 MAINTAINERS: Update my email address.
2005-12-15  Bryce McKinlay  <mckinlay@redhat.com>

        * MAINTAINERS: Update my email address.

From-SVN: r108596
2005-12-15 20:04:48 +00:00
Andrew Pinski
4a1bee62d6 t-darwin (darwin-c.o): Depend on $(TREE_H) instead of tree.h.
2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/t-darwin (darwin-c.o): Depend on $(TREE_H) instead of tree.h.

From-SVN: r108585
2005-12-15 08:49:21 -08:00
David Ayers
bf5b295c6a re PR libobjc/14382 ([libobjc] Calling +initialize on a per category basis)
2005-12-15  David Ayers  <d.ayers@inode.at>

	PR libobjc/14382
	* README (+load,+initialize): Fix documentation to reflect
	intended and implemented semantics for +load and +initialize.

From-SVN: r108584
2005-12-15 16:46:17 +00:00
Richard Sandiford
e6add59b16 predicates.md (call_memory_operand): New.
* config/arm/predicates.md (call_memory_operand): New.
	* config/arm/arm.md (*call_mem, *call_value_mem): Use it.

testsuite/
	* gcc.dg/20051215-1.c: New file.

From-SVN: r108583
2005-12-15 16:42:10 +00:00
Andrew Haley
a8acd1c480 unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Guard against prev_cache_entry == NULL when moving a cache entry to the head of...
2005-12-15  Andrew Haley  <aph@redhat.com>

        * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Guard
        against prev_cache_entry == NULL when moving a cache entry to the
        head of the list.

From-SVN: r108582
2005-12-15 16:17:50 +00:00
Nathan Sidwell
6c9ac67a41 mt.c (mt_override_options): Require lower case architectures.
* config/mt/mt.c (mt_override_options): Require lower case
	architectures.  Revert accidental default to ms2.
	* config/mt/mt.h (ASM_SPEC, LIBSPEC, STARTFILE_SPEC,
	ENDFILE_SPEC): Require lower case architectures.  Revert default
	to ms2.

	* doc/invoke.texi (MT Options): Rename and update.
	* doc/md.texi (MorphoTech family): Rename and update.

From-SVN: r108581
2005-12-15 16:14:26 +00:00
Paolo Bonzini
1984347212 Makefile.tpl (all, [...]): Don't invoke $(stage) at the end.
2005-12-15  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.tpl (all, do-[+make_target+], do-check, install,
	install-host-nogcc): Don't invoke $(stage) at the end.
	* Makefile.in: Regenerate.

From-SVN: r108580
2005-12-15 14:34:27 +00:00
Olivier Hainque
b606b65c44 stor-layout.c (layout_type): Don't complain about a too small an array element type size compared to its...
* stor-layout.c (layout_type): Don't complain about a too small
	an array element type size compared to its alignment when the
	size overflows.

From-SVN: r108575
2005-12-15 13:09:41 +00:00
Jan Hubicka
9286af9721 re PR target/24969 (tmpdir-gcc.dg-struct-layout-1/t026 fails execution)
PR target/24969
	* i386.c (classify_argument): Properly adjust offset of bitfield for
	substructures.

From-SVN: r108573
2005-12-15 12:49:10 +00:00
Richard Sandiford
c543ca49c2 final.c (final_scan_insn): Flip in_cold_section_p when changing between the hot and cold sections.
* final.c (final_scan_insn): Flip in_cold_section_p when changing
	between the hot and cold sections.  Use current_function_section
	to get the new section.
	* dwarf2out.c (output_line_info): Use in_cold_section_p to
	determine whether we are assembling hot or cold code.
	(secname_for_decl, dwarf2out_var_location): Likewise.
	(dwarf2out_init, dwarf2out_finish): Use switch_to_section.
	* varasm.c (last_text_section): Delete.
	(in_cold_section_p): New variable.
	(hot_function_section): New function.
	(current_function_section): Pass in_cold_section_p as the
	reloc argument to select_section.  Use it to decide between
	unlikely_function_section and hot_function_section.
	(assemble_start_function): Use switch_to_section.  Set
	in_cold_section_p instead of last_text_section.
	(assemble_end_function): Use switch_to_section.
	(switch_to_section): Don't set last_text_section.
	* config/darwin/darwin.c (machopic_select_section): Trust the reloc
	argument to make the right choice between hot and cold sections.

From-SVN: r108572
2005-12-15 12:40:33 +00:00
Paolo Carlini
8d46ce6095 stl_vector.h (vector<>::_M_get_Tp_allocator): Change to return by ref and add non const version.
2005-12-15  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
	to return by ref and add non const version.
	* include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.

From-SVN: r108570
2005-12-15 11:31:59 +00:00
Nathan Sidwell
bccef6d862 Second part of MS1->MT renaming
Second part of MS1->MT renaming
	* config/mt/mt.md (doloop_end): Call mt_add_loop.
	(movqi, movhi): Call mt_set_memflags.
	(*movdf_internal): Call mt_split_words. 
	(reload_inqi, reload_outqi, reload_inhi, reload_outhi): Call
	mt_set_memflags.
	(cmpsi): Store to mt_compare_op[01].
	(beq, bne, bge, bgt, ble, blt, bgeu, bgtu, bleu, bltu, bunge,
	bungt, bunle, bunlt): Call mt_emit_cbranch.
	(prologue): Call mt_expand_prologue.
	(epilogu): Call mt_expend_epilogue.
	(eh_return): Call mt_expand_eh_return.
	(eh_epilogue): Call me_emit_eh_epilogue.
	(conditional_trap): Store to mt_compare_op[01].
	* config/mt/crti.asm: Adjust comment.
	* config/mt/crtn.asm: Adjust comment.
	* config/mt/mt.c (MT_INT_ARG_FIRST): Renamed.
	(mt_compare_op0, mt_compare_op1): Renamed.
	(current_frame_info, zero_frame_info): Adjust type.
	(mt_ucmpsi3_libcall): Renamed.
	(mt_flag_delayed_branch): Renamed.
	(mt_struct_value_rtx, mt_return_addr_rtx): Renamed.
	(mt_nops_required, mt_nop_reasons): Renamed.
	(mt_asm_output_opcode, mt_get_attr_type, mt_final_prescan_insn,
	mt_debug_stack, mt_print_operand_simple_address,
	mt_print_operand_address, mt_print_operand): Renamed, adjusted.
	(mt_init_cumulative_args, mt_function_arg_slotno, mt_function_arg,
	mt_function_arg_advance, mt_arg_partial_bytes,
	mt_pass_by_reference, mt_function_arg_boundary,
	mt_reg_ok_for_base_p, mt_legitimate_simple_address_p,
	mt_legitimate_address_p): Renamed, adjusted.
	(mt_cpu): Renamed.
	(mt_init_machine_status, mt_override_options, mt_builtin_saveregs,
	mt_va_start, mt_compute_frame_size, mt_emit_save_restore,
	mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p, 
	mt_expand_prologue, mt_epilogue_uses, mt_expand_epilogue,
	mt_expand_eh_return, mt_emit_eh_prologue,
	mt_handl_interrupt_attribute): Renamed, adjusted.
	(mt_attribute_table): Renamed, adjusted.
	(mt_initial_elimination_offset, mt_generate_compare,
	mt_emit_cbranch, mt_set_memflags_1, mt_set_memflags,
	mt_secondary_reload_class, mt_function_value, mt_split_words,
	mt_pass_in_stack, mt_add_loop, mt_loop_nesting, mt_block_length,
	mt_scan_loop, mt_reorg_loops): Renamed, adjusted.
	(mt_labels): Renamed.
	(mt_add_branches, mt_check_delay_slot, mt_reorg_hazard,
	mt_machine_reorg): Renamed, adjusted.
	(mt_attribute_table: Renamed.
	(TARGET_ATTRIBUTE_TABLE, TARGET_STRUCT_VALUE_RTX,
	TARGET_PASS_BY_REFERENCE, TARGET_MUST_PASS_IN_STACK,
	TARGET_ARG_PARTIAL_BYTES, TARGET_MACHINE_DEPENDENT_REORG): Adjust.
	* config/mt/mt.opt (march): Set mt_cpu_string.
	* config/mt/mt.h (mt_ucmpsi3_libcall, mt_cpu): Renamed.
	(TARGET_CPU_CPP_BUILTINS): Adjust.
	(TARGET_MS1_64_001, TARGET_MS1_16_002, TARGET_MS1_16_003,
	TARGET_MS2): Adjust.
	(TARGET_VERSION, OVERRIDE_OPTIONS, SECONDARY_RELOAD_CLASS): Adjust.
	(MT_MIN_INT): Renamed.
	(RETURN_ADDR_RTX): Adjust.
	(struct mt_frame_info): Renamed.
	(current_frame_info): Adjust type.
	(INITIAL_ELIMINATION_OFFSET): Adjust.
	(MT_NUM_ARG_REGS): Renamed.
	(REG_PARM_STACK_SPACE, FUNCTION_ARG, INIT_CUMULATVE_ARGS,
	FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY, FUNCTION_VALUE,
	LIBCALL_VALUE, EPILOGUE_USES, EXPAND_BUILTIN_VA_START,
	GO_IF_LEGITIMATE_ADDRESS, REG_OK_FOR_BASE_P, ASM_OUTPUT_OPCODE,
	FINAL_REPSCAN_INSN, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Adjust.
	(mt_compare_op0, mt_compare_op1): Renamed.
	* config/mt/mt-protos.h: Rename prototypes.

From-SVN: r108569
2005-12-15 11:23:19 +00:00
Richard Guenther
6bec927194 tree-flow.h (okay_component_ref_for_subvars): Remove.
2005-12-15  Richard Guenther  <rguenther@suse.de>

	* tree-flow.h (okay_component_ref_for_subvars): Remove.
	(get_ref_base_and_extent): Declare.
	* tree-dfa.c (okay_component_ref_for_subvars): Remove.
	(get_ref_base_and_extent): New function.
	* tree-ssa-alias.c (find_used_portions): Use it.
	* tree-ssa-structalias.c (get_constraint_for_component_ref):
	Likewise.
	* tree-ssa-operands.c (get_expr_operands): Likewise.

From-SVN: r108568
2005-12-15 10:34:44 +00:00
Paolo Carlini
cd6dba21ac re PR libstdc++/25421 (catching exception from codecvt_byname() segfaults)
2005-12-15  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/25421
	* config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
	for null argument.
	* testsuite/22_locale/facet/25421.cc: New.

From-SVN: r108565
2005-12-15 10:11:03 +00:00
Paolo Bonzini
b1257407e9 combine.c: Remove force_to_mode's fourth parameter.
2005-12-15  Paolo Bonzini  <bonzini@gnu.org>

        * combine.c: Remove force_to_mode's fourth parameter.
        (force_to_mode): Do not handle REG.
        (canon_reg_for_combine): New.
        (make_field_assignment): Use it where the removed argument was non-NULL.

From-SVN: r108564
2005-12-15 08:51:16 +00:00
Alan Modra
d561bdfde8 libjava.exp: Revert 2005-12-01.
* testsuite/lib/libjava.exp: Revert 2005-12-01.
	* testsuite/libjava.lang/Array_3.xfail: Delete.

From-SVN: r108563
2005-12-15 18:07:32 +10:30
Alan Modra
fa5b097201 re PR target/25406 (gcc.dg/20030625-1.c, gcc.dg/20050620-1.c, gcc.dg/940510-1.c, gcc.dg/c99-flex-array-1.c, gcc.dg/pr14475.c, and gcc.dg/noncompile/incomplete-1.c fail on powerpc-darwin)
PR target/25406
	* config/rs6000/rs6000.c (rs6000_special_round_type_align): Handle
	error_mark_node.  Make alignment params unsigned.
	* config/rs6000/rs6000-protos.h
	(rs6000_special_round_type_align): Update prototype.
	(rs6000_machopic_legitimize_pic_address): Remove arg names.

From-SVN: r108562
2005-12-15 17:52:10 +10:30
Kaveh R. Ghazi
018c145d97 repo1.C: Call cleanup-repo-files.
* g++.dg/rtti/repo1.C: Call cleanup-repo-files.
	* gcc.dg/20050330-2.c: Call cleanup-coverage-files.

From-SVN: r108558
2005-12-15 01:50:15 +00:00
Erik Edelmann
e46aceffcf re PR fortran/18197 (bus error on returning from a function)
fortran/
2005-12-14  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/18197
        * resolve.c (resolve_formal_arglist): Remove code to set
        the type of a function symbol from it's result symbol.


testsuite/
2005-12-14  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/18197
        * gfortran.dg/dummy_functions_1.f90: New.

From-SVN: r108555
2005-12-15 00:47:13 +00:00
GCC Administrator
a9573616d4 Daily bump.
From-SVN: r108552
2005-12-15 00:18:45 +00:00
Ulrich Weigand
7efd40b52a re PR rtl-optimization/25310 (ICE in reload_cse_simplify_operands, at postreload.c:393)
PR rtl-optimization/25310
	* reload1.c (eliminate_regs_in_insn): Handle lowpart SUBREGs
	of the eliminable register when substituting into a PLUS.

	PR rtl-optimization/25310
	* gcc.c-torture/compile/pr25310.c: New test.

From-SVN: r108543
2005-12-14 23:34:51 +00:00
Andrew Pinski
6f93378c69 Make-lang.in (objcp/objcp-decl.o): Add depends on $(EXPR_H).
2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * Make-lang.in (objcp/objcp-decl.o): Add depends on $(EXPR_H).

From-SVN: r108538
2005-12-14 12:32:43 -08:00
Jakub Jelinek
69642eaeaf re PR debug/25023 (ICE in def_cfa_1, at dwarf2out.c:792)
PR debug/25023
	* config/i386/i386.c (ix86_force_to_memory): Always use
	SImode push for HImode in -m32.
	(ix86_free_from_memory): Likewise.

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

From-SVN: r108537
2005-12-14 21:30:46 +01:00
Andrew Haley
4f9a6d459f CompilerProcess.java: Use a new thread to handle stdout from the child process.
2005-12-14  Andrew Haley  <aph@redhat.com>

        * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
        handle stdout from the child process.

From-SVN: r108536
2005-12-14 20:26:30 +00:00
Tom Tromey
3ce4312613 re PR classpath/25389 (File(new URI("file:./")) -> java.lang.NullPointerException)
PR classpath/25389:
	* java/io/File.java (File): Throw IllegalArgumentException if URI is
	non-hierarchical.

From-SVN: r108528
2005-12-14 18:36:55 +00:00
Kaveh R. Ghazi
3165dcfa17 redecl1.C, [...]: Remove xfail.
* g++.old-deja/g++.brendan/redecl1.C,
	g++.old-deja/g++.eh/inline1.C, g++.old-deja/g++.ns/crash2.C,
	g++.old-deja/g++.ns/template7.C, g++.old-deja/g++.oliva/ns3.C,
	g++.old-deja/g++.oliva/typeof1.C,
	g++.old-deja/g++.other/crash16.C,
	g++.old-deja/g++.other/crash34.C,
	g++.old-deja/g++.other/lookup5.C, g++.old-deja/g++.pt/crash65.C,
	g++.old-deja/g++.pt/decl2.C, g++.old-deja/g++.pt/explicit76.C,
	g++.old-deja/g++.pt/memtemp85.C, g++.old-deja/g++.pt/memtemp86.C,
	g++.old-deja/g++.pt/memtemp87.C, g++.old-deja/g++.pt/memtemp88.C,
	g++.old-deja/g++.pt/memtemp91.C, g++.old-deja/g++.pt/spec14.C,
	g++.old-deja/g++.pt/static10.C, treelang/compile/exit.tree:
	Remove xfail.

From-SVN: r108526
2005-12-14 18:19:39 +00:00