- 17 May, 2014 9 commits
-
-
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
Marc Glisse committed -
* doc/invoke.texi (free): Mention Alpha. Also enabled at -Os. From-SVN: r210552
Uros Bizjak committed -
* 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 committed -
* ChangeLog: Fix. * testsuite/ChangeLog: Ditto. From-SVN: r210548
Uros Bizjak committed -
gcc/ * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or __SIZEOF_INT128__ is defined. From-SVN: r210546
Richard Sandiford committed -
From-SVN: r210545
Andreas Schwab committed -
gcc/ * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function. (rs6000_delegitimize_address): Use it. From-SVN: r210544
Richard Sandiford committed -
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
Richard Sandiford committed -
From-SVN: r210542
GCC Administrator committed
-
- 16 May, 2014 31 commits
-
-
2014-05-16 Dehao Chen <dehao@google.com> * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count. From-SVN: r210538
Dehao Chen committed -
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
Oleg Endo committed -
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
Dehao Chen committed -
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 committed -
gcc/ * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all target variants. From-SVN: r210534
Oleg Endo committed -
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
David Malcolm committed -
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
Iain Sandoe committed -
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
Dehao Chen committed -
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
Janne Blomqvist committed -
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
Benno Schulenberg committed -
2014-05-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn> * ira-costs.c: Fix typo in comment. From-SVN: r210525
Zhouyi Zhou committed -
2014-05-14 David Wohlferd <dw@LimeGreenSocks.com> * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref From-SVN: r210524
David Wohlferd committed -
* 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
Jan Hubicka committed -
/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
Paolo Carlini committed -
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
Vladimir Makarov committed -
* fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case. <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const. From-SVN: r210518
Eric Botcazou committed -
* 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
Jonathan Wakely committed -
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
Alexey Merzlyakov committed -
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
Richard Biener committed -
* 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
Jonathan Wakely committed -
gcc/ * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case. From-SVN: r210512
James Greenhalgh committed -
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
Ed Smith-Rowland committed -
gcc/ * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case where we were unable to cost an RTX. From-SVN: r210510
James Greenhalgh committed -
gcc/ * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF, HIGH, LO_SUM. From-SVN: r210509
James Greenhalgh committed -
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 committed -
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 committed -
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 committed -
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 committed -
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 committed -
* 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 committed -
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 committed
-