- 16 May, 2014 36 commits
-
-
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 -
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 committed -
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 committed -
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 4 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
-