- 01 Feb, 2016 19 commits
-
-
PR tree-optimization/68580 * params.def (FSM_MAXIMUM_PHI_ARGUMENTS): New param. * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths): Do not try to walk through large PHI nodes. From-SVN: r233053
Jeff Law committed -
ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false when count is incremented above limit... * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false when count is incremented above limit, don't analyze further insns afterwards. From-SVN: r233050
Jakub Jelinek committed -
From-SVN: r233045
Martin Sebor committed -
* omp-low.c (oacc_parse_default_dims): Avoid -Wsign-compare warning, make sure value fits into int rather than just unsigned int. From-SVN: r233044
Jakub Jelinek committed -
re PR tree-optimization/67921 ("internal compiler error: in build_polynomial_chrec, at tree-chrec.h:147" when using -fsanitize=undefined) PR tree-optimization/67921 * fold-const.c (split_tree): New parameters. Convert pointer type variable part to proper type before negating. (fold_binary_loc): Pass new arguments to split_tree. gcc/testsuite/ChangeLog PR tree-optimization/67921 * c-c++-common/ubsan/pr67921.c: New test. From-SVN: r233042
Bin Cheng committed -
gcc/ * config/nvptx/nvptx.c (PTX_GANG_DEFAULT): New. (nvptx_goacc_validate_dims): Extend to handle global defaults. * target.def (OACC_VALIDATE_DIMS): Extend documentation. * doc/tm.texti: Rebuilt. * doc/invoke.texi (fopenacc-dim): Document. * lto-wrapper.c (merge_and_complain): Add OPT_fopenacc_dim_ case. (append_compiler_options): Likewise. * omp-low.c (oacc_default_dims, oacc_min_dims): New. (oacc_parse_default_dims): New. (oacc_validate_dims): Add USED arg. Select non-unity default when possible. (oacc_loop_fixed_partitions): Return mask of used partitions. (oacc_loop_auto_partitions): Emit dump info. (oacc_loop_partition): Return mask of used partitions. (execute_oacc_device_lower): Parse default dimension arg. Adjust loop partitioning and validation calls. gcc/c-family/ * c.opt (fopenacc-dim=): New option. gcc/fortran/ * lang.opt (fopenacc-dim=): New option. libgomp/ * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: New. * testsuite/libgomp.oacc-fortran/routine-7.f90: Serialize loop. From-SVN: r233041
Nathan Sidwell committed -
2016-02-01 Richard Biener <rguenther@suse.de> PR middle-end/69556 * match.pd: Guard (C1/X)*C2 -> (C1*C2)/X with single_use. * gcc.dg/tree-ssa/recip-8.c: New testcase. From-SVN: r233040
Richard Biener committed -
re PR tree-optimization/69574 (gcc ICE at -O2 and -O3 on x86_64-linux-gnu in hide_evolution_in_other_loops_than_loop) 2016-02-01 Richard Biener <rguenther@suse.de> PR tree-optimization/69574 * tree-chrec.c (hide_evolution_in_other_loops_than_loop): Instead of asserting return chrec_dont_know. * gcc.dg/torture/pr69574.c: New testcase. From-SVN: r233039
Richard Biener committed -
* mem-stats-traits.h: Add copyright header. * mem-stats.h: Likewise. From-SVN: r233037
Martin Liska committed -
re PR tree-optimization/69579 (gcc ICE at -O3 and __sigsetjmp with “tree check: expected ssa_name, have integer_cst in compute_optimized_partition_bases”) 2016-02-01 Richard Biener <rguenther@suse.de> PR tree-optimization/69579 * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling): Do not propagate through abnormal PHI results. * gcc.dg/setjmp-6.c: New testcase. From-SVN: r233036
Richard Biener committed -
2016-02-01 Bernd Edlinger <bernd.edlinger@hotmail.de> PR libstdc++/69581 * include/c_compatibility/math.h: Move header guards. * include/c_compatibility/stdlib.h: Likewise. From-SVN: r233035
Bernd Edlinger committed -
From-SVN: r233034
Eric Botcazou committed -
PR rtl-optimization/69570 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return true only if there is more than one set, not if there is a single set. * g++.dg/opt/pr69570.C: New test. From-SVN: r233033
Jakub Jelinek committed -
re PR rtl-optimization/69535 (wrong code with -O -fno-tree-bit-ccp -fno-tree-reassoc due to use of uninitialised value) PR rtl-opt/69535 * combine.c (make_compound_operation): When looking through a subreg, make sure to re-extend to the width of the outer mode. From-SVN: r233032
Richard Henderson committed -
PR testsuite/69584 * gcc.dg/tree-ssa/sra-17.c: Fix regexps to work on hpux. * gcc.dg/tree-ssa/sra-18.c: Likewise. From-SVN: r233030
John David Anglin committed -
PR target/68741 * inclhack.def (hpux_vsscanf): New fix. * fixincl.x: Regenerated. * tests/base/stdio.h [HPUX_VSSCANF_CHECK]: New test. From-SVN: r233029
John David Anglin committed -
PR debug/68244 * g++.dg/parse/parens3.C: Use register "4" on hppa. From-SVN: r233028
John David Anglin committed -
* gcc.dg/tree-ssa/vector-5.c: Add -fno-common option on hppa*-*-hpux*. From-SVN: r233027
John David Anglin committed -
From-SVN: r233026
GCC Administrator committed
-
- 31 Jan, 2016 8 commits
-
-
gcc/po: * gcc.pot: Regenerate. libcpp/po: * cpplib.pot: Regenerate. From-SVN: r233023
Joseph Myers committed -
From-SVN: r233021
Joseph Myers committed -
PR c++/68763 * tree.c (strip_typedefs) [FUNCTION_TYPE]: Avoid building a new function type if nothing is changing. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r233020
Jakub Jelinek committed -
PR c++/69009 * pt.c (partial_specialization_p, impartial_args): New. (instantiate_decl): Call impartial_args. From-SVN: r233019
Jason Merrill committed -
* mangle.c (maybe_check_abi_tags): New. (write_guarded_var_name): Call it. (mangle_ref_init_variable): Call check_abi_tags. From-SVN: r233018
Jason Merrill committed -
* pt.c (lookup_template_class_1): Don't share TYPE_ATTRIBUTES between template and instantiation. From-SVN: r233017
Jason Merrill committed -
2016-01-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/67564 * trans-expr.c (gfc_conv_procedure_call): For the vtable copy subroutines, add a string length argument, when the actual argument is an unlimited polymorphic class object. 2016-01-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/67564 * gfortran.dg/allocate_with_source_17.f03: New test. From-SVN: r233016
Paul Thomas committed -
From-SVN: r233015
GCC Administrator committed
-
- 30 Jan, 2016 6 commits
-
-
PR tree-optimization/69546 * wide-int.cc (wi::divmod_internal): For unsigned division where both operands fit into uhwi, if o1 is 1 and o0 has msb set, if divident_prec is larger than bits per hwi, clear another quotient word and return 2 instead of 1. Similarly for remainder with msb in HWI set, if dividend_prec is larger than bits per hwi. * gcc.dg/torture/pr69546.c: New test. From-SVN: r233012
Jakub Jelinek committed -
2016-01-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/69566 * trans-expr.c (gfc_conv_procedure_call): Correct expression for 'ulim_copy', which was missing a test for 'comp'. 2016-01-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/69566 * gfortran.dg/unlimited_polymorphic_25.f03: New test. From-SVN: r233011
Paul Thomas committed -
gcc/testsuite/ChangeLog: 2016-01-30 Martin Sebor <msebor@redhat.com> PR c++/68490 * g++.dg/ext/flexary10.C: New test. From-SVN: r233010
Martin Sebor committed -
2016-01-30 Dominique d'Humieres <dominiq@lps.ens.fr> PR fortran/66707 gfortran.dg/common_23.f90: New test. From-SVN: r233008
Dominique d'Humieres committed -
2016-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/65546 * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Correct condition being checked, and disable it when the target supports misaligned loads and stores. From-SVN: r233006
Bill Schmidt committed -
From-SVN: r233005
GCC Administrator committed
-
- 29 Jan, 2016 7 commits
-
-
2016-01-29 Martin Jambor <mjambor@suse.cz> * hsa-gen.c (get_memory_order_name): Mask with MEMMODEL_BASE_MASK. Use short lowercase names. (get_memory_order): Mask with MEMMODEL_BASE_MASK. Support MEMMODEL_CONSUME with acquire semantics and MEMMODEL_SEQ_CST with acq_rel one. Protect warning agains segfaults if get_memory_order_name returns NULL. (gen_hsa_ternary_atomic_for_builtin): Support with MEMMODEL_SEQ_CST with release semantics. Do not warn if get_memory_order already did. (gen_hsa_insns_for_call): Support with MEMMODEL_SEQ_CST with acquire semantics. Fix check for relaxed or acquire semantics. Do not warn if get_memory_order already did. From-SVN: r233000
Martin Jambor committed -
PR debug/69518 * c-decl.c (finish_struct): Clear C_TYPE_INCOMPLETE_VARS in all type variants, not just TYPE_MAIN_VARIANT. * gcc.dg/torture/pr69518.c: New test. From-SVN: r232998
Jakub Jelinek committed -
* config/isl.m4: Add comments about isl-0.16. * configure: Regenerate. gcc/ * doc/install.texi: Document that isl-0.16 is supported. From-SVN: r232997
Sebastian Pop committed -
2016-01-29 Vladimir Makarov <vmakarov@redhat.com> PR target/69299 * config/i386/constraints.md (Bm): Describe as special memory constraint. * doc/md.texi (DEFINE_SPECIAL_MEMORY_CONSTRAINT): Describe it. * genoutput.c (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT. * genpreds.c (struct constraint_data): Add is_special_memory. (have_special_memory_constraints, special_memory_start): New static vars. (special_memory_end): Ditto. (add_constraint): Add new arg is_special_memory. Add code to process its true value. Update have_special_memory_constraints. (process_define_constraint): Pass the new arg. (process_define_register_constraint): Ditto. (choose_enum_order): Process special memory. (write_tm_preds_h): Generate enum const CT_SPECIAL_MEMORY and function insn_extra_special_memory_constraint. (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT. * gensupport.c (process_rtx): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT. * ira-costs.c (record_reg_classes): Process CT_SPECIAL_MEMORY. * ira-lives.c (single_reg_class): Use insn_extra_special_memory_constraint. * ira.c (ira_setup_alts): Process CT_SPECIAL_MEMORY. * lra-constraints.c (process_alt_operands): Ditto. (curr_insn_transform): Use insn_extra_special_memory_constraint. * recog.c (asm_operand_ok, preprocess_constraints): Process CT_SPECIAL_MEMORY. * reload.c (find_reloads): Ditto. * rtl.def (DEFINE_SPECIFAL_MEMORY_CONSTRAINT): New. * stmt.c (parse_input_constraint): Use insn_extra_special_memory_constraint. From-SVN: r232993
Vladimir Makarov committed -
r229087, which caused PR 69530, was supposed to fix PR 67609. r229458 has made r229087 unnecessary. gcc/ PR target/69530 * lra-splill.c (lra_final_code_change): Revert r229087 by removing all sub-registers. gcc/testsuite/ PR target/69530 * gcc.target/i386/pr69530.c: New test. From-SVN: r232991
H.J. Lu committed -
PR target/65604 * gcc.target/mips/div-delay.c: New test. From-SVN: r232986
Steve Ellcey committed -
PR target/65604 * config/mips/mips.c (mips_output_division): Check flag_delayed_branch. From-SVN: r232985
Steve Ellcey committed
-