Jonathan Wakely [Sat, 17 May 2014 12:58:46 +0000 (13:58 +0100)]
re PR libstdc++/60966 (std::call_once sometime hangs)
PR libstdc++/60966
* include/std/future (__future_base::_State_baseV2::_M_set_result):
Pass lock into _M_do_set and hold it until the function returns.
Signal condition variable after call_once completes.
(__future_base::_State_baseV2::_M_do_set): Use lock argument. Do not
signal here.
* testsuite/30_threads/promise/60966.cc: New.
From-SVN: r210556
Uros Bizjak [Sat, 17 May 2014 12:58:34 +0000 (14:58 +0200)]
extend.texi (Size of an asm): Move node text according to its @menu entry position.
* doc/extend.texi (Size of an asm): Move node text according
to its @menu entry position.
From-SVN: r210555
Marc Glisse [Sat, 17 May 2014 12:37:58 +0000 (14:37 +0200)]
re PR tree-optimization/61140 (wrong code at -O1 and above on x86_64-linux-gnu)
2014-05-17 Marc Glisse <marc.glisse@inria.fr>
PR tree-optimization/61140
PR tree-optimization/61150
PR tree-optimization/61197
gcc/
* tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
gcc/testsuite/
* gcc.dg/tree-ssa/pr61140.c: New file.
* gcc.dg/tree-ssa/pr61150.c: New file.
* gcc.dg/tree-ssa/pr61197.c: New file.
From-SVN: r210554
Uros Bizjak [Sat, 17 May 2014 11:28:39 +0000 (13:28 +0200)]
invoke.texi (free): Mention Alpha.
* doc/invoke.texi (free): Mention Alpha. Also enabled at -Os.
From-SVN: r210552
Uros Bizjak [Sat, 17 May 2014 11:03:31 +0000 (13:03 +0200)]
pr60969.C: Compile for all ilp32 x86 targets.
* g++.dg/pr60969.C: Compile for all ilp32 x86 targets.
(dg-options): Add -mfpmath=387.
(dg-final): Check that no MMX registers are used.
From-SVN: r210550
Uros Bizjak [Sat, 17 May 2014 10:33:43 +0000 (12:33 +0200)]
ChangeLog: Fix.
* ChangeLog: Fix.
* testsuite/ChangeLog: Ditto.
From-SVN: r210548
Richard Sandiford [Sat, 17 May 2014 08:30:14 +0000 (08:30 +0000)]
wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or __SIZEOF_INT128__ is defined.
gcc/
* wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
__SIZEOF_INT128__ is defined.
From-SVN: r210546
Andreas Schwab [Sat, 17 May 2014 07:48:07 +0000 (07:48 +0000)]
* gcc.target/ia64/visibility-1.c (variable_i): Add used attribute.
From-SVN: r210545
Richard Sandiford [Sat, 17 May 2014 07:34:57 +0000 (07:34 +0000)]
rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
gcc/
* config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
(rs6000_delegitimize_address): Use it.
From-SVN: r210544
Richard Sandiford [Sat, 17 May 2014 07:00:02 +0000 (07:00 +0000)]
emit-rtl.h (replace_equiv_address, [...]): Add an inplace argument.
gcc/
* emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an
inplace argument. Store the new address in the original MEM when true.
* emit-rtl.c (change_address_1): Likewise.
(adjust_address_1, adjust_automodify_address_1, offset_address):
Update accordingly.
* rtl.h (plus_constant): Add an inplace argument.
* explow.c (plus_constant): Likewise. Try to reuse the original PLUS
when true. Avoid generating (plus X (const_int 0)).
* function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS
in-place. Pass true to plus_constant.
(instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address.
From-SVN: r210543
GCC Administrator [Sat, 17 May 2014 00:17:11 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r210542
Dehao Chen [Fri, 16 May 2014 23:16:13 +0000 (23:16 +0000)]
tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
2014-05-16 Dehao Chen <dehao@google.com>
* tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
From-SVN: r210538
Oleg Endo [Fri, 16 May 2014 23:12:19 +0000 (23:12 +0000)]
re PR target/54089 ([SH] Refactor shift patterns)
gcc/
PR target/54089
* config/sh/predicates.md (negt_reg_shl31_operand): Match additional
patterns.
* config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.
From-SVN: r210537
Dehao Chen [Fri, 16 May 2014 23:01:26 +0000 (23:01 +0000)]
ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use optimize_function_for_size_p.
2014-05-16 Dehao Chen <dehao@google.com>
* ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use optimize_function_for_size_p.
* regs.h (REG_FREQ_FROM_BB): Likewise.
From-SVN: r210536
Oleg Endo [Fri, 16 May 2014 22:54:32 +0000 (22:54 +0000)]
re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)
gcc/
PR target/51244
* config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
negt_reg_operand cases.
* config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
predicate.
* config/sh/predicates.md (cbranch_treg_value): Simplify.
From-SVN: r210535
Oleg Endo [Fri, 16 May 2014 22:21:52 +0000 (22:21 +0000)]
sh.c (sh_option_override): Set branch cost to 2 for all target variants.
gcc/
* config/sh/sh.c (sh_option_override): Set branch cost to 2 for all
target variants.
From-SVN: r210534
David Malcolm [Fri, 16 May 2014 21:39:22 +0000 (21:39 +0000)]
Revert r209902 "Dump the return type of functions in gimple dumps"
This commit reverts r209902 aka
1f09cb43ee8e199dca339233fb1b92b7ffdbc660
due to issues described in
https://gcc.gnu.org/ml/gcc-patches/2014-05/msg01271.html
gcc/
2014-05-16 David Malcolm <dmalcolm@redhat.com>
Revert:
2014-04-29 David Malcolm <dmalcolm@redhat.com>
* tree-cfg.c (dump_function_to_file): Dump the return type of
functions, in a line to itself before the function body, mimicking
the layout of a C function.
gcc/testsuite
2014-05-16 David Malcolm <dmalcolm@redhat.com>
Revert:
2014-04-29 David Malcolm <dmalcolm@redhat.com>
* gcc.dg/tree-ssa/pr23401.c: Update the expected number of
occurrences of "int" in the gimple dump to reflect that the return
types of functions now show up in such dumps.
* gcc.dg/tree-ssa/pr27810.c: Likewise.
From-SVN: r210533
Iain Sandoe [Fri, 16 May 2014 20:56:03 +0000 (20:56 +0000)]
abi.exp: Defer setting of baseline_subdir until after checking that the test is eligible...
2014-05-16 Iain Sandoe <iain@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
libstdc++-v3/
* testsuite/libstdc++-abi/abi.exp: Defer setting of baseline_subdir
until after checking that the test is eligible to be run.
Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r210531
Dehao Chen [Fri, 16 May 2014 20:40:29 +0000 (20:40 +0000)]
cfghooks.c (make_forwarder_block): Use direct computation to get fall-through edge's count and frequency.
2014-05-16 Dehao Chen <dehao@google.com>
* cfghooks.c (make_forwarder_block): Use direct computation to
get fall-through edge's count and frequency.
From-SVN: r210528
Janne Blomqvist [Fri, 16 May 2014 20:37:13 +0000 (23:37 +0300)]
PR 61187 Fix use of uninitialized memory.
2014-05-16 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/61187
* io/unix.c (raw_close): Check if s->fd is -1.
(fd_to_stream): Check return value of fstat(), handle error.
From-SVN: r210527
Benno Schulenberg [Fri, 16 May 2014 19:52:17 +0000 (19:52 +0000)]
arc.c (arc_init): Fix typo in error message.
2014-02-07 Benno Schulenberg <bensberg@justemail.net>
* config/arc/arc.c (arc_init): Fix typo in error message.
* config/i386/i386.c (ix86_expand_builtin): Likewise.
(split_stack_prologue_scratch_regno): Likewise.
* fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
word from error message.
From-SVN: r210526
Zhouyi Zhou [Fri, 16 May 2014 18:22:44 +0000 (18:22 +0000)]
ira-costs.c: Fix typo in comment.
2014-05-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
* ira-costs.c: Fix typo in comment.
From-SVN: r210525
David Wohlferd [Fri, 16 May 2014 18:20:38 +0000 (18:20 +0000)]
extend.texi: (Visibility Pragmas) Fix misplaced @xref
2014-05-14 David Wohlferd <dw@LimeGreenSocks.com>
* doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref
From-SVN: r210524
Jan Hubicka [Fri, 16 May 2014 17:49:06 +0000 (19:49 +0200)]
varpool.c (dump_varpool_node): Dump write-only flag.
* varpool.c (dump_varpool_node): Dump write-only flag.
* lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
write-only flag.
* tree-cfg.c (execute_fixup_cfg): Remove statements setting write-only variables.
* gcc.c-torture/execute/
20101011-1.c: Update testcase.
* gcc.dg/ira-shrinkwrap-prep-1.c: Update testcase.
* gcc.dg/tree-ssa/writeonly.c: New testcase.
* gcc.dg/tree-ssa/ssa-dse-6.c: Update testcase.
* gcc.dg/tree-ssa/pr21559.c: Update testcase.
* gcc.dg/debug/pr35154.c: Update testcase.
* gcc.target/i386/vectorize1.c: Update testcase.
* ipa.c (process_references): New function.
(set_readonly_bit): New function.
(set_writeonly_bit): New function.
(clear_addressable_bit): New function.
(ipa_discover_readonly_nonaddressable_var): Mark write only variables; fix
handling of aliases.
* cgraph.h (struct varpool_node): Add writeonly flag.
From-SVN: r210522
Paolo Carlini [Fri, 16 May 2014 17:42:23 +0000 (17:42 +0000)]
re PR c++/51640 (Misleading error if the type in the catch() is ambiguous)
/cp
2014-05-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51640
* parser.c (cp_parser_diagnose_invalid_type_name): Early return
when cp_parser_lookup_name sets ambiguous_decls.
/testsuite
2014-05-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51640
* g++.dg/parse/error54.C: New.
From-SVN: r210521
Vladimir Makarov [Fri, 16 May 2014 17:37:17 +0000 (17:37 +0000)]
re PR rtl-optimization/60969 (ICE in output_129 in MMXMOV of mode MODE_SF for march=pentium4)
2014-05-16 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/60969
* ira-costs.c (record_reg_classes): Allow only memory for pseudo.
Calculate costs for this case.
2014-05-16 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/60969
* g++.dg/pr60969.C: New.
From-SVN: r210520
Eric Botcazou [Fri, 16 May 2014 16:59:38 +0000 (16:59 +0000)]
fold-const (fold_unary_loc): New case.
* fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
<CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.
From-SVN: r210518
Jonathan Wakely [Fri, 16 May 2014 14:55:45 +0000 (15:55 +0100)]
typedefs-1.cc: Fix test for 32-bit target.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Fix
test for 32-bit target.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/modifiers/reset_neg.cc:
Fix test.
From-SVN: r210517
Alexey Merzlyakov [Fri, 16 May 2014 13:16:33 +0000 (13:16 +0000)]
re PR libstdc++/60758 (Infinite backtrace in __cxa_end_cleanup)
2014-05-16 Alexey Merzlyakov <alexey.merzlyakov@samsung.com>
PR libstdc++/60758
* libsupc++/eh_arm.cc (__cxa_end_cleanup): Change r4 to lr in save/restore
and add unwind directives.
From-SVN: r210515
Richard Biener [Fri, 16 May 2014 11:21:11 +0000 (11:21 +0000)]
re PR tree-optimization/61194 (vectorization failed with "bit-precision arithmetic not supported" even if conversion to int is requested)
2014-05-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/61194
* tree-vect-patterns.c (adjust_bool_pattern): Also handle
bool patterns ending in a COND_EXPR.
* gcc.dg/vect/pr61194.c: New testcase.
From-SVN: r210514
Jonathan Wakely [Fri, 16 May 2014 11:08:49 +0000 (12:08 +0100)]
parse_numbers.h (__parse_int::_Number_help): Check for overflow.
* include/bits/parse_numbers.h (__parse_int::_Number_help): Check for
overflow.
* include/std/chrono (chrono_literals::__select_type::_Select_type):
Remove.
(chrono_literals::_Checked_integral_constant): Define.
Simplify UDL operator templates and check for overflow.
* testsuite/20_util/duration/literals/range.cc: New.
From-SVN: r210513
James Greenhalgh [Fri, 16 May 2014 10:15:54 +0000 (10:15 +0000)]
[AArch64 costs] Fixup to costing of FNMUL
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case.
From-SVN: r210512
Ed Smith-Rowland [Fri, 16 May 2014 09:30:57 +0000 (09:30 +0000)]
re PR libstdc++/61166 (overflow when parse number in std::duration operator"")
2014-05-15 Ed Smith-Rowland <3dw4rd@verizon.net>
Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/61166
* include/bits/parse_numbers.h: Use integral_constant to remove
duplication and simplify.
* testsuite/20_util/duration/literals/61166.cc: New.
Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r210511
James Greenhalgh [Fri, 16 May 2014 09:27:55 +0000 (09:27 +0000)]
[AArch64 costs 18/18] Dump a message if we are unable to cost an insn.
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
where we were unable to cost an RTX.
From-SVN: r210510
James Greenhalgh [Fri, 16 May 2014 09:25:48 +0000 (09:25 +0000)]
[AArch64 costs 17/18] Cost for SYMBOL_REF, HIGH and LO_SUM
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
HIGH, LO_SUM.
From-SVN: r210509
James Greenhalgh [Fri, 16 May 2014 09:23:28 +0000 (09:23 +0000)]
[AArch64 costs 16/18] Cost TRUNCATE
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210508
James Greenhalgh [Fri, 16 May 2014 09:20:22 +0000 (09:20 +0000)]
[AArch64 costs 15/18] Cost more Floating point RTX.
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210507
James Greenhalgh [Fri, 16 May 2014 09:16:23 +0000 (09:16 +0000)]
[AArch64 costs 14/18] Cost comparisons, flag setting operators and IF_THEN_ELSE
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
operators.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210506
James Greenhalgh [Fri, 16 May 2014 09:12:14 +0000 (09:12 +0000)]
[AArch64 costs 13/18] Improve costs for div/mod
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
DIV/MOD.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210505
James Greenhalgh [Fri, 16 May 2014 09:07:34 +0000 (09:07 +0000)]
[AArch64 costs 12/18] Improve costs for sign/zero extracts
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
SIGN/ZERO_EXTRACT.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210504
James Greenhalgh [Fri, 16 May 2014 09:03:19 +0000 (09:03 +0000)]
[AArch64 costs 11/18] Improve costs for rotate and shift operations.
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
rotates and shifts.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210503
James Greenhalgh [Fri, 16 May 2014 09:01:28 +0000 (09:01 +0000)]
[AArch64 costs 10/18] Improve costs for sign/zero extend operations
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
ZERO_EXTEND and SIGN_EXTEND better.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210502
James Greenhalgh [Fri, 16 May 2014 08:59:07 +0000 (08:59 +0000)]
[AArch64 costs 9/18] Better cost logical operations
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
logical operations.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210501
James Greenhalgh [Fri, 16 May 2014 08:56:54 +0000 (08:56 +0000)]
[AArch64 costs 8/18] Cost memory accesses using address costs
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
costs when costing loads and stores to memory.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210500
James Greenhalgh [Fri, 16 May 2014 08:55:04 +0000 (08:55 +0000)]
[AArch64 costs 7/18] Improve SET cost.
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
for SET RTX.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210499
James Greenhalgh [Fri, 16 May 2014 08:52:30 +0000 (08:52 +0000)]
[AArch64 costs 6/18] Set default costs and handle vector modes.
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
From-SVN: r210498
James Greenhalgh [Fri, 16 May 2014 08:50:51 +0000 (08:50 +0000)]
[AArch64 costs 5/18] Factor out common MULT cases
gcc/
* config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
to...
(aarch64_strip_extend): ...this, don't strip shifts, check RTX is
well formed.
(aarch64_rtx_mult_cost): New.
(aarch64_rtx_costs): Use it, refactor as appropriate.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210497
James Greenhalgh [Fri, 16 May 2014 08:47:59 +0000 (08:47 +0000)]
[AArch64 costs 4/18] Better estimate cost of building a constant
gcc/
* config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
emit instructions, return number of instructions which would
be emitted.
(aarch64_add_constant): Update call to aarch64_build_constant.
(aarch64_output_mi_thunk): Likewise.
(aarch64_rtx_costs): Estimate cost of a CONST_INT, cost
a CONST_DOUBLE.
Co-Authored-By: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
From-SVN: r210496
James Greenhalgh [Fri, 16 May 2014 08:45:39 +0000 (08:45 +0000)]
[AArch64 costs 3/18] Wrap aarch64_rtx_costs to dump verbose output
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
(TARGET_RTX_COSTS): Call it.
From-SVN: r210495
James Greenhalgh [Fri, 16 May 2014 08:43:51 +0000 (08:43 +0000)]
[AArch64 costs 2/18] Add cost tables for Cortex-A57
gcc/
* config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
(cortexa57_vector_cost): Likewise.
(cortexa57_tunings): Use them.
From-SVN: r210494
James Greenhalgh [Fri, 16 May 2014 08:41:46 +0000 (08:41 +0000)]
[AArch64 costs 1/18] Refactor aarch64_address_costs.
gcc/
* config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
(cpu_addrcost_table): Use it.
* config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
(aarch64_address_cost): Rewrite using aarch64_classify_address,
move it.
From-SVN: r210493
Richard Biener [Fri, 16 May 2014 08:05:50 +0000 (08:05 +0000)]
tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
2014-05-16 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
(set_ssa_val_to): Handle unexpected sets to VN_TOP.
(visit_phi): Ignore edges marked as not executable.
(class cond_dom_walker): New.
(cond_dom_walker::before_dom_children): Value-number
control statements and mark successor edges as not
executable if possible.
(run_scc_vn): First walk all control statements in
dominator order, marking edges as not executable.
* tree-inline.c (copy_edges_for_bb): Be not confused
about random edge flags.
* gcc.dg/tree-ssa/ssa-fre-39.c: New testcase.
* gcc.dg/tree-ssa/ssa-fre-40.c: Likewise.
* gcc.dg/tree-ssa/ssa-pre-8.c: One more elimination.
* gcc.dg/tree-ssa/struct-aliasing-2.c: Scan cddce1 dump.
From-SVN: r210492
Richard Biener [Fri, 16 May 2014 07:57:46 +0000 (07:57 +0000)]
tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
2014-05-16 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
* gcc.dg/tree-ssa/ssa-fre-41.c: New testcase.
From-SVN: r210491
Peter Bergner [Fri, 16 May 2014 03:43:12 +0000 (22:43 -0500)]
re PR target/61193 (ABI incompatibility between POWER and Z HTM builtins and intrinsics)
PR target/61193
* config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
(__TM_simple_begin): Use it.
(__TM_begin): Likewise.
From-SVN: r210486
GCC Administrator [Fri, 16 May 2014 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r210484
Jonathan Wakely [Thu, 15 May 2014 19:12:04 +0000 (20:12 +0100)]
Fix typo in my name.
From-SVN: r210479
Martin Jambor [Thu, 15 May 2014 15:04:18 +0000 (17:04 +0200)]
re PR ipa/61085 (wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization))
2014-05-15 Martin Jambor <mjambor@suse.cz>
PR ipa/61085
* ipa-prop.c (update_indirect_edges_after_inlining): Check
type_preserved flag when the indirect edge is polymorphic.
testsuite/
* g++.dg/ipa/pr61085.C: New test.
From-SVN: r210477
Martin Jambor [Thu, 15 May 2014 14:54:29 +0000 (16:54 +0200)]
re PR tree-optimization/61090 (ICE in build_ref_for_offset)
2014-05-15 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/61090
* tree-sra.c (sra_modify_expr): Pass the current gsi to
build_ref_for_model.
testsuite/
* gcc.dg/tree-ssa/pr61090.c: New test.
From-SVN: r210476
Jason Merrill [Thu, 15 May 2014 12:52:35 +0000 (08:52 -0400)]
* call.c (print_conversion_rejection): Use loc consistently.
From-SVN: r210475
Jonathan Wakely [Thu, 15 May 2014 12:31:05 +0000 (13:31 +0100)]
re PR libstdc++/60326 (Incorrect type from std::make_unsigned<wchar_t>)
PR libstdc++/60326
* include/std/type_traits (__make_unsigned, __make_signed): Define
specializations for wchar_t, char16_t and char32_t.
* testsuite/20_util/make_signed/requirements/typedefs-4.cc: New.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Correct
test for make_unsigned<volatile wchar_t>.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
line number.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
From-SVN: r210473
Kyrylo Tkachov [Thu, 15 May 2014 11:23:02 +0000 (11:23 +0000)]
[ARM][cleanup] Use enum name instead of integer value for PARAM_SCHED_PRESSURE_ALGORITHM.
* config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
From-SVN: r210471
Jonathan Wakely [Thu, 15 May 2014 10:35:29 +0000 (11:35 +0100)]
tuple (tuple_size<cv _Tp>): Implement LWG 2313.
* include/std/tuple (tuple_size<cv _Tp>): Implement LWG 2313.
* include/std/array (tuple_size, tuple_element): Add Doxygen comments.
* include/std/utility (tuple_size, tuple_element): Likewise.
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
Adjust dg-error line number.
From-SVN: r210470
Jakub Jelinek [Thu, 15 May 2014 10:01:11 +0000 (12:01 +0200)]
re PR middle-end/61158 (negative shift at fold-const.c:12095)
PR tree-optimization/61158
* fold-const.c (fold_binary_loc): If X is zero-extended and
shiftc >= prec, make sure zerobits is all ones instead of
invoking undefined behavior.
* gcc.dg/pr61158.c: New test.
From-SVN: r210467
Rainer Orth [Thu, 15 May 2014 09:52:37 +0000 (09:52 +0000)]
Check for -static-libgcc before use (PR lto/60981)
PR lto/60981
* configure.ac: Check for -static-libgcc.
* configure: Regenerate.
From-SVN: r210465
Andreas Schwab [Thu, 15 May 2014 09:34:27 +0000 (09:34 +0000)]
exceptions-3.mm: Remove check for message no longer emitted.
* obj-c++.dg/exceptions-3.mm: Remove check for message no longer
emitted.
* obj-c++.dg/exceptions-5.mm: Likewise.
From-SVN: r210464
Zhenqiang Chen [Thu, 15 May 2014 06:54:48 +0000 (06:54 +0000)]
regcprop.h: New file.
2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
* regcprop.h: New file.
* regcprop.c (skip_debug_insn_p): New decl.
(replace_oldest_value_reg): Check skip_debug_insn_p.
(copyprop_hardreg_forward_bb_without_debug_insn.): New function.
* shrink-wrap.c: include regcprop.h
(prepare_shrink_wrap):
Call copyprop_hardreg_forward_bb_without_debug_insn.
testsuite/ChangeLog:
2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
* shrink-wrap-loop.c: New test case.
From-SVN: r210458
Zhenqiang Chen [Thu, 15 May 2014 06:30:58 +0000 (06:30 +0000)]
shrink-wrap.h: Update comment.
2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
* shrink-wrap.h: Update comment.
* shrink-wrap.c: Update comment.
(next_block_for_reg): Rename to live_edge_for_reg.
(live_edge_for_reg): Allow live_edge->dest has two predecessors.
(move_insn_for_shrink_wrap): Split live_edge.
(prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap.
From-SVN: r210457
GCC Administrator [Thu, 15 May 2014 00:17:01 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r210455
Sandra Loosemore [Wed, 14 May 2014 23:20:59 +0000 (19:20 -0400)]
configure.ac (target_makefile_frag): Set for nios2-*-elf*.
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
* configure.ac (target_makefile_frag): Set for nios2-*-elf*.
* configure: Regenerated.
config/
* mt-nios2-elf: New file.
From-SVN: r210451
Joseph Myers [Wed, 14 May 2014 23:04:48 +0000 (00:04 +0100)]
* zh_CN.po: Update.
From-SVN: r210449
Torvald Riegel [Wed, 14 May 2014 22:37:28 +0000 (22:37 +0000)]
Add myself as maintainer for libitm.
From-SVN: r210448
Jonathan Wakely [Wed, 14 May 2014 22:16:35 +0000 (23:16 +0100)]
tuple (__add_c_ref, [...]): Remove.
* include/std/tuple (__add_c_ref, __add_ref, __add_r_ref): Remove.
(__tuple_element_t): Define.
(tuple_element): Use __tuple_element_t.
(__cv_tuple_size): Define.
(tuple_size<cv _Tp>): Use __cv_tuple_size.
(get, __get_helper, __get_helper2): Remove uses of __add_ref etc.
(get<_Tp>(tuple<_Types...>&&)): Use forward instead of move.
(__tuple_compare): Remove size check, re-order parameters.
(operator==, operator<): Use static_assert to check requirements.
* include/std/functional (__volget): use __tuple_element_t.
* testsuite/20_util/tuple/element_access/get_by_type.cc: Test rvalues.
* testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.
From-SVN: r210447
Eric Botcazou [Wed, 14 May 2014 22:09:26 +0000 (22:09 +0000)]
sparc-protos.h (sparc_absnegfloat_split_legitimate): Delete.
* config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate):
Delete.
* config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise.
* config/sparc/sparc.md (fptype_ut699): New attribute.
(in_branch_delay): Return false if -mfix-ut699 is specified and
fptype_ut699 is set to single.
(truncdfsf2): Add fptype_ut699 attribute.
(fix_truncdfsi2): Likewise.
(floatsisf2): Change fptype attribute.
(fix_truncsfsi2): Likewise.
(negtf2_notv9): Delete.
(negtf2_v9): Likewise.
(negtf2_hq): New instruction.
(negtf2): New instruction and splitter.
(negdf2_notv9): Rewrite.
(abstf2_notv9): Delete.
(abstf2_hq_v9): Likewise.
(abstf2_v9): Likewise.
(abstf2_hq): New instruction.
(abstf2): New instruction and splitter.
(absdf2_notv9): Rewrite.
From-SVN: r210444
Eric Botcazou [Wed, 14 May 2014 22:00:49 +0000 (22:00 +0000)]
* seh_init.c: Fix copyright year.
From-SVN: r210443
Cary Coutant [Wed, 14 May 2014 21:48:47 +0000 (21:48 +0000)]
Change -g so that it will override -g1 but not -g3.
gcc/
PR debug/61013
* opts.c (common_handle_option): Don't special-case "-g".
(set_debug_level): Default to at least level 2 with "-g".
From-SVN: r210442
DJ Delorie [Wed, 14 May 2014 21:27:21 +0000 (17:27 -0400)]
msp430.c (msp430_builtin): Add MSP430_BUILTIN_DELAY_CYCLES.
* config/msp430/msp430.c (msp430_builtin): Add
MSP430_BUILTIN_DELAY_CYCLES.
(msp430_init_builtins): Register void __delay_cycles(long long).
(msp430_builtin_decl): Add it.
(cg_magic_constant): New.
(msp430_expand_delay_cycles): New.
(msp430_expand_builtin): Call it.
(msp430_print_operand_raw): Change integer printing from "int" to
HOST_WIDE_INT.
* config/msp430/msp430.md (define_constants): Add delay_cycles tags.
(delay_cycles_start): New.
(delay_cycles_end): New.
(delay_cycles_32): New.
(delay_cycles_32x): New.
(delay_cycles_16): New.
(delay_cycles_16x): New.
(delay_cycles_2): New.
(delay_cycles_1): New.
* doc/extend.texi: Document __delay_cycles().
From-SVN: r210441
Sandra Loosemore [Wed, 14 May 2014 21:18:33 +0000 (17:18 -0400)]
nios2.md (nios2_cbranch): Fix paste-o in length attribute computation.
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
length attribute computation.
From-SVN: r210440
Paolo Carlini [Wed, 14 May 2014 20:56:04 +0000 (20:56 +0000)]
cp-tree.h (DIRECT_LIST_INIT_P): Add.
2014-05-14 Paolo Carlini <paolo.carlini@oracle.com>
* cp-tree.h (DIRECT_LIST_INIT_P): Add.
* call.c (convert_like_real, build_new_method_call_1): Use it.
* decl2.c (grokfield): Likewise.
* init.c (perform_member_init, build_aggr_init, expand_default_init,
build_new_1): Likewise.
* mangle.c (write_expression): Likewise.
* parser.c (cp_parser_late_parse_one_default_arg): Likewise.
From-SVN: r210438
Bernd Edlinger [Wed, 14 May 2014 17:15:06 +0000 (17:15 +0000)]
Fix current cygwin build problems.
2014-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
Fix current cygwin build problems.
* seh_init.c (__gnat_map_SEH): Compile also when __CYGWIN__ and __SEH__
are defined. Move include windows.h before system.h.
* s-oscons-tmplt.c (DTR_CONTROL_ENABLE, RTS_CONTROL_ENABLE): Compile
also when __CYGWIN__ is defined. Include windef.h before winbase.h.
From-SVN: r210437
Jason Merrill [Wed, 14 May 2014 16:48:07 +0000 (12:48 -0400)]
re PR c++/20332 (poor diagnostic when bind non lvalue to a reference for default arguments)
PR c++/20332
PR c++/21631
* call.c (reference_binding): Treat lvalue/rvalue mismatch and
dropped cv-quals as a bad conversion.
(convert_like_real) [ck_ref_bind]: Explain them.
(compare_ics): Check badness before stripping reference
bindings. Handle comparing bad reference bindings.
* typeck.c (comp_cv_qualification): Add overload that just takes
integers.
* cp-tree.h: Declare it.
From-SVN: r210436
Jason Merrill [Wed, 14 May 2014 16:47:54 +0000 (12:47 -0400)]
call.c (struct conversion_info): Rename 'from_type' to 'from'.
* call.c (struct conversion_info): Rename 'from_type' to 'from'.
(arg_conversion_rejection, bad_arg_conversion_rejection)
(explicit_conversion_rejection, template_conversion_rejection): Adjust.
(add_function_candidate): Pass actual argument, rather than type, to
bad_arg_conversion_rejection.
(print_conversion_rejection): Explain what's wrong with the conversion.
(print_z_candidate): Say "candidate:" before each candidate.
(splice_viable): Be strict if we see a viable or template candidate.
(build_user_type_conversion_1): Pass false to strict parameter.
(perform_overload_resolution, build_conditional_expr_1): Likewise.
(build_new_op_1, build_new_method_call_1): Likewise.
(build_op_call_1): Pass true to strict parameter.
From-SVN: r210435
Richard Sandiford [Wed, 14 May 2014 15:53:11 +0000 (15:53 +0000)]
re PR debug/61188 (Many -fcompare-debug failures)
gcc/
PR debug/61188
* print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
From-SVN: r210429
Richard Sandiford [Wed, 14 May 2014 15:42:52 +0000 (15:42 +0000)]
re PR bootstrap/61084 (wide-int merge broke Solaris/SPARC bootstrap)
gcc/
PR target/61084
* config/sparc/sparc.md: Fix types of low and high in DI constant
splitter. Use gen_int_mode in some other splitters.
From-SVN: r210428
Richard Sandiford [Wed, 14 May 2014 15:42:25 +0000 (15:42 +0000)]
decl.c (gnat_to_gnu_entity): Convert integer_one_node to the appropriate type.
gcc/ada/
* gcc-interface/decl.c (gnat_to_gnu_entity): Convert
integer_one_node to the appropriate type.
* gcc-interface/trans.c (gnat_to_gnu): Likewise.
(pos_to_constructor): Likewise.
From-SVN: r210427
Martin Jambor [Wed, 14 May 2014 15:32:31 +0000 (17:32 +0200)]
re PR gcov-profile/60897 (Mangled function name in warning during -fprofile-use phase of Firefox build)
2014-05-14 Martin Jambor <mjambor@suse.cz>
PR ipa/60897
* ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC.
From-SVN: r210426
Andrew Burgess [Wed, 14 May 2014 14:18:49 +0000 (14:18 +0000)]
cplus-dmem.c (internal_cplus_demangle): Free any resources allocated by possible previous call to gnu_special.
libiberty/
2014-05-14 Andrew Burgess <aburgess@broadcom.com>
* cplus-dmem.c (internal_cplus_demangle): Free any resources
allocated by possible previous call to gnu_special.
(squangle_mop_up): Reset pointers to NULL after calling free.
* testsuite/demangle-expected: New test case.
From-SVN: r210425
Christian Bruel [Wed, 14 May 2014 14:00:30 +0000 (16:00 +0200)]
cleanup bogus entry
From-SVN: r210424
James Norris [Wed, 14 May 2014 13:38:57 +0000 (13:38 +0000)]
omp-low.c (expand_parallel_call): Remove shadow variable.
* omp-low.c (expand_parallel_call): Remove shadow variable.
(expand_omp_taskreg): Likewise.
From-SVN: r210423
Alan Lawrence [Wed, 14 May 2014 13:23:29 +0000 (13:23 +0000)]
Add execution tests of ARM TRN Intrinsics.
* gcc.target/arm/simd/vtrnqf32_1.c: New file.
* gcc.target/arm/simd/vtrnqp16_1.c: New file.
* gcc.target/arm/simd/vtrnqp8_1.c: New file.
* gcc.target/arm/simd/vtrnqs16_1.c: New file.
* gcc.target/arm/simd/vtrnqs32_1.c: New file.
* gcc.target/arm/simd/vtrnqs8_1.c: New file.
* gcc.target/arm/simd/vtrnqu16_1.c: New file.
* gcc.target/arm/simd/vtrnqu32_1.c: New file.
* gcc.target/arm/simd/vtrnqu8_1.c: New file.
* gcc.target/arm/simd/vtrnf32_1.c: New file.
* gcc.target/arm/simd/vtrnp16_1.c: New file.
* gcc.target/arm/simd/vtrnp8_1.c: New file.
* gcc.target/arm/simd/vtrns16_1.c: New file.
* gcc.target/arm/simd/vtrns32_1.c: New file.
* gcc.target/arm/simd/vtrns8_1.c: New file.
* gcc.target/arm/simd/vtrnu16_1.c: New file.
* gcc.target/arm/simd/vtrnu32_1.c: New file.
* gcc.target/arm/simd/vtrnu8_1.c: New file.
From-SVN: r210422
Ilya Tocar [Wed, 14 May 2014 12:41:42 +0000 (12:41 +0000)]
gcc/
* common/config/i386/i386-common.c
(OPTION_MASK_ISA_CLFLUSHOPT_SET): Define.
(OPTION_MASK_ISA_XSAVES_SET): Ditto.
(OPTION_MASK_ISA_XSAVEC_SET): Ditto.
(OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto.
(OPTION_MASK_ISA_XSAVES_UNSET): Ditto.
(OPTION_MASK_ISA_XSAVEC_UNSET): Ditto.
(ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves,
OPT_mclflushopt.
* config.gcc (i[34567]86-*-*): Add clflushoptintrin.h,
xsavecintrin.h, xsavesintrin.h.
(x86_64-*-*): Ditto.
* config/i386/clflushoptintrin.h: New.
* config/i386/xsavecintrin.h: Ditto.
* config/i386/xsavesintrin.h: Ditto.
* config/i386/cpuid.h (bit_CLFLUSHOPT): Define.
(bit_XSAVES): Ditto.
(bit_XSAVES): Ditto.
* config/i386/driver-i386.c (host_detect_local_cpu): Handle
-mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec,
-mno-clflushopt.
* config/i386/i386-c.c (ix86_target_macros_internal): Handle
OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC,
OPTION_MASK_ISA_XSAVES.
* config/i386/i386.c (ix86_target_string): Handle -mclflushopt,
-mxsavec, -mxsaves.
(PTA_CLFLUSHOPT) Define.
(PTA_XSAVEC): Ditto.
(PTA_XSAVES): Ditto.
(ix86_option_override_internal): Handle new options.
(ix86_valid_target_attribute_inner_p): Ditto.
(ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64,
IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64,
IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT.
(bdesc_special_args): Add __builtin_ia32_xsaves, __builtin_ia32_xrstors,
__builtin_ia32_xsavec, __builtin_ia32_xsaves64, __builtin_ia32_xrstors64,
__builtin_ia32_xsavec64.
(ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt.
(ix86_expand_builtin): Handle new builtins.
* config/i386/i386.h (TARGET_CLFLUSHOPT) Define.
(TARGET_CLFLUSHOPT_P): Ditto.
(TARGET_XSAVEC): Ditto.
(TARGET_XSAVEC_P): Ditto.
(TARGET_XSAVES): Ditto.
(TARGET_XSAVES_P): Ditto.
* config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES.
(ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64.
(attr xsave): Add xsavec, xsavec64, xsaves, xsaves64.
(ANY_XRSTOR): New.
(ANY_XRSTOR64): Ditto.
(xrstor): Ditto.
(xrstor): Change into <xrstor>.
(xrstor_rex64): Change into <xrstor>_rex64.
(xrstor64): Change into <xrstor>64
(clflushopt): New.
* config/i386/i386.opt (mclflushopt): New.
(mxsavec): Ditto.
(mxsaves): Ditto.
* config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h,
xsavecintrin.h.
* doc/invoke.texi: Document new options.
gcc/testsuite/
* gcc.target/i386/clflushopt-1.c: New.
* gcc.target/i386/xsavec-1.c: Ditto.
* gcc.target/i386/xsavec64-1.c: Ditto.
* gcc.target/i386/xsaves-1.c: Ditto.
* gcc.target/i386/xsaves64-1.c: Ditto.
* gcc.target/i386/sse-12.c: Test new options.
* gcc.target/i386/sse-13.c: Ditto.
* gcc.target/i386/sse-14.c: Ditto.
* gcc.target/i386/sse-22.c: Ditto.
* gcc.target/i386/sse-23.c: Ditto.
* g++.dg/other/i386-2.C: Ditto.
* g++.dg/other/i386-3.C: Ditto.
From-SVN: r210421
Andrey Belevantsev [Wed, 14 May 2014 12:09:02 +0000 (16:09 +0400)]
re PR rtl-optimization/60866 (ICE: in get_seqno_for_a_jump, at sel-sched-ir.c:4068 with -fselective-scheduling -fno-if-conversion)
PR rtl-optimization/60866
* sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
Default it to -1. Pass it down to init_simplejump_data.
(init_simplejump_data): New parameter old_seqno. Pass it down
to get_seqno_for_a_jump.
(get_seqno_for_a_jump): New parameter old_seqno. Use it for
initializing new jump seqno as a last resort. Add comment.
(sel_redirect_edge_and_branch): Save old seqno of the conditional
jump and pass it down to sel_init_new_insn.
(sel_redirect_edge_and_branch_force): Likewise.
* gcc.dg/pr60866.c: New test.
From-SVN: r210420
Georg-Johann Lay [Wed, 14 May 2014 11:05:40 +0000 (11:05 +0000)]
avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for shifted values to avoid build warning.
* config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
shifted values to avoid build warning.
From-SVN: r210418
Eric Botcazou [Wed, 14 May 2014 10:36:23 +0000 (10:36 +0000)]
cfgcleanup.c (try_forward_edges): Use location_t for locations.
* cfgcleanup.c (try_forward_edges): Use location_t for locations.
* cfgrtl.c (rtl_merge_blocks): Fix comment.
(cfg_layout_merge_blocks): Likewise.
* except.c (emit_to_new_bb_before): Remove prev_bb local variable.
From-SVN: r210416
Andrey Belevantsev [Wed, 14 May 2014 09:46:26 +0000 (13:46 +0400)]
re PR rtl-optimization/60901 (ICE: SIGSEGV in add_to_deps_list with -fsel-sched-pipelining-outer-loops)
PR rtl-optimization/60901
* config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that
bb predecessor belongs to the same scheduling region. Adjust comment.
* gcc.target/i386/pr60901.c: New test.
From-SVN: r210414
Yury Gribov [Wed, 14 May 2014 08:33:45 +0000 (08:33 +0000)]
re PR sanitizer/61100 (asan/tsan should have the sanitizer includes)
2014-05-14 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/61100
* Makefile.am (nodist_saninclude_HEADERS): Install
public headers.
* Makefile.in: Regenerate.
* c-c++-common/asan/asan-interface-1.c: New test.
* lib/asan-dg.exp (asan_include_flags): New function.
(asan_init): Call asan_include_flags to obtain path
to sanitizer headers.
From-SVN: r210413
GCC Administrator [Wed, 14 May 2014 00:17:12 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r210410
Peter Bergner [Tue, 13 May 2014 23:44:42 +0000 (18:44 -0500)]
sourcebuild.texi: (dfp_hw): Document.
gcc/
* doc/sourcebuild.texi: (dfp_hw): Document.
(p8vector_hw): Likewise.
(powerpc_eabi_ok): Likewise.
(powerpc_elfv2): Likewise.
(powerpc_htm_ok): Likewise.
(ppc_recip_hw): Likewise.
(vsx_hw): Likewise.
gcc/testsuite/
* lib/target-support.exp (check_dfp_hw_available): New function.
(is-effective-target): Check $arg for dfp_hw.
(is-effective-target-keyword): Likewise.
* gcc.target/powerpc/pack03.c: (dg-require-effective-target):
Change target to dfp_hw.
From-SVN: r210404
Eric Botcazou [Tue, 13 May 2014 21:17:07 +0000 (21:17 +0000)]
* gcc-interface/decl.c (annotate_value): Fix thinko in latest change.
From-SVN: r210403
Jason Merrill [Tue, 13 May 2014 21:10:03 +0000 (17:10 -0400)]
call.c (print_error_for_call_failure): Say "no match" rather than "ambiguous" if there were no strict matches.
* call.c (print_error_for_call_failure): Say "no match" rather
than "ambiguous" if there were no strict matches.
(build_new_method_call_1): Likewise.
From-SVN: r210402
Cary Coutant [Tue, 13 May 2014 17:55:30 +0000 (17:55 +0000)]
Force the use of -ggnu-pubnames when using -gsplit-dwarf.
gcc/
* opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
From-SVN: r210395