- 22 Feb, 2017 15 commits
-
-
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 -
* ChangeLog: Add missing entry. * testsuite/ChangeLog: Ditto. From-SVN: r245651
Uros Bizjak committed -
2017-02-22 Richard Biener <rguenther@suse.de> PR tree-optimization/79673 * tree-ssa-pre.c (compute_avail): Use wide_int_to_tree to convert the [TARGET_]MEM_REF offset INTEGER_CST, scrapping off irrelevant address-space qualifiers and avoiding a ADDR_SPACE_CONVERT_EXPR from fold_convert. * gcc.target/i386/pr79673.c: New testcase. From-SVN: r245649
Richard Biener committed -
re PR tree-optimization/79666 (wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)) 2017-02-22 Richard Biener <rguenther@suse.de> PR tree-optimization/79666 * tree-vrp.c (extract_range_from_binary_expr_1): Make sure to not symbolically negate if that may introduce undefined overflow. * gcc.dg/torture/pr79666.c: New testcase. From-SVN: r245648
Richard Biener committed -
2017-02-22 Martin Liska <mliska@suse.cz> PR lto/79587 * data-streamer-in.c (streamer_read_gcov_count): Remove assert. * data-streamer-out.c (streamer_write_gcov_count_stream): Likewise. * value-prof.c (stream_out_histogram_value): Make assert more precise based on type of counter. 2017-02-22 Martin Liska <mliska@suse.cz> PR lto/79587 * gcc.dg/tree-prof/pr79587.c: New test. From-SVN: r245647
Martin Liska committed -
From-SVN: r245646
GCC Administrator committed
-
- 21 Feb, 2017 25 commits
-
-
PR c++/17729 - duplicate deprecated warning * semantics.c (finish_id_expression): Only call mark_used on a function if we aren't building a call. From-SVN: r245643
Jason Merrill committed -
* pt.c (process_partial_specialization): For now, don't check more specialized if there is more than one level of args. From-SVN: r245642
Jason Merrill committed -
PR c++/79535 * cp-tree.h (maybe_reject_flexarray_init): Declare. * init.c (maybe_reject_flexarray_init): No longer static. Add check for current_function_decl. * parser.c (cp_parser_late_parse_one_default_arg): Reject a default mem-initializer for a flexible array. * g++.dg/ext/flexary23.C: New test. From-SVN: r245641
Marek Polacek committed -
PR target/79593 * config/i386/i386.md (standard_x87sse_constant_load splitter): Use nonimmediate_operand instead of memory_operand for operand 1. (float-extend standard_x87sse_constant_load splitter): Ditto. testsuite/ChangeLog: PR target/79593 * gcc.target/i386/pr79593.c: New test. From-SVN: r245640
Uros Bizjak committed -
PR c++/79654 * decl.c (cp_finish_decomp): Don't set decl's type to error_mark_node on error. * pt.c (tsubst_decomp_names): Return error_mark_node if the first decl after the decomposition artificial decl has error_mark_node. * decl2.c (prune_vars_needing_no_initialization): Use error_operand_p instead of just == error_mark_node comparison. * g++.dg/cpp1z/decomp26.C: New test. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r245639
Jakub Jelinek committed -
PR sanitizer/79589 * decl.c: Include gimplify.h. (cp_finish_decomp): Make sure there is no sharing of trees in between DECL_VALUE_EXPR of decomposition decls. * g++.dg/ubsan/pr79589.C: New test. From-SVN: r245638
Jakub Jelinek committed -
PR tree-optimization/79621 * gimple-ssa-isolate-paths.c (find_implicit_erroneous_behavior): Ignore blocks with edges to themselves. PR tree-optimization/79621 * gcc.c-torture/compile/pr79621.c: New test. From-SVN: r245637
Jeff Law committed -
PR c++/79655 * constexpr.c (cxx_eval_array_reference): Diagnose negative subscript. * g++.dg/cpp1y/constexpr-79655.C: New test. From-SVN: r245636
Jakub Jelinek committed -
PR c++/79639 * constexpr.c (cxx_eval_store_expression): If *valp is a PTRMEM_CST, call cplus_expand_constant on it first. * g++.dg/cpp1y/constexpr-79639.C: New test. From-SVN: r245635
Jakub Jelinek committed -
PR target/79633 * tree-chkp-opt.c (chkp_optimize_string_function_calls): Use is_gimple_call instead of comparing gimple_code with GIMPLE_CALL. Use gimple_call_builtin_p. * gcc.target/i386/mpx/pr79633.c: New test. From-SVN: r245634
Jakub Jelinek committed -
PR target/79570 * sel-sched.c (moveup_expr_cached): Don't call sel_bb_head on temporarily removed DEBUG_INSNs. * gcc.dg/pr79570.c: New test. From-SVN: r245633
Jakub Jelinek committed -
PR c++/79641 * c-attribs.c (handle_mode_attribute): Use build_qualified_type to preserve quals. * c-c++-common/pr79641.c: New test. From-SVN: r245632
Jakub Jelinek committed -
re PR middle-end/79649 (Memset pattern in named address space crashes compiler or generates wrong code) PR tree-optimization/79649 * tree-loop-distribution.c (classify_partition): Give up on non-generic address space loads/stores. * gcc.target/i386/pr79649.c: New test. From-SVN: r245631
Jakub Jelinek committed -
* doc/loop.texi (Loop manipulation): Remove nonexistent tree_ssa_loop_version from the documentation. * cfgloopmanip.c (loop_version): Document CONDITION_BB argument. From-SVN: r245630
Aldy Hernandez committed -
PR target/79494 * config/i386/i386.c (ix86_expand_split_stack_prologue): Call make_reg_eh_region_note_nothrow_nononlocal on call_insn. * config/rs6000/rs6000.c: Include except.h. (rs6000_expand_split_stack_prologue): Call make_reg_eh_region_note_nothrow_nononlocal on the call insn. * gcc.dg/pr79494.c: New test. From-SVN: r245629
Jakub Jelinek committed -
2017-02-21 Martin Jambor <mjambor@suse.cz> PR lto/79579 * ipa-prop.c (ipa_prop_write_jump_functions): Bail out if no edges have been analyzed. From-SVN: r245628
Martin Jambor committed -
2017-02-21 Martin Jambor <mjambor@suse.cz> * common.opt (-fipa-cp-alignment): Mark as ignored and preserved for backward compatibility only. * doc/invoke.texi (Option Summary): Remove all references to -fipa-cp-alignment. From-SVN: r245627
Martin Jambor committed -
gcc/ PR target/78660 Revert: 2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com> * lra-constraints.c (curr_insn_transform): Handle WORD_REGISTER_OPERATIONS requirements when reloading SUBREGs. From-SVN: r245626
Matthew Fortune committed -
Without this the test fails on 32-bit PowerPC. gcc/testsuite/ * gcc.dg/plugin/diagnostic-test-expressions-1.c: Add -Wno-psabi to dg-options. From-SVN: r245625
Segher Boessenkool committed -
2017-02-21 Martin Liska <mliska@suse.cz> * config/i386/i386.opt: Replace -masm-dialect with -masm. From-SVN: r245624
Martin Liska committed -
gcc/ * config/nvptx/nvptx.c (ENTRY_TEMPLATE): Single out "%ntid.y". From-SVN: r245623
Thomas Schwinge committed -
* gcc.dg/gimplefe-26.c: Require c99_runtime. From-SVN: r245622
Kyrylo Tkachov committed -
PR ada/67205 * config/arm/arm.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define. (arm_function_ok_for_sibcall): Return false for an indirect call by descriptor if all the argument registers are used. (arm_relayout_function): Use FUNCTION_ALIGNMENT macro to adjust the alignment of the function. From-SVN: r245621
Eric Botcazou committed -
PR tree-optimization/61441 * simplify-rtx.c (simplify_const_unary_operation): For -fsignaling-nans and sNaN operand, return NULL_RTX rather than the sNaN unmodified. From-SVN: r245620
Jakub Jelinek committed -
PR go/79642 * lang.opt (-fgo-relative-import-path): Change space to tab. From-SVN: r245619
Ian Lance Taylor committed
-