Commit Graph

126720 Commits

Author SHA1 Message Date
Oleg Endo ac9733752c re PR target/53976 ([SH] Unnecessary clrt/sett after bt/bf)
PR target/53976
	* config/sh/sh_optimize_sett_clrt.cc: New SH specific RTL pass.
	* config/sh/sh.c (register_sh_passes): Add sh_optimize_sett_clrt pass.
	* config/sh/sh/t-sh (sh_optimize_sett_clrt pass.o): New entry.
	* config.gcc (sh[123456789lbe]*-*-* | sh-*-*): Add
	sh_optimize_sett_clrt pass.o to	extra_objs.

	PR target/53976
	* gcc.target/sh/pr53976-1.c: New.

From-SVN: r205191
2013-11-21 08:19:38 +00:00
David Malcolm 6626665fff Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros
gcc/
2013-11-20  David Malcolm  <dmalcolm@redhat.com>

	* cfg.c (dump_edge_info): Remove redundant comment.
	* cfgcleanup.c (outgoing_edges_match): Reword reference to
	EXIT_BLOCK_PTR in comment.
	(try_optimize_cfg): Likewise.
	* cfgrtl.c (last_bb_in_partition): Likewise.
	* cgraph.c (cgraph_node_cannot_return): Likewise.
	* function.c (thread_prologue_and_epilogue_insns): Likewise.
	* graphite-scop-detection.c (scopdet_basic_block_info): Likewise.
	* ipa-split.c (consider_split): Likewise.
	* profile.c (find_spanning_tree): Likewise.
	* sched-int.h (common_sched_info_def.add_block): Likewise.
	* dominance.c (calc_dfs_tree_nonrec): Reword references in
	comments to now removed ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros.
	* tree-cfgcleanup.c (cleanup_control_flow_bb): Reword references
	in comments to now removed ENTRY_BLOCK_PTR macro.
	(tree_forwarder_block_p): Reword reference in comment to
	EXIT_BLOCK_PTR.
	* tree-inline.c (copy_cfg_body): Reword references in comments to
	now removed ENTRY_BLOCK_PTR macro.
	* tree-ssa-propagate.c (ssa_prop_init): Likewise.
	* tree-scalar-evolution.h ( block_before_loop): Likewise.  Add
	a comma to the comment to clarify the meaning.

From-SVN: r205182
2013-11-21 01:28:11 +00:00
Mike Stump 21092e8a28 Fixup whitespace.
From-SVN: r205175
2013-11-21 00:34:13 +00:00
GCC Administrator 2f64444947 Daily bump.
From-SVN: r205172
2013-11-21 00:17:03 +00:00
Andrew MacLeod 45852dcc91 gimplify.h (gimplify_hasher : typed_free_remove, [...]): Move to gimplify.c.
* gimplify.h (gimplify_hasher : typed_free_remove, struct gimplify_ctx):
	Move to gimplify.c.
	(free_gimplify_stack): Add prototype.
	* gimplify.c (gimplify_hasher:typed_free_remove): Relocate here.
	(struct gimplify_ctx): Relocate here.
	(gimplify_ctxp): Make static.
	(ctx_pool, ctx_alloc, ctx_free, free_gimplify_stack): New.  Manage a 
	list of struct gimplify_ctx.
	(push_gimplify_context): Add default parameters and allocate a struct
	from the pool.
	(pop_gimplify_context): Free a struct back to the pool.
	(gimplify_scan_omp_clauses, gimplify_omp_parallel, gimplify_omp_task,
	gimplify_omp_workshare, gimplify_transaction, gimplify_body): Don't
	use a local 'struct gimplify_ctx'.
	* cgraphunit.c (expand_all_functions): call free_gimplify_stack.
	* gimplify-me.c (force_gimple_operand_1, gimple_regimplify_operands):
	Likewise.
	* omp-low.c (lower_omp_sections, lower_omp_single, lower_omp_master,
	lower_omp_ordered, lower_omp_critical, lower_omp_for,
	create_task_copyfn, lower_omp_taskreg, lower_omp_target,
	lower_omp_teams, execute_lower_omp): Likewise.
	* gimple-fold.c (gimplify_and_update_call_from_tree): Likewise.
	* tree-inline.c (optimize_inline_calls): Likewise.

From-SVN: r205168
2013-11-21 00:06:23 +00:00
Francois-Xavier Coudert 41fd665971 re PR libfortran/49024 (REAL*16 ERFC_SCALED inaccuracy)
PR libfortran/49024

	* intrinsics/erfc_scaled.c (erfc_scaled_r16): New function.
	* intrinsics/erfc_scaled_inc.c: Do not provide quadruple
	precision variant.

	* gfortran.dg/erf_3.F90: New file.

From-SVN: r205151
2013-11-20 22:18:55 +00:00
Bill Schmidt 27b097f8d7 vsx.md (vsx_set_<mode>): Adjust for little endian.
gcc:

2013-11-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/vsx.md (vsx_set_<mode>): Adjust for little endian.
	(vsx_extract_<mode>): Likewise.
	(*vsx_extract_<mode>_one_le): New LE variant on
	*vsx_extract_<mode>_zero.
	(vsx_extract_v4sf): Adjust for little endian.


gcc/testsuite:

2013-11-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.target/powerpc/pr48258-1.c: Skip for little endian.

From-SVN: r205146
2013-11-20 21:46:18 +00:00
Jonathan Wakely f2f08be7ea re PR libstdc++/49204 ([C++0x] remaining issues in <future>)
PR libstdc++/49204
	* include/std/future (__future_base::_State_base): Rename to
	__future_base::_State_baseV2.
	(__future_base::_State_baseV2::~_State_baseV2): Define as defaulted.
	(__future_base::_State_baseV2::_M_run_deferred): Rename to
	_M_complete_async.
	(__future_base::_State_baseV2::_M_has_deferred): Add new virtual.
	(__future_base::_State_baseV2::wait_for): Call _M_has_deferred() to
	test for a deferred function, or call _M_complete_async() to join an
	async thread that has made the shared state ready.
	(__future_base::_State_baseV2::wait_until): Likewise.
	(__future_base::_Async_state_common): Rename to _Async_state_commonV2.
	(__future_base::_Async_state_commonV2::_M_run_deferred): Rename to
	_M_complete_async.
	* src/c++11/compatibility-thread-c++0x.cc (__future_base::_State_base):
	Export old definition.
	(__future_base::_Async_state_common): Likewise.
	* src/c++11/future.cc (__future_base::_State_base::~_State_base):
	Remove.
	* doc/xml/manual/status_cxx2011.xml: Update status.
	* testsuite/30_threads/async/async.cc: Test future_status::timeout
	and future_status::ready.
	* testsuite/30_threads/async/sync.cc: Test future_status::deferred.

From-SVN: r205144
2013-11-20 20:59:19 +00:00
Vladimir Makarov a2d0d374f6 re PR rtl-optimization/59133 (ICE after r204219 on SPEC2006 435.gromacs.)
2013-11-20  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/59133
	* lra.c (expand_reg_data): Add new argument.  Set up ALL_REGS for
	new pseudos.
	(lra_create_new_reg_with_unique_value): Pass new argument value.
	(lra_emit_add, lra_emit_move): Ditto.
	* lra-constraints.c (in_class_p): Add check for move for a new
	insn.
	(change_class): Rename to lra_change_class.  Move to lra-int.h.
	(get_reload_reg, narrow_reload_pseudo_class): Adjust calls of
	change_class.
	(process_addr_reg, process_addr): Ditto.
	(curr_insn_transform): Ditto.  Add check on old pseudo for
	optional reload.
	* lra-int.h (lra_get_regno_hard_regno): Move below.
	(lra_change_class): Renamed change_class from lra.c.

2013-11-20  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/59133
	* gcc.target/i386/pr59133.c: New.

From-SVN: r205141
2013-11-20 20:32:57 +00:00
David Malcolm 1fef36449e gdbhooks.py: fix prettyprinting of NULL vec<>*
* gdbhooks.py (VecPrinter.children): Don't attempt to iterate
	the children of a NULL pointer.

From-SVN: r205139
2013-11-20 20:00:33 +00:00
Mike Stump f9d3a450cc Normalize whitespace.
From-SVN: r205138
2013-11-20 18:42:08 +00:00
Robert Suchanek 0ddd0408ef lra.c (lra): Set lra_in_progress before check_rtl call.
* lra.c (lra): Set lra_in_progress before check_rtl call.
    	* recog.c (insn_invalid_p): Add !lra_in_progress to prevent
    	adding clobber regs when LRA is running

From-SVN: r205136
2013-11-20 11:17:49 -07:00
Mike Stump 696d76a50d Fixup whitespace.
From-SVN: r205134
2013-11-20 18:04:41 +00:00
Mike Stump c907d06597 Fixup whitespace.
From-SVN: r205133
2013-11-20 18:01:12 +00:00
Maciej W. Rozycki 7cfe3cc182 mips.h (ISA_HAS_FP4): Remove TARGET_FLOAT64 restriction for ISA_MIPS32R2.
* config/mips/mips.h (ISA_HAS_FP4): Remove TARGET_FLOAT64
	restriction for ISA_MIPS32R2.
	(ISA_HAS_LXC1_SXC1): New macro.
	(ISA_HAS_FP_MADD4_MSUB4): Remove ISA_MIPS32R2 special-casing.
	(ISA_HAS_NMADD4_NMSUB4): Likewise.
	(ISA_HAS_FP_RECIP_RSQRT): Likewise.
	(ISA_HAS_PREFETCHX): Redefine in terms of ISA_HAS_FP4.
	* config/mips/mips.md (*<ANYF:loadx>_<P:mode>): Use
	ISA_HAS_LXC1_SXC1 rather than ISA_HAS_FP4.
	(*<ANYF:storex>_<P:mode>): Likewise.

From-SVN: r205130
2013-11-20 17:18:12 +00:00
Maciej W. Rozycki 287c5d3812 mips.h (ISA_HAS_FP_RECIP_RSQRT): New macro.
* config/mips/mips.h (ISA_HAS_FP_RECIP_RSQRT): New macro.
	* config/mips/mips.c (mips_rtx_costs) <DIV>: Check for
	ISA_HAS_FP_RECIP_RSQRT rather than ISA_HAS_FP4.
	* config/mips/mips.md (recip_condition): Remove mode attribute.
	(div<mode>3): Use ISA_HAS_FP_RECIP_RSQRT rather than
	<recip_condition>.
	(*recip<mode>3, *rsqrt<mode>a, *rsqrt<mode>b): Likewise.

From-SVN: r205129
2013-11-20 17:16:48 +00:00
Eric Botcazou a9a130f5b7 re PR target/59207 (uninitialized local variable in sparc_fold_builtin)
PR target/59207
	* config/sparc/sparc.c (sparc_fold_builtin) <case CODE_FOR_pdist_vis>:
	Make sure neg2_ovf is set before being used.

From-SVN: r205127
2013-11-20 17:02:36 +00:00
Basile Starynkevitch c34144fa60 plugin.def: Add comment about register_callback and invoke_plugin_callbacks_full.
2013-11-20  Basile Starynkevitch  <basile@starynkevitch.net>

        * plugin.def: Add comment about register_callback and
        invoke_plugin_callbacks_full.

        * plugin.c (register_callback, invoke_plugin_callbacks_full):
        Handle PLUGIN_INCLUDE_FILE event.

From-SVN: r205125
2013-11-20 16:42:04 +00:00
Ulrich Weigand 9abaec9c1c rs6000.c (rs6000_cannot_change_mode_class): Do not allow subregs of TDmode in FPRs of smaller size in little-endian.
* config/rs6000/rs6000.c (rs6000_cannot_change_mode_class): Do not
	allow subregs of TDmode in FPRs of smaller size in little-endian.
	(rs6000_split_multireg_move): When splitting an access to TDmode
	in FPRs, do not use simplify_gen_subreg.

From-SVN: r205123
2013-11-20 16:22:57 +00:00
Joseph Myers 547101fb67 re PR middle-end/21718 (real.c rounding not perfect)
PR middle-end/21718
	* real.c: Remove comment about decimal string conversion and
	rounding errors.
	(real_from_string): Use MPFR to convert nonzero decimal constant
	to REAL_VALUE_TYPE.

testsuite:
	* gcc.dg/float-exact-1.c: New test.

From-SVN: r205119
2013-11-20 14:34:49 +00:00
Eric Botcazou 74e25e34f8 arm.c (arm_dwarf_register_span): Take into account the endianness of the D registers for the legacy encodings.
* config/arm/arm.c (arm_dwarf_register_span): Take into account the
	endianness of the D registers for the legacy encodings.

From-SVN: r205118
2013-11-20 13:58:12 +00:00
Richard Earnshaw c34fb19832 re PR rtl-optimization/54300 (regcprop incorrectly looks through parallel register swap operation)
PR rtl-optimization/54300

gcc/

	PR rtl-optimization/54300
	* regcprop.c (copyprop_hardreg_forward_1): Ensure any unused
	outputs in a single-set are killed from the value chains.

gcc/testsuite:

	PR rtl-optimization/54300
	* gcc.target/arm/pr54300.C: New test.

From-SVN: r205117
2013-11-20 13:55:04 +00:00
Ilya Enkovich eb1d81598d cgraph.h (varpool_node): Add need_bounds_init field.
* cgraph.h (varpool_node): Add need_bounds_init field.
        * lto-cgraph.c (lto_output_varpool_node): Output
        need_bounds_init value.
        (input_varpool_node): Read need_bounds_init value.
        * varpool.c (dump_varpool_node): Dump need_bounds_init field.

From-SVN: r205116
2013-11-20 13:50:44 +00:00
Diego Novillo a888f9ad6f re PR middle-end/59212 (FAIL: g++.dg/plugin/selfassign.c compilation)
PR 59212
	* g++.dg/plugin/selfassign.c: Include stringpool.h

From-SVN: r205115
2013-11-20 08:48:40 -05:00
Jonathan Wakely f8c370af2c re PR c++/59173 (Alias template in partial specialization finds name from primary template)
PR c++/59173
	* include/ext/pointer.h (pointer_traits<>::rebind<>): Add template
	keyword in nested name.

From-SVN: r205114
2013-11-20 13:39:33 +00:00
Jan Hubicka 063d671d59 opts.c (finish_options): Imply -ffat-lto-objects with -fno-use-linker-plugin.
* opts.c (finish_options): Imply -ffat-lto-objects with -fno-use-linker-plugin.
	* common.opt (fuse-linker-plugin): Add var.

From-SVN: r205110
2013-11-20 13:11:08 +00:00
Ilya Enkovich 0c509e888c dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE.
* dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE.
        * dwarf2out.c (gen_subprogram_die): Ignore bound args.
        (gen_type_die_with_usage): Skip pointer bounds.
        (dwarf2out_global_decl): Likewise.

From-SVN: r205109
2013-11-20 12:28:29 +00:00
Richard Sandiford 0e4fa4ae25 Remove unintentional blank link from prevous commit.
From-SVN: r205108
2013-11-20 12:17:31 +00:00
Ulrich Weigand cf598484ae * gcc.target/powerpc/darwin-longlong.c (msw): Make endian-safe.
From-SVN: r205106
2013-11-20 12:14:14 +00:00
James Greenhalgh 99e6af154c [AArch64] Remove "mode", "mode2" attributes
gcc/
	* config/aarch64/aarch64.md: Remove "mode" and "mode2" attributes
	from all insns.

From-SVN: r205105
2013-11-20 12:12:02 +00:00
Yuri Rumyantsev 324cf3e44f re PR target/57756 (Function target attribute is retaining state of previously seen function)
PR target/57756
* config/i386/i386.c (ix86_option_override_internal): Add missed
argument prefix for 'ix86_fpmath'.
* config/i386/ssemath.h: Add missed definition of
TARGET_FPMATH_DEFAULT_P macros.

From-SVN: r205104
2013-11-20 11:59:05 +00:00
Kenneth Zadeck eb1ce45339 cuintp.c (UI_From_gnu): Use tree_to_shwi.
gcc/ada/
2013-11-19  Kenneth Zadeck  <zadeck@naturalbridge.com>
	    Mike Stump  <mikestump@comcast.net>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* gcc-interface/cuintp.c (UI_From_gnu): Use tree_to_shwi.
	* gcc-interface/decl.c (gnat_to_gnu_entity): Use tree_to_uhwi.
	* gcc-interface/utils.c (make_packable_type): Likewise.

gcc/c-family/
2013-11-19  Kenneth Zadeck  <zadeck@naturalbridge.com>
	    Mike Stump  <mikestump@comcast.net>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* c-ada-spec.c (is_simple_enum): Use tree_to_shwi and tree_to_uhwi
	instead of TREE_INT_CST_LOW, in cases where there is a protecting
	tree_fits_shwi_p or tree_fits_uhwi_p.
	(dump_generic_ada_node): Likewise.
	* c-format.c (check_format_arg): Likewise.
	* c-pretty-print.c (pp_c_integer_constant): Likewise.

gcc/
2013-11-19  Kenneth Zadeck  <zadeck@naturalbridge.com>
	    Mike Stump  <mikestump@comcast.net>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* alias.c (ao_ref_from_mem): Use tree_to_shwi and tree_to_uhwi
	instead of TREE_INT_CST_LOW, in cases where there is a protecting
	tree_fits_shwi_p or tree_fits_uhwi_p.
	* builtins.c (fold_builtin_powi): Likewise.
	* config/epiphany/epiphany.c (epiphany_special_round_type_align):
	Likewise.
	* dbxout.c (dbxout_symbol): Likewise.
	* expr.c (expand_expr_real_1): Likewise.
	* fold-const.c (fold_single_bit_test, fold_plusminus_mult_expr)
	(fold_binary_loc): Likewise.
	* gimple-fold.c (fold_const_aggregate_ref_1): Likewise.
	* gimple-ssa-strength-reduction.c (stmt_cost): Likewise.
	* omp-low.c (lower_omp_for_lastprivate): Likewise.
	* simplify-rtx.c (delegitimize_mem_from_attrs): Likewise.
	* stor-layout.c (compute_record_mode): Likewise.
	* tree-cfg.c (verify_expr): Likewise.
	* tree-dfa.c (get_ref_base_and_extent): Likewise.
	* tree-pretty-print.c (dump_array_domain): Likewise.
	* tree-sra.c (build_user_friendly_ref_for_offset): Likewise.
	* tree-ssa-ccp.c (fold_builtin_alloca_with_align): Likewise.
	* tree-ssa-loop-ivopts.c (get_loop_invariant_expr_id): Likewise.
	* tree-ssa-math-opts.c (execute_cse_sincos): Likewise.
	* tree-ssa-phiopt.c (hoist_adjacent_loads): Likewise.
	* tree-ssa-reassoc.c (acceptable_pow_call): Likewise.
	* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
	(ao_ref_init_from_vn_reference, vn_reference_fold_indirect): Likewise.
	(vn_reference_lookup_3, simplify_binary_expression): Likewise.
	* tree-ssa-structalias.c (bitpos_of_field): Likewise.
	(get_constraint_for_1, push_fields_onto_fieldstack): Likewise.
	(create_variable_info_for_1): Likewise.
	* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Likewise.
	(vect_verify_datarefs_alignment): Likewise.
	(vect_analyze_data_ref_accesses): Likewise.
	(vect_prune_runtime_alias_test_list): Likewise.
	* tree-vectorizer.h (NITERS_KNOWN_P): Likewise.

Co-Authored-By: Mike Stump <mikestump@comcast.net>
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>

From-SVN: r205103
2013-11-20 11:57:27 +00:00
Richard Sandiford 4aaa33517f tree-ssa-alias.c (ao_ref_init_from_ptr_and_size): Avoid signed overflow.
gcc/
	* tree-ssa-alias.c (ao_ref_init_from_ptr_and_size): Avoid signed
	overflow.  Use tree_to_shwi.

From-SVN: r205102
2013-11-20 11:57:06 +00:00
Richard Sandiford 5193531872 fold-const.c (fold_binary_loc): Use unsigned rather than signed HOST_WIDE_INTs when folding (x >> c) << c.
gcc/
	* fold-const.c (fold_binary_loc): Use unsigned rather than signed
	HOST_WIDE_INTs when folding (x >> c) << c.

From-SVN: r205101
2013-11-20 11:56:44 +00:00
Kenneth Zadeck 6b3b8c2754 c-common.c (check_function_arguments_recurse): Use tree_to_uhwi.
gcc/c-family/
2013-11-19  Kenneth Zadeck  <zadeck@naturalbridge.com>

	* c-common.c (check_function_arguments_recurse): Use tree_to_uhwi.

From-SVN: r205100
2013-11-20 11:56:34 +00:00
Andreas Krebbel 2561451d55 [multiple changes]
2013-11-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
	    Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* config/s390/s390.c (s390_canonicalize_comparison): Don't fold
	int comparisons with an out of range condition code.
	(s390_optimize_nonescaping_tx): Skip empty BBs.
	Generate the new tbegin RTX when removing the FPR clobbers (with
	two SETs).
	(s390_expand_tbegin): Fix the retry loop counter.  Copy CC to the
	result before doing the retry calculations.
	(s390_init_builtins): Make tbegin "returns_twice" and tabort
	"noreturn".
	* config/s390/s390.md (UNSPECV_TBEGIN_TDB): New constant used for
	the TDB setting part of an tbegin.
	("tbegin_1", "tbegin_nofloat_1"): Add a set for the TDB.
	("tx_assist"): Set unused argument to an immediate zero instead of
	loading zero into a GPR and pass it as argument.
	* config/s390/htmxlintrin.h (__TM_simple_begin, __TM_begin):
	Remove inline and related attributes.
	(__TM_nesting_depth, __TM_is_user_abort, __TM_is_named_user_abort)
	(__TM_is_illegal, __TM_is_footprint_exceeded)
	(__TM_is_nested_too_deep, __TM_is_conflict): Fix format value
	check.

2013-11-20  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* gcc.target/s390/htm-1.c: Rename to ...
	* gcc/testsuite/gcc.target/s390/htm-builtins-compile-1.c: ... this
	one.
	* gcc.target/s390/htm-xl-intrin-1.c: Rename to ...
	* gcc.target/s390/htm-builtins-compile-3.c: ... this one.
	* gcc.target/s390/htm-builtins-compile-2.c: New testcase.
	* gcc.target/s390/htm-builtins-1.c: New testcase.
	* gcc.target/s390/htm-builtins-2.c: New testcase.
	* gcc.target/s390/s390.exp: Add check for htm machine.

From-SVN: r205099
2013-11-20 11:48:07 +00:00
Richard Biener 5d1a0108f1 re PR target/59035 (FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test)
2013-11-20  Richard Biener  <rguenther@suse.de>

	PR lto/59035
	* lto-opts.c (lto_write_options): Write defaults only if
	they were not explicitely specified.  Also write
	-ffp-contract default.
	* lto-wrapper.c (merge_and_complain): Merge -ffp-contract
	conservatively.
	(run_gcc): Pass through -ffp-contract.

From-SVN: r205096
2013-11-20 10:31:24 +00:00
Jan-Benedict Glaw d6e193b3e4 mips.c (r10k_simplify_address): Eliminate macro usage.
2013-11-20  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* config/mips/mips.c (r10k_simplify_address): Eliminate macro usage.

[BR]: http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02455.html

From-SVN: r205094
2013-11-20 10:03:53 +00:00
James Greenhalgh b5828b4bf6 [AArch64] AArch64 SIMD Builtins Better Type Correctness.
gcc/
	* gcc/config/aarch64/aarch64-builtins.c
	(aarch64_simd_itype): Remove.
	(aarch64_simd_builtin_datum): Remove itype, add
	qualifiers pointer.
	(VAR1): Use qualifiers.
	(aarch64_build_scalar_type): New.
	(aarch64_build_vector_type): Likewise.
	(aarch64_build_type): Likewise.
	(aarch64_init_simd_builtins): Refactor, remove special cases,
	consolidate main loop.
	(aarch64_simd_expand_args): Likewise.

From-SVN: r205092
2013-11-20 09:19:25 +00:00
Eric Botcazou cc6ebdca92 Remove gcc/ prefixes
From-SVN: r205091
2013-11-20 08:15:17 +00:00
Joshua J Cogliati 49b0aa187a re PR c/53001 (-Wfloat-conversion should be available to warn about floating point errors)
2013-11-19  Joshua J Cogliati  <jrincayc@yahoo.com>

	PR c/53001
	Splitting out a -Wfloat-conversion from -Wconversion for
	conversions that lower floating point number precision
	or conversion from floating point numbers to integers.

gcc/c-family/

	* c-common.c (unsafe_conversion_p): Make this function
	return an enumeration with more detail.
	(conversion_warning): Use the new return type of
	unsafe_conversion_p to separately warn either about conversions
	that lower floating point number precision or about the other
	kinds of conversions.
 	* c-common.h (enum conversion_safety): New enumeration.
 	(unsafe_conversion_p): switching return type to
 	conversion_safety enumeration.
	* c.opt: Adding new warning -Wfloat-conversion and
	enabling it with -Wconversion.

gcc/

	* doc/invoke.texi: Adding documentation about
	-Wfloat-conversion.

gcc/testsuite/

	* c-c++-common/Wfloat-conversion.c: Copies relevant
	tests from c-c++-common/Wconversion-real.c,
	gcc.dg/Wconversion-real-integer.c and gcc.dg/pr35635.c into
	new testcase for conversions that are warned about by
	-Wfloat-conversion.

From-SVN: r205090
2013-11-20 07:15:40 +00:00
Miro Kropacek 3b891d2673 * config/m68k/m68k.c (m68k_option_overrides): Fix typo.
From-SVN: r205089
2013-11-20 00:02:48 -07:00
Uros Bizjak ac4338792b * ChangeLog: Fix whitespace.
From-SVN: r205088
2013-11-20 07:59:27 +01:00
David Edelsohn eb7bdcb027 * testsuite/17_intro/static.cc: Ignore AIX TOC reload warnings.
From-SVN: r205087
2013-11-19 23:38:14 -05:00
David Malcolm 59e3393d4a gdbhooks.py: Implement a prettyprinter for vec<>*
gcc/
	* gdbhooks.py (VecPrinter): New class, for prettyprinting pointers
	to "vec<>" instances.
	(build_pretty_printer): Register the vec<>* prettyprinter.

From-SVN: r205086
2013-11-20 03:57:35 +00:00
David Malcolm 8f1edba1fb gdbhooks.py: Reorganize, to support regex matching and typedefs
* gdbhooks.py (GdbSubprinter.__init__): Drop str_type_ field.
	(GdbSubprinter.handles_type): New.
	(GdbSubprinterTypeList): New subclass of GdbSubprinter.
	(GdbSubprinterRegex): New subclass of GdbSubprinter.
	(GdbPrettyPrinters.add_printer): Remove in favor of...
	(GdbPrettyPrinters.add_printer_for_types): ...this new method
	and...
	(GdbPrettyPrinters.add_printer_for_regex): ...this other new method.
	(GdbPrettyPrinters.__call__): Update search for subprinter
	to use handles_type method.
	(build_pretty_printer): Update registration of subprinters to
	use the new API above, supporting multiple spelling of each type,
	and allowing for future regex-based subprinters.

From-SVN: r205085
2013-11-20 03:33:33 +00:00
Bill Schmidt 7900247f6e rs6000.c (altivec_expand_vec_perm_const): Adjust V16QI vector splat case for little endian.
2013-11-19  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Adjust
	V16QI vector splat case for little endian.

From-SVN: r205080
2013-11-20 03:03:51 +00:00
Jeff Law 5f51d00661 tree-ssa-threadedge.c (thread_across_edge): After threading through a joiner...
* tree-ssa-threadedge.c (thread_across_edge): After threading
	through a joiner, allow threading a normal block requiring
	duplication.

	* tree-ssa-threadupdate.c (thread_block_1): Improve code to detect
	jump threading requests that would muck up the loop structures.

From-SVN: r205074
2013-11-19 18:55:17 -07:00
Jeff Law 2ed4d7ee3c tree-ssa-threadupdate.c: Fix trailing whitespace.
* tree-ssa-threadupdate.c: Fix trailing whitespace.
	* tree-ssa-threadupdate.h: Likewise.

From-SVN: r205072
2013-11-19 18:41:36 -07:00
Mike Stump 605be31e3f * gdbinit.in: Add pmz to print out mpz values.
From-SVN: r205071
2013-11-20 00:50:47 +00:00