- 24 Feb, 2017 11 commits
-
-
* gcc-interface/decl.c (gnat_to_gnu_field): Do not remove the wrapper around a justified modular type if it doesn't have the same scalar storage order as the enclosing record type. From-SVN: r245710
Eric Botcazou committed -
* tree-ssa-loop-niter.c (number_of_iterations_exit): Update function comment to reflect reality. (loop_exits_before_overflow): Fix typo in function description. From-SVN: r245709
Aldy Hernandez committed -
* gcc-interface/trans.c (gnat_to_gnu): Do not apply special handling of boolean rvalues to function calls. From-SVN: r245706
Eric Botcazou committed -
* gcc-interface/utils.c (fold_bit_position): New function. (rest_of_record_type_compilation): Call it instead of bit_position to compute the field position and remove the call to remove_conversions. (compute_related_constant): Factor out the multiplication in both operands, if any, and streamline the final test. From-SVN: r245704
Eric Botcazou committed -
From-SVN: r245701
Eric Botcazou committed -
c-ada-spec.c (dump_ada_function_declaration): Add comment about the treatment of parameters with pointer-to-tagged type and... c-family/ * c-ada-spec.c (dump_ada_function_declaration): Add comment about the treatment of parameters with pointer-to-tagged type and tidy up. (print_ada_methods): Remove the special treatment of C++ static member functions. ada/ * gcc-interface/decl.c: Include demangle.h. (is_cplusplus_method): Return again true for a primitive operation only if it is dispatching. For a subprogram with an interface name, call the demangler to get the number of C++ parameters and compare it with the number of Ada parameters. From-SVN: r245700
Eric Botcazou committed -
* gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu): If there is no end label, put the location of the At_End procedure on the call to the procedure. From-SVN: r245699
Eric Botcazou committed -
misc.c (gnat_type_max_size): Try to return a meaningful value for array types with TYPE_INDEX_TYPE set on... * gcc-interface/misc.c (gnat_type_max_size): Try to return a meaningful value for array types with TYPE_INDEX_TYPE set on their domain type. * gcc-interface/utils.c (max_size): For operations and expressions, do not build a new node if the operands have not changed or are missing. From-SVN: r245698
Eric Botcazou committed -
* gcc-interface/utils.c (max_size) <tcc_expression>: Flip the second argument when recursing on TRUTH_NOT_EXPR. From-SVN: r245697
Eric Botcazou committed -
2017-02-24 Richard Biener <rguenther@suse.de> PR tree-optimization/79389 * gimple-ssa-split-paths.c (is_feasible_trace): Verify more properly that a threading opportunity exists. Detect conditional copy/constant propagation opportunities. * gcc.dg/tree-ssa/split-path-10.c: New testcase. From-SVN: r245696
Richard Biener committed -
From-SVN: r245695
GCC Administrator committed
-
- 23 Feb, 2017 16 commits
-
-
/cp 2017-02-23 Paolo Carlini <paolo.carlini@oracle.com> PR c++/79361 * pt.c (register_specialization): Check duplicate_decls return value for error_mark_node and pass it back. /testsuite 2017-02-23 Paolo Carlini <paolo.carlini@oracle.com> PR c++/79361 * g++.dg/cpp0x/pr79361-1.C: New. * g++.dg/cpp0x/pr79361-2.C: Likewise. From-SVN: r245692
Paolo Carlini committed -
* config/visium/visium.md (type): Add trap. (b): New mode attribute. (*btst): Rename into... (*btst<mode>): ...this and adjust. (*cbranchsi4_btst_insn): Rename into... (*cbranch<mode>4_btst_insn): ...this and adjust. (trap): New define_insn. From-SVN: r245691
Eric Botcazou committed -
PR tree-optimization/79389 * ifcvt.c (struct noce_if_info): Add rev_cond field. (noce_reversed_cond_code): New function. (noce_emit_store_flag): Use rev_cond if non-NULL instead of reversed_comparison_code. Formatting fix. (noce_try_store_flag): Test rev_cond != NULL in addition to reversed_comparison_code. (noce_try_store_flag_constants): Likewise. (noce_try_store_flag_mask): Likewise. (noce_try_addcc): Use rev_cond if non-NULL instead of reversed_comparison_code. (noce_try_cmove_arith): Likewise. Formatting fixes. (noce_try_minmax, noce_try_abs): Clear rev_cond. (noce_find_if_block): Initialize rev_cond. (find_cond_trap): Call noce_get_condition with then_bb == trap_bb instead of false as last argument never attempt to reverse it afterwards. From-SVN: r245690
Jakub Jelinek committed -
2017-01-21 Bin Cheng <bin.cheng@arm.com> PR tree-optimization/79663 * tree-predcom.c (combine_chains): Process refs in reverse order only for ZERO length chains, and add explaining comment. From-SVN: r245689
Bin Cheng committed -
PR tree-optimization/79578 * tree-ssa-dse.c (clear_bytes_written_by): Use OEP_ADDRESS_OF in call to operand_equal_p. From-SVN: r245688
Jeff Law committed -
* include/experimental/iterator: Include <iterator>. * testsuite/experimental/iterator/requirements.cc: Check for contents of <iterator>. From-SVN: r245686
Jonathan Wakely committed -
gcc/testsuite/ChangeLog: 2017-02-23 Dominik Vogt <vogt@linux.vnet.ibm.com> PR 68749 * gcc.dg/ifcvt-4.c: Disable for -m31, use -march=z196. From-SVN: r245684
Dominik Vogt committed -
2017-02-23 Richard Biener <rguenther@suse.de> PR c/79684 * gimple-parser.c (c_parser_gimple_statement): Use set_error to initialize c_exprs to return. (c_parser_gimple_binary_expression): Likewise. (c_parser_gimple_unary_expression): Likewise. (c_parser_gimple_postfix_expression): Likewise. From-SVN: r245681
Richard Biener committed -
re PR target/71017 (libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int') 2017-01-23 Dominique d'Humieres <dominiq@lps.ens.fr> PR target/71017 * config/i386/cpuid.h: Fix another undefined behavior. From-SVN: r245680
Dominique d'Humieres committed -
2017-02-23 Richard Biener <rguenther@suse.de> PR tree-optimization/79683 * tree-vect-stmts.c (vect_analyze_stmt): Do not overwrite vector types for data-refs. * gcc.target/i386/pr79683.c: New testcase. From-SVN: r245679
Richard Biener committed -
From-SVN: r245678
Martin Liska committed -
2017-02-23 Martin Liska <mliska@suse.cz> * params.def (PARAM_MIN_NONDEBUG_INSN_UID): Change default to 0. From-SVN: r245677
Martin Liska committed -
PR middle-end/79665 * internal-fn.c (get_range_pos_neg): Moved to ... * tree.c (get_range_pos_neg): ... here. No longer static. * tree.h (get_range_pos_neg): New prototype. * expr.c (expand_expr_real_2) <case TRUNC_DIV_EXPR>: If both arguments are known to be in between 0 and signed maximum inclusive, try to expand both unsigned and signed divmod and use the cheaper one from those. From-SVN: r245676
Jakub Jelinek committed -
PR tree-optimization/79578 * tree-ssa-dse.c (clear_bytes_written_by): Use operand_equal_p to compare base operands. PR tree-optimization/79578 * g++.dg/tree-ssa/ssa-dse-3.C: New test. From-SVN: r245675
Jeff Law committed -
PR c++/79679 - missing destructor for argument * call.c (build_over_call): Don't pass tf_no_cleanup to argument conversions. From-SVN: r245672
Jason Merrill committed -
From-SVN: r245671
GCC Administrator committed
-
- 22 Feb, 2017 13 commits
-
-
The fsel define_insn uses fpr_reg_operand for its predicates. This won't work because passes can put a hard register in the operands: in the testcase, combine likes to forward the parameter registers to what then is still an smin, and then split1 uses "*s<minmax><mode>3_fpr" (which has gpc_reg_operand). And then we have a GPR in the operand, which does not match fpr_reg_operand. It seems to me the predicates should be gpc_reg_operand here as well. This patch changes that. PR target/79211 * config/rs6000/rs6000.md (*fsel<SFDF:mode><SFDF2:mode>4): Use gpc_reg_operand instead of fpr_reg_operand. From-SVN: r245667
Segher Boessenkool committed -
gcc/ * config/mips/mips.c (mips_return_in_memory): Force FP vector types to be returned in memory for o32 ABI. gcc/testsuite/ * gcc.target/mips/msa-fp-cc.c: New test. From-SVN: r245666
Sameera Deshpande committed -
From-SVN: r245665
Jason Merrill committed -
PR c++/79664 * parser.c (cp_parser_omp_teams, cp_parser_omp_target): Use SET_EXPR_LOCATION on OMP_TARGET/OMP_TEAMS tree. * constexpr.c (potential_constant_expression_1): Handle OMP_*, OACC_* and CILK_* trees. Use error_at with EXPR_LOC_OR_LOC (t, input_location) computed early instead of error, or error_at with location_of (t). * g++.dg/gomp/teams-1.C: Adjust expected diagnostic location. * g++.dg/cpp1y/constexpr-throw.C: Likewise. * g++.dg/gomp/pr79664.C: New test. From-SVN: r245662
Jakub Jelinek committed -
* dwarf2out.c (gen_variable_die): For -gdwarf-5, use DW_TAG_variable instead of DW_TAG_member for static data member declarations and don't set no_linkage_name for static inline data members. (gen_member_die): For -gdwarf-5 don't change DW_TAG_variable to DW_TAG_member. * g++.dg/debug/dwarf2/inline-var-2.C: New test. From-SVN: r245661
Jakub Jelinek committed -
PR c/79662 * c-typeck.c (convert_arguments): Handle error_mark_node. * gcc.dg/enum-incomplete-4.c: New test. From-SVN: r245660
Marek Polacek committed -
2017-02-22 Martin Liska <mliska@suse.cz> * doc/invoke.texi: Replace inequality signs with square brackets for -Wnornalized. 2017-02-22 Martin Liska <mliska@suse.cz> * c.opt: Replace inequality signs with square brackets for -Wnornalized. From-SVN: r245659
Martin Liska committed -
PR c++/79657 * semantics.c (finish_underlying_type): Bail out for incomplete enums. * g++.dg/ext/underlying_type12.C: New test. From-SVN: r245658
Marek Polacek committed -
PR c++/79653 * parser.c (cp_parser_std_attribute_spec): Don't build the attribute if the alignas expression is erroneous. * pt.c (tsubst_attribute): If tsubst_pack_expansion fails, return error_mark_node. * g++.dg/cpp0x/alignas10.C: New test. * g++.dg/cpp0x/alignas9.C: New test. From-SVN: r245657
Marek Polacek committed -
re PR tree-optimization/68644 (FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI <p_" 1) 2017-02-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/68644 * gcc.dg/tree-ssa/ivopts-lt-2.c: Skip for powerpc*-*-*. From-SVN: r245656
Bill Schmidt committed -
gcc/ PR target/78660 * lra-constraints.c (simplify_operand_subreg): Handle WORD_REGISTER_OPERATIONS targets. From-SVN: r245655
Matthew Fortune committed -
PR target/70465 * reg-stack.c (emit_swap_insn): Treat (float_extend:?F (mem:?F)) and (const_double:?F) like (mem:?F) for the purpose of fxch %st(1) elimination by swapping fld*. * gcc.target/i386/pr70465-2.c: New test. From-SVN: r245654
Jakub Jelinek committed -
* gcc.dg/pr61441.c: Use dg-add-options ieee. From-SVN: r245652
Uros Bizjak committed
-