- 16 May, 2014 11 commits
-
-
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 committed -
gcc/ * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs. From-SVN: r210498
James Greenhalgh committed -
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 committed -
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 committed -
gcc/ * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New. (TARGET_RTX_COSTS): Call it. From-SVN: r210495
James Greenhalgh committed -
gcc/ * config/aarch64/aarch64.c (cortexa57_addrcost_table): New. (cortexa57_vector_cost): Likewise. (cortexa57_tunings): Use them. From-SVN: r210494
James Greenhalgh committed -
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
James Greenhalgh committed -
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 committed -
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
Richard Biener committed -
PR target/61193 * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define. (__TM_simple_begin): Use it. (__TM_begin): Likewise. From-SVN: r210486
Peter Bergner committed -
From-SVN: r210484
GCC Administrator committed
-
- 15 May, 2014 13 commits
-
-
From-SVN: r210479
Jonathan Wakely committed -
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 committed -
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
Martin Jambor committed -
From-SVN: r210475
Jason Merrill committed -
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
Jonathan Wakely committed -
* config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL enum name for PARAM_SCHED_PRESSURE_ALGORITHM. From-SVN: r210471
Kyrylo Tkachov committed -
* 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
Jonathan Wakely committed -
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
Jakub Jelinek committed -
PR lto/60981 * configure.ac: Check for -static-libgcc. * configure: Regenerate. From-SVN: r210465
Rainer Orth committed -
* obj-c++.dg/exceptions-3.mm: Remove check for message no longer emitted. * obj-c++.dg/exceptions-5.mm: Likewise. From-SVN: r210464
Andreas Schwab committed -
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 committed -
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
Zhenqiang Chen committed -
From-SVN: r210455
GCC Administrator committed
-
- 14 May, 2014 16 commits
-
-
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
Sandra Loosemore committed -
From-SVN: r210449
Joseph Myers committed -
From-SVN: r210448
Torvald Riegel committed -
* 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
Jonathan Wakely committed -
* 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 committed -
From-SVN: r210443
Eric Botcazou committed -
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
Cary Coutant committed -
* 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
DJ Delorie committed -
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
Sandra Loosemore committed -
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
Paolo Carlini committed -
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
Bernd Edlinger committed -
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 committed -
* 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
Jason Merrill committed -
gcc/ PR debug/61188 * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered. From-SVN: r210429
Richard Sandiford committed -
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 committed -
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
Richard Sandiford committed
-