Commit Graph

102679 Commits

Author SHA1 Message Date
Jan Hubicka f27e50db1a tree-inline.c (tree_inlinable_function_p): Do not test DECL_REPLACEABLE_P.
* tree-inline.c (tree_inlinable_function_p): Do not test DECL_REPLACEABLE_P.
	* ipa-inline.c (cgraph_default_inline_p, update_caller_keys, update_callee_keys,
	cgraph_decide_inlining): Test function availability.
	* cif-code.def (OVERWRITABLE): New code.

From-SVN: r163972
2010-09-07 21:26:34 +00:00
H.J. Lu a0766cdbb9 Redefine STACK_BOUNDARY/PREFERRED_STACK_BOUNDARY for Darwin/x86.
gcc/

2010-09-07  H.J. Lu  <hjl.tools@gmail.com>
	    Jack Howarth <howarth@bromo.med.uc.edu>

	PR target/36502
	PR target/42313
	PR target/44651
	* gcc/config/i386/darwin.h (STACK_BOUNDARY): Redefine as 128 for
	profiling or 64-bit MS_ABI and as BITS_PER_WORD otherwise.
	(PREFERRED_STACK_BOUNDARY): Replace STACK_BOUNDARY with 128 in
	MAX macro.

gcc/testsuite/

2010-09-07  Jack Howarth <howarth@bromo.med.uc.edu>

	PR target/36502
	* gcc.target/i386/pr36502.c: New test.

	PR target/42313
	PR target/44651
	* gcc.target/i386/builtin-unreachable.c: Don't skip on darwin.
	* gcc/testsuite/gcc.dg/stack-usage-1.c: Use default on i386/Darwin.

From-SVN: r163971
2010-09-07 14:18:55 -07:00
H.J. Lu 4e75177267 Include <link.h> only if USE_PT_GNU_EH_FRAME is defined.
2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* unwind-dw2-fde-glibc.c: Include <elf.h> for DT_CONFIG.
	Include <link.h> only if USE_PT_GNU_EH_FRAME is defined.

From-SVN: r163970
2010-09-07 14:14:41 -07:00
H.J. Lu 274eec6c00 Don't append t-android for Android targets.
2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* config.gcc: Don't append t-android for Android targets.

	* config/t-android: Removed.

From-SVN: r163969
2010-09-07 14:13:48 -07:00
Richard Henderson a68b5e5247 Hookize exception personality output.
* target.def (TARGET_ASM_EMIT_EXCEPT_PERSONALITY): New hook.
	* doc/tm.texi.in: Add doc marker.
	* doc/tm.texi: Rebuild.
	* except.c (switch_to_exception_section): Always build.
	(output_one_function_exception_table): Move section switch,
	personality output, and label output ...
	(output_function_exception_table): ... here.  Use the new
	personality hook.

	* config/ia64/ia64.c (ia64_asm_emit_except_personality,
	ia64_asm_init_sections, TARGET_ASM_EMIT_EXCEPT_PERSONALITY,
	TARGET_ASM_INIT_SECTIONS): New.
	(ia64_asm_unwind_emit): Rename from process_for_unwind_directive,
	make static.
	(TARGET_ASM_UNWIND_EMIT): Update to match.
	* config/ia64/ia64-protos.h (process_for_unwind_directive): Remove.

	* config/arm/arm.c (arm_asm_emit_except_personality): New.
	(arm_asm_init_sections): New.
	(TARGET_ASM_EMIT_EXCEPT_PERSONALITY, TARGET_ASM_INIT_SECTIONS): New.

From-SVN: r163968
2010-09-07 13:50:17 -07:00
Ramana Radhakrishnan 9b3a7a2676 arm.md: Remove unused variable.
2010-09-07  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.md: Remove unused variable.

From-SVN: r163967
2010-09-07 20:38:19 +00:00
Anatoly Sokolov 7149f02cac m32r.h (REGISTER_MOVE_COST, [...]): Remove.
* config/m32r/m32r.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
	* config/m32r/m32r.c (TARGET_MEMORY_MOVE_COSTS): Define.
	(m32r_memory_move_cost): New function.

From-SVN: r163966
2010-09-08 00:03:14 +04:00
Tobias Burnus 21e9284929 re PR fortran/45583 (Typo in onlinedocs/gfortran/COS.html / intrinsics.texi)
2010-09-07  Tobias Burnus <burnus@net-b.de>

        PR fortran/45583
        * intrinsic.texi (COS): Remove superfluous "n".

From-SVN: r163965
2010-09-07 21:07:36 +02:00
Tobias Burnus 94471a5663 re PR fortran/45186 (Gfortran 4.5.0 emits wrong linenumbers)
2010-09-07  Tobias Burnus <burnus@net-b.de>

        PR fortran/45186
        * trans-array.c (gfc_conv_descriptor_data_get,
        gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr,
        gfc_conv_descriptor_offset, gfc_conv_descriptor_dtype,
        gfc_conv_descriptor_dimension, gfc_conv_descriptor_stride,
        gfc_conv_descriptor_lbound, gfc_conv_descriptor_ubound,
        gfc_conv_shift_descriptor_lbound,
        gfc_set_loop_bounds_from_array_spec,
        gfc_trans_allocate_array_storage, gfc_trans_create_temp_array,
        gfc_conv_array_transpose, gfc_get_iteration_count,
        gfc_grow_array, gfc_trans_array_ctor_element,
        gfc_trans_array_constructor_subarray,
        gfc_trans_array_constructor_value,
        constant_array_constructor_loop_size,
        gfc_trans_array_constructor,
        gfc_set_vector_loop_bounds, gfc_trans_array_bound_check,
        gfc_conv_array_index_offset, gfc_conv_scalarized_array_ref,
        gfc_conv_array_ref, gfc_trans_preloop_setup,
        gfc_trans_scalarized_loop_end, gfc_conv_ss_startstride,
        gfc_conv_loop_setup, gfc_conv_array_extent_dim,
        gfc_conv_descriptor_size, gfc_array_init_size,
        gfc_array_allocate, gfc_array_deallocate,
        gfc_trans_array_bounds, gfc_trans_auto_array_allocation,
        gfc_trans_dummy_array_bias, gfc_get_dataptr_offset,
        get_array_charlen, gfc_conv_expr_descriptor,
        array_parameter_size, gfc_conv_array_parameter,
        gfc_trans_dealloc_allocated, get_full_array_size,
        duplicate_allocatable,
        structure_alloc_comps): Change fold_build[0-9] to
        fold_build[0-9]_loc.
        (duplicate_allocatable, structure_alloc_comps,
        gfc_duplicate_allocatable): Add space after function name.

From-SVN: r163964
2010-09-07 21:03:41 +02:00
H.J. Lu c811b2a588 Use config/t-android for Android targets.
2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* config.gcc: Append t-android for Android targets.

	* config/t-android: New.

From-SVN: r163962
2010-09-07 10:48:51 -07:00
Richard Henderson 3bc6b3e6fc Define target hook TARGET_UNWIND_EMIT_BEFORE_INSN.
From-SVN: r163961
2010-09-07 10:25:11 -07:00
Martin Jambor aa2298043c re PR fortran/43665 (INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments)
2010-09-07  Martin Jambor  <mjambor@suse.cz>

	PR fortran/43665
	* ipa-cp.c (ipcp_versionable_function_p): Return false if there
	are any type attributes.

From-SVN: r163960
2010-09-07 19:00:44 +02:00
Arnaud Charlet 4cc2a7227a cp-tree.h (build_enumerator): Add new location_t parameter.
* cp-tree.h (build_enumerator): Add new location_t parameter.
	(build_lang_decl_loc): New function.
	* decl.c (build_enumerator): New parameter loc. Use it when calling
	build_decl. Replace build_lang_decl with build_lang_decl_loc.
	* pt.c (tsubst_enum): Adjust call to build_enumerator.
	* parser.c (cp_parser_enumerator_definition): Ditto.
	* lex.c (build_lang_decl_loc): New function.

From-SVN: r163959
2010-09-07 18:12:09 +02:00
Mikael Morin 86e033e21a re PR fortran/45564 (gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check)
2010-09-07  Mikael Morin  <mikael@gcc.gnu.org>

	* trans-stmt.c (gfc_trans_character_select): Be conversion-safe while
	checking string length value.
	* trans-intrinsic.c (gfc_conv_intrinsic_char): Build integer using
	gfc_charlen_type_node type.

	PR fortran/45564
	* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Convert string
	length to gfc_charlen_type_node.

2010-09-07  Mikael Morin  <mikael@gcc.gnu.org>

	* gfortran.dg/achar_4.f90: Enable bounds checking.

From-SVN: r163958
2010-09-07 16:04:55 +00:00
Jan Hubicka ee18735305 * lto.c (promote_var, promote_fn): Set DECL_VISIBILITY_SPECIFIED.
From-SVN: r163957
2010-09-07 15:51:52 +00:00
Jan Hubicka 9c4ce18d03 tree-ssa-ccp.c (fold_const_aggregate_ref): Fix handling of array_ref_low_bound in string access folding.
* tree-ssa-ccp.c (fold_const_aggregate_ref): Fix handling of array_ref_low_bound
	in string access folding.

From-SVN: r163956
2010-09-07 15:50:22 +00:00
Uros Bizjak d341a5d090 re PR target/45206 (ICE on __builtin_eh_return at -Os)
PR target/45206
	* config/i386/i386.c (ix86_expand_epilogue): Mark SP valid after
	eh_return fixup sequence.

testsuite/ChangeLog:

	PR target/45206
	* gcc.target/i386/pr45206.c: New test.

From-SVN: r163955
2010-09-07 17:38:59 +02:00
John David Anglin 9407158dbc inclhack.def (hpux_htonl): Allow trailing whitespace in select.
* inclhack.def (hpux_htonl): Allow trailing whitespace in select.
	* fixincl.x: Regenerate.

From-SVN: r163953
2010-09-07 14:47:21 +00:00
Paolo Carlini b7c3f5eb21 re PR libstdc++/45398 ([C++0x] Missing atomic<_Tp*>::store definition)
2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/45398
	* include/std/atomic (atomic<_TP*>::store): Define.

	* include/std/atomic (atomic<_TP*>::load, exchange): Define inline.

From-SVN: r163950
2010-09-07 14:05:23 +00:00
Hans-Peter Nilsson 293cf2174d re PR middle-end/45505 (gfortran.dg/pr25923.f90)
PR fortran/45505
	* gfortran.dg/pr25923.f90: XFAIL warning on wrong line for ilp32.

From-SVN: r163949
2010-09-07 13:23:24 +00:00
Jan Hubicka 8683f05192 gimple.c (maybe_fold_reference): Verify that operand is gimple_min_invariant.
* gimple.c (maybe_fold_reference): Verify that operand is
	gimple_min_invariant.
	* gcc.c-torture/compile/20100907.c: New testcase.

From-SVN: r163948
2010-09-07 13:16:31 +00:00
Richard Guenther f5e5b46c4b re PR middle-end/45569 (ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions)
2010-09-07  Richard Guenther  <rguenther@suse.de>

	PR middle-end/45569
	* tree-eh.c (operation_could_trap_helper_p): Neither COMPLEX_EXPR
	nor CONSTRUCTOR can trap.
	* tree-complex.c (update_complex_assignment): Update EH info.

	* g++.dg/eh/pr45569.C: New testcase.

From-SVN: r163947
2010-09-07 12:27:45 +00:00
Richard Guenther c9d6130e06 re PR middle-end/45569 (ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions)
2010-09-07  Richard Guenther  <rguenther@suse.de>

	PR middle-end/45569
	* tree-cfg.c (build_gimple_cfg): Remove redundant stmt verification.
	* passes.c (execute_function_todo): Do not verify anything if
	we saw errors.

From-SVN: r163946
2010-09-07 11:17:44 +00:00
Richard Guenther d7806defb4 tree-pretty-print.c (dump_generic_node): Dump void types as void.
2010-09-07  Richard Guenther  <rguenther@suse.de>

	* tree-pretty-print.c (dump_generic_node): Dump void types
	as void.

From-SVN: r163944
2010-09-07 09:57:56 +00:00
GCC Administrator f34504a357 Daily bump.
From-SVN: r163940
2010-09-07 00:17:11 +00:00
Nicola Pero 29b71c0200 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
From-SVN: r163936
2010-09-06 23:12:51 +00:00
Bernd Schmidt da0a441de5 re PR target/43137 (redundant register move for sign extending)
PR target/43137
	* config/arm/iterators.md (qhs_zextenddi_cond, qhs_sextenddi_cond):
	New define_mode_attrs.
	* config/arm/arm.md (zero_extendsidi2, arm_zero_extendsidi2,
	arm_exxtendsidi2, arm_extendsidi2): Delete patterns.
	(zero_extend<mode>di2, extend<mode>di2 and related splits): New.
	(thumb1_zero_extendhisi2): Remove code to handle LABEL_REFs.
	Remove pool_range attribute.
	(arm_zero_extendhisi2, arm_zero_extendhisi2_v6, arm_zero_extendqisi2,
	arm_zero_extendqisi2_v6, thumb1_zero_extendqisi2_v6): Remove
	pool_range and neg_pool_range attributes.
	* config/arm/thumb2.md (thumb2_zero_extendsidi2,
	thumb2_zero_extendhidi2, thumb2_zero_extendqidi2, thumb2_extendsidi2,
	thumb2_extendhidi2, thumb2_extendqidi2): Delete.

	PR target/43137
	* gcc.target/arm/pr43137.c: New test.

From-SVN: r163935
2010-09-06 22:32:26 +00:00
Thomas Koenig 5c599206d3 re PR fortran/36931 (unneeded temporary for array intrinsic binop scalar)
2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/36931
	* frontend-passes.c (optimize_binop_array_assignment):  New
	function.
	(optimize_assignment):  Call it.

2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/36931
	* gfortran.dg/dependency_35.f90:  New test.

From-SVN: r163934
2010-09-06 21:40:15 +00:00
H.J. Lu 4e18507b68 Properly check glibc.
2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/linux-unwind.h (x86_fallback_frame_state): Properly
	check glibc.

From-SVN: r163933
2010-09-06 14:13:56 -07:00
Thomas Koenig f884552b4f re PR fortran/34145 (single_char_string.f90 fails with -fdefault-integer-8)
2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/34145
	* trans-expr.c (gfc_conv_substring):  If start and end
	of the string reference are equal, set the length to one.

2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/34145
	* gfortran.dg/char_length_17.f90:  New test.

From-SVN: r163932
2010-09-06 19:43:58 +00:00
Tobias Burnus f973b64869 re PR fortran/45560 (debugging: Add EXPR pretty printer (gfc_debug_expr))
2010-09-06  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/45560
        * dump-parse-tree.c (gfc_debug_expr): Use stderr instead of stdout.

From-SVN: r163931
2010-09-06 20:51:48 +02:00
Dodji Seketeli e6c2fc5dac Patch PR c++/45200
Fix PR c++/45200, c++/45293, c++/45558

gcc/cp/Changelog:
	PR c++/45200
	PR c++/45293
	PR c++/45558
	* tree.c (strip_typedefs): Strip typedefs from the context of
	TYPENAME_TYPEs.

gcc/testsuite/ChangeLog:
	PR c++/45200
	PR c++/45293
	PR c++/45558
	* g++.dg/template/typedef34.C: New test.
	* g++.dg/template/typedef35.C: New test.

From-SVN: r163929
2010-09-06 20:44:23 +02:00
Tobias Burnus 3c7ac37eea re PR fortran/45560 (debugging: Add EXPR pretty printer (gfc_debug_expr))
2010-09-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45560
        * dump-parse-tree.c (gfc_debug_expr): New function.

From-SVN: r163928
2010-09-06 20:16:50 +02:00
Uros Bizjak a7529ed608 re PR target/22152 (Poor loop optimization when using mmx builtins)
PR target/22152
	* gcc.target/i386/pr22152.c (add3): Change "count" to unsigned int.

From-SVN: r163927
2010-09-06 19:54:46 +02:00
Uros Bizjak 61ec112322 re PR target/22152 (Poor loop optimization when using mmx builtins)
PR target/22152
	* config/i386/mmx.md (*mov<mode>_internal_rex64,
	*mov<mode>_internal_avx, *mov<mode>_internal,
	*movv2sf_internal_rex64_avx, *movv2sf_internal_rex64,
	*movv2sf_internal_avx, *movv2sf_internal): Split out !y-!y alternative.
[

From-SVN: r163926
2010-09-06 19:51:12 +02:00
Mark Mitchell c5ee1358b9 c-common.h (do_warn_double_promotion): Declare.
* c-common.h (do_warn_double_promotion): Declare.
	* c-common.c (do_warn_double_promotion): Define.

	* c-typeck.c (do_warn_double_promotion): Remove.
	* doc/invoke.texi (-Wdouble-promotion): Note available for C++ and
	Objective-C++ too.

	* typeck.c (cp_build_binary_op): Call do_warn_double_promotion.
	* call.c (build_conditional_expr): Likewise.
	(convert_arg_to_ellipsis): Likewise.

	* g++.dg/warn/Wdouble-promotion.C: New.

From-SVN: r163925
2010-09-06 17:48:53 +00:00
Anatoly Sokolov c28350ab29 frv.h (CLASS_LIKELY_SPILLED_P): Remove.
* config/frv/frv.h (CLASS_LIKELY_SPILLED_P): Remove.
	* config/frv/frv-protos.h (frv_class_likely_spilled_p): Remove.
	* config/frv/frv.c (frv_class_likely_spilled_p): Make static. Change
	argument type to reg_class_t. Change result type to bool.
	(TARGET_CLASS_LIKELY_SPILLED_P): Define.

From-SVN: r163924
2010-09-06 20:16:07 +04:00
Nicola Pero 708e07fbd3 re PR libobjc/19850 (libobjc leaks threads on posix)
PR libobjc/19850
       * gthr-posix.h (__gthread_objc_thread_detach): Use
       _objc_thread_attribs when detaching a thread.
       * gthr-posix95.h (__gthread_objc_thread_detach): Same change.

From-SVN: r163923
2010-09-06 15:57:44 +00:00
Arnaud Charlet 6fa0abcfd9 Replace assemble by compile.
From-SVN: r163922
2010-09-06 17:57:18 +02:00
H.J. Lu cc0ae0cacb Don't set enable_decimal_float to dpd if DFP is disabled.
config/

2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/45524
	* dfp.m4: Don't set enable_decimal_float to dpd if DFP is
	disabled.  Set default_decimal_float.

gcc/

2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/45524
	* configure.ac (enable_decimal_float): Set to
	$default_decimal_float.
	* configure: Regenerated.

libdecnumber/

2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/45524
	* configure.ac (enable_decimal_float): Set to
	$default_decimal_float.
	* configure: Regenerated.

libgcc/

2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/45524
	* configure: Regenerated.

From-SVN: r163921
2010-09-06 07:52:54 -07:00
Arnaud Charlet 6f295bbf76 redef2.C: New.
testsuite/
	* g++.dg/parse/redef2.C: New.
cp/
	* parser.c (make_pointer_declarator, make_reference_declarator,
	make_call_declarator, make_array_declarator): Set declarator->id_loc.
	(cp_parser_init_declarator): Adjust location of decl if appropriate.

From-SVN: r163920
2010-09-06 16:38:50 +02:00
Andreas Krebbel c18605ccec combine.c (try_combine): Set subst_low_luid to i0.
2010-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* combine.c (try_combine): Set subst_low_luid to i0.

2010-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.dg/20100906-1.c: New testcase.

From-SVN: r163917
2010-09-06 14:20:31 +00:00
Jason Merrill 6d105d8db8 abi.exp: Add "libstdc++-abi/" to abi_check FAIL message.
* testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to
	abi_check FAIL message.

From-SVN: r163916
2010-09-06 09:55:40 -04:00
Richard Guenther be1ac4ecae tree.def (MISALIGNED_INDIRECT_REF): Remove.
2010-09-06  Richard Guenther  <rguenther@suse.de>

	* tree.def (MISALIGNED_INDIRECT_REF): Remove.
	* tree.h (INDIRECT_REF_P): Only check for INDIRECT_REF.
	(build_aligned_type): Declare.
	* tree.c (check_qualified_type): Also compare TYPE_ALIGN.
	(check_aligned_type): New function.
	(build_aligned_type): Likewise.
	* expr.c (expand_assignment): Handle misaligned stores via
	TARGET_MEM_REF and MEM_REF using movmisalign_optab.
	(expand_expr_real_1): Likewise.
	(safe_from_p): Remove MISALIGNED_INDIRECT_REF handling.
	* tree-vect-stmts.c (vectorizable_store): Do not build
	MISALIGNED_INDIRECT_REF but initialize alignment information.
	(vectorizable_load): Likewise.
	* builtins.c (get_object_alignment): Remove MISALIGNED_INDIRECT_REF
	handling.
	* cfgexpand.c (expand_debug_expr): Likewise.
	* dwarf2out.c (loc_list_from_tree): Likewise.
	* fold-const.c (maybe_lvalue_p): Likewise.
	(operand_equal_p): Likewise.
	(build_fold_addr_expr_with_type_loc): Likewise.
	* gimplify.c (gimplify_addr_expr): Likewise.
	(gimplify_expr): Likewise.
	* tree-cfg.c (verify_types_in_gimple_min_lval): Likewise.
	(verify_gimple_assign_single): Likewise.
	* tree-dump.c (dequeue_and_dump): Likewise.
	(tree_could_trap_p): Likewise.
	* tree-predcom.c (ref_at_iteration): Likewise.
	* tree-pretty-print.c (dump_generic_node): Likewise.
	(op_code_prio): Likewise.
	(op_symbol_code): Likewise.
	* tree-ssa-ccp.c (get_value_from_alignment): Likewise.
	* tree-ssa-loop-im.c (for_each_index): Likewise.
	(gen_lsm_tmp_name): Likewise.
	* tree-ssa-loop-ivopts.c (idx_find_step): Likewise.
	(find_interesting_uses_address): Likewise.
	* tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise.
	* tree-ssa-operands.c (get_expr_operands): Likewise.
	* tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise.
	* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
	(ao_ref_init_from_vn_reference): Likewise.
	* tree.c (staticp): Likewise.
	(build1_stat): Likewise.
	(reference_alias_ptr_type): Likewise.
	* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
	* config/rs6000/rs6000.c (rs6000_check_sdmode): Remove
	MISALIGNED_INDIRECT_REF handling.

From-SVN: r163915
2010-09-06 13:26:13 +00:00
Richard Biener 863a75787c re PR middle-end/45534 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1031)
2010-09-06  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/45534
	* tree-ssa-address.c (create_mem_ref_raw): Add verify parameter.
	(create_mem_ref): Do verify the created TARGET_MEM_REF is valid
	on the target.
	(maybe_fold_tmr): Do not verify the created TARGET_MEM_REF is
	valid on the target.

From-SVN: r163913
2010-09-06 12:14:02 +00:00
Andreas Schwab 84f47d20bb dfp.m4: Quote argument of AC_MSG_WARN.
config/:
	* dfp.m4: Quote argument of AC_MSG_WARN.

gcc/:
	* configure.ac: Quote argument of AC_MSG_WARN.
	* configure: Regenerate.

libdecnumber/:
	* configure: Regenerate.

libgcc/:
	* configure: Regenerate.

From-SVN: r163909
2010-09-06 10:35:22 +00:00
Alexander Monakov e5cb031ff9 sel-sched.c (move_cond_jump): Correct arguments to maybe_tidy_empty_bb.
* sel-sched.c (move_cond_jump): Correct arguments to maybe_tidy_empty_bb.
        * sel-sched-ir.c (maybe_tidy_empty_bb): Export.

From-SVN: r163908
2010-09-06 14:31:26 +04:00
Jakub Jelinek 9813230a91 re PR testsuite/45543 (New test failures)
PR testsuite/45543
	* g++.dg/debug/dwarf2/typedef1.C: Expect just one
	DW_TAG_enumeration_type DIE.

From-SVN: r163907
2010-09-06 11:48:10 +02:00
Iain Sandoe 265a000dbb fix libobjc ppc64 abi for darwin.
libobjc:

	* encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
	Add a comment as to why, update FIXME comments.

testsuite:

	* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c:
	Update XFAILs.

From-SVN: r163906
2010-09-06 09:27:55 +00:00
Alexander Monakov 324d3f4525 re PR rtl-optimization/44919 (ICE on ia64 with -O3 at sel-sched.c:4672)
PR rtl-optimization/44919
	* sel-sched.c (move_cond_jump): Remove assert, check that
	the several blocks case can only happen with mutually exclusive
	insns instead.  Rewrite the movement code to support moving through
	several basic blocks. 

	* g++.dg/opt/pr44919.C: New.

From-SVN: r163904
2010-09-06 12:56:43 +04:00