- 03 Apr, 2017 17 commits
-
-
gcc: * alias.c (base_alias_check): Fix typo in comment. * cgraph.h (class ipa_polymorphic_call_context): Likewise. * cgraphunit.c (symbol_table::compile): Likewise. * collect2.c (maybe_run_lto_and_relink): Likewise. * config/arm/arm.c (arm_thumb1_mi_thunk): Likewise. * config/avr/avr-arch.h (avr_arch_info_t): Likewise. * config/avr/avr.c (avr_map_op_t): Likewise. * config/cr16/cr16.h (DATA_ALIGNMENT): Likewise. * config/epiphany/epiphany.c (TARGET_ARG_PARTIAL_BYTES): Likewise. * config/epiphany/epiphany.md (movcc): Likewise. * config/i386/i386.c (legitimize_pe_coff_extern_decl): Likewise. * config/m68k/m68k.c (struct _sched_ib, m68k_sched_variable_issue): Likewise. * config/mips/mips.c (mips_save_restore_reg): Likewise. * config/rx/rx.c (rx_is_restricted_memory_address): Likewise. * config/s390/s390.c (Z10_EARLYLOAD_DISTANCE): Likewise. * config/sh/sh.c (sh_rtx_costs): Likewise. * fold-const.c (fold_truth_andor): Likewise. * genautomata.c (collapse_flag): Likewise. * gengtype.h (struct type::u::s): Likewise. * gensupport.c (has_subst_attribute, add_mnemonic_string): Likewise. * input.c (FORMAT_AMOUNT): Likewise. * ipa-cp.c (class ipcp_lattice, agg_replacements_to_vector) (known_aggs_to_agg_replacement_list): Likewise. * ipa-inline-analysis.c: Likewise. * ipa-inline.h (estimate_edge_time, estimate_edge_hints): Likewise. * ipa-polymorphic-call.c (ipa_polymorphic_call_context::restrict_to_inner_class): Likewise. * loop-unroll.c (analyze_insn_to_expand_var): Likewise. * lra.c (lra_optional_reload_pseudos, lra_subreg_reload_pseudos): Likewise. * modulo-sched.c (apply_reg_moves): Likewise. * omp-expand.c (build_omp_regions_1): Likewise. * trans-mem.c (struct tm_wrapper_hasher): Likewise. * tree-ssa-loop-ivopts.c (may_eliminate_iv): Likewise. * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Likewise. * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise. * value-prof.c: Likewise. * var-tracking.c (val_reset): Likewise. gcc/ada: * doc/gnat_ugn/gnat_and_program_execution.rst: Fix typo. * g-socket.adb (To_Host_Entry): Fix typo in comment. * gnat_ugn.texi: Fix typo. * raise.c (_gnat_builtin_longjmp): Fix capitalization in comment. * s-stposu.adb (Allocate_Any_Controlled): Fix typo in comment. * sem_ch3.adb (Build_Derived_Record_Type): Likewise. * sem_util.adb (Mark_Coextensions): Likewise. * sem_util.ads (Available_Full_View_Of_Component): Likewise. gcc/c: * c-array-notation.c: Fix typo in comment. gcc/c-family: * c-warn.c (do_warn_double_promotion): Fix typo in comment. gcc/cp: * class.c (update_vtable_entry_for_fn): Fix typo in comment. * decl2.c (one_static_initialization_or_destruction): Likewise. * name-lookup.c (store_bindings): Likewise. * parser.c (make_call_declarator): Likewise. * pt.c (check_explicit_specialization): Likewise. gcc/testsuite: * g++.old-deja/g++.benjamin/scope02.C: Fix typo in comment. * gcc.dg/20031012-1.c: Likewise. * gcc.dg/ipa/ipcp-1.c: Likewise. * gcc.dg/torture/matrix-3.c: Likewise. * gcc.target/powerpc/ppc-spe.c: Likewise. * gcc.target/rx/zero-width-bitfield.c: Likewise. libcpp: * include/line-map.h (LINEMAPS_MACRO_MAPS): Fix typo in comment. * lex.c (search_line_fast): Likewise. * pch.h (cpp_valid_state): Likewise. libdecnumber: * decCommon.c (decFloatFromPackedChecked): Fix typo in comment. * decNumber.c (decNumberPower, decMultiplyOp): Likewise. libgcc: * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment. libitm: * libitm_i.h (sutrct gtm_thread): Fix typo in comment. From-SVN: r246664
Jonathan Wakely committed -
PR c++/69487 - wrong VLA initialization from string * init.c (finish_length_check): Split out from build_vec_init. (build_vec_init): Handle STRING_CST. * typeck2.c (split_nonconstant_init): Handle STRING_CST. (digest_init_r): Don't give a STRING_CST VLA type. From-SVN: r246662
Jason Merrill committed -
* doc/xml/manual/status_cxx2017.xml: Remove duplicate table entry. * doc/html/*: Regenerate. From-SVN: r246661
Jonathan Wakely committed -
* testsuite/20_util/reference_wrapper/invoke.cc: Uncomment tests that no longer fail. From-SVN: r246658
Jonathan Wakely committed -
* include/bits/ios_base.h: Correct comment. * testsuite/util/testsuite_hooks.h: Likewise. From-SVN: r246657
Jonathan Wakely committed -
* doc/xml/manual/status_cxx2017.xml: Update C++17 status table. * doc/xml/manual/appendix_contributing.xml (contrib.organization): Add directories for debug, parallel and profile headers. * doc/html/*: Regenerate. From-SVN: r246656
Jonathan Wakely committed -
* include/bits/char_traits.h (__gnu_cxx::char_traits): Add _GLIBCXX14_CONSTEXPR on assign, compare, find, and length. (std::char_traits<char>, std::char_traits<wchar_t>): Add _GLIBCXX17_CONSTEXPR on assign. (std::char_traits<char16_t>, std::char_traits<char32_t>): Add _GLIBCXX17_CONSTEXPR on assign, compare, find, and length. * testsuite/21_strings/char_traits/requirements/ constexpr_functions_c++17.cc: New test. From-SVN: r246655
Jonathan Wakely committed -
PR target/80246 * gcc.target/powerpc/dfp-builtin-1.c: Require hard_dfp, not powerpc_vsx_ok. (std, ld): Limit scan-assembler-times check to lp64. (stwu, stw, lwz): Add scan-assembler-times check for ilp32. * gcc.target/powerpc/dfp-builtin-2.c: Require hard_dfp, not powerpc_vsx_ok. From-SVN: r246654
Peter Bergner committed -
PR libstdc++/79141 * include/bits/stl_pair.h (__nonesuch_no_braces): New. (operator=(typename conditional< __and_<is_copy_assignable<_T1>, is_copy_assignable<_T2>>::value, const pair&, const __nonesuch&>::type)): Change __nonesuch to __nonesuch_no_braces. (operator=(typename conditional< __not_<__and_<is_copy_assignable<_T1>, is_copy_assignable<_T2>>>::value, const pair&, const __nonesuch&>::type)): Likewise. (operator=(typename conditional< __and_<is_move_assignable<_T1>, is_move_assignable<_T2>>::value, pair&&, __nonesuch&&>::type)): Likewise. * testsuite/20_util/pair/79141.cc: New. From-SVN: r246653
Ville Voutilainen committed -
PR target/80246 * gcc.target/powerpc/pr80246.c: Require hard_dfp. From-SVN: r246652
Peter Bergner committed -
* include/std/type_traits (is_aggregate, is_aggregate_v): New. * testsuite/20_util/is_aggregate/requirements/explicit_instantiation.cc: New. * testsuite/20_util/is_aggregate/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_aggregate/value.cc: Likewise. From-SVN: r246651
Ville Voutilainen committed -
re PR tree-optimization/80275 (Poor (but valid) code generated by optimizer passing optimizer list to function) 2017-04-03 Richard Biener <rguenther@suse.de> PR tree-optimization/80275 * fold-const.c (split_address_to_core_and_offset): Handle POINTER_PLUS_EXPR. * g++.dg/opt/pr80275.C: New testcase. From-SVN: r246648
Richard Biener committed -
tree-nested.c (get_descriptor_type): Make sure that the alignment of descriptors is at least equal to that of functions. * tree-nested.c (get_descriptor_type): Make sure that the alignment of descriptors is at least equal to that of functions. From-SVN: r246646
Eric Botcazou committed -
The attached patch removes the XFAIL in attr-alloc_size-11.c on s390. (PR 79356). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 gcc/testsuite/ChangeLog: 2017-04-03 Dominik Vogt <vogt@linux.vnet.ibm.com> PR testsuite/79356 * gcc.dg/attr-alloc_size-11.c: Don't xfail on s390. From-SVN: r246645
Dominik Vogt committed -
This patch fixes the vcond shift testcase that failed since setting PARAM_MIN_VECT_LOOP_BOUND in the s390 backend. gcc/testsuite/ChangeLog: 2017-04-03 Robin Dapp <rdapp@linux.vnet.ibm.com> * gcc.target/s390/vector/vcond-shift.c (foo, foo2, foo3, baz, baf) (bal): Increase iteration count and assume alignment. From-SVN: r246644
Robin Dapp committed -
gcc/testsuite * gcc.dg/tree-ssa/pr71347.c: Add predcom and drop XFAILs. From-SVN: r246643
Bin Cheng committed -
From-SVN: r246642
GCC Administrator committed
-
- 02 Apr, 2017 5 commits
-
-
2017-04-02 Andrew Pinski <apinski@cavium.com> * gcc.c-torture/compile/nested-3.c: New testcase. * gcc.c-torture/execute/20170401-1.c: New testcase. * gcc.c-torture/execute/20170401-2.c: New testcase. From-SVN: r246639
Andrew Pinski committed -
* config/i386/sse.md (movdi_to_sse): Add missing DONE. From-SVN: r246638
Uros Bizjak committed -
re PR target/80250 (ICE in in final_scan_insn, at final.c:3025 for __builtin_ia32_vp4dpwssds_mask builtin) PR target/80250 * config/i386/sse.md (mov<IMOD4:mode>): Remove insn pattern. (mov<IMOD4:mode>): New expander. (*mov<IMOD4:mode>_internal): New insn and split pattern. From-SVN: r246637
Uros Bizjak committed -
2017-04-01 Jonathan Yong <10walls@gmail.com> * ssp.c (__guard_setup): Suppress unused variable warning. From-SVN: r246636
Jonathan Yong committed -
From-SVN: r246635
GCC Administrator committed
-
- 01 Apr, 2017 1 commit
-
-
From-SVN: r246630
GCC Administrator committed
-
- 31 Mar, 2017 17 commits
-
-
PR rtl-optimization/79405 * fwprop.c (propagations_left): New variable. (forward_propagate_into): Decrement it. (fwprop_init): Initialize it. (fw_prop): If the variable has reached zero, stop propagating. (fwprop_addr): Ditto. gcc/testsuite/ PR rtl-optimization/79405 gcc.dg/pr79405.c: New testcase. From-SVN: r246627
Segher Boessenkool committed -
PR debug/79255 * dwarf2out.c (decls_for_scope): If BLOCK_NONLOCALIZED_VAR is a FUNCTION_DECL, pass it as decl instead of origin to process_scope_var. * gcc.dg/pr79255.c: New test. From-SVN: r246622
Jakub Jelinek committed -
PR c++/79572 * c-ubsan.h (ubsan_maybe_instrument_reference): Change argument to tree *. * c-ubsan.c (ubsan_maybe_instrument_reference): Likewise. Handle not just NOP_EXPR to REFERENCE_TYPE, but also INTEGER_CST with REFERENCE_TYPE. * cp-gimplify.c (cp_genericize_r): Sanitize INTEGER_CSTs with REFERENCE_TYPE. Adjust ubsan_maybe_instrument_reference caller for NOP_EXPR to REFERENCE_TYPE. * g++.dg/ubsan/null-8.C: New test. From-SVN: r246621
Jakub Jelinek committed -
* config/nvptx/nvptx.c (nvptx_output_softstack_switch): Correct format string. From-SVN: r246620
Alexander Monakov committed -
PR target/80107 * config/rs6000/rs6000.md (extendhi<mode>2): Add test for TARGET_VSX_SMALL_INTEGER. * gfortran.dg/pr80107.f: New. From-SVN: r246619
Pat Haugen committed -
PR tree-optimization/49498 * gcc.dg/uninit-pred-8_b.c: Reenable DOM. From-SVN: r246618
Jeff Law committed -
extend.texi (PowerPC AltiVec Built-in Functions): Add reference to the OpenPOWER 64-Bit ELF V2 ABI Specification. 2017-03-31 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * doc/extend.texi (PowerPC AltiVec Built-in Functions): Add reference to the OpenPOWER 64-Bit ELF V2 ABI Specification. From-SVN: r246617
Bill Schmidt committed -
gcc/c-family/ChangeLog: PR documentation/78732 * c.opt (Wendif-labels): Fix description to refer to #else rather than #elif. From-SVN: r246616
David Malcolm committed -
This fixes a build-failure with gcc.c-torture/execute/20050604-1.c when using -mabi=32 -mmsa -mno-odd-spreg. gcc/ * config/mips/mips-msa.md (msa_vec_extract_<msafmt_f>): Update extraction from odd-numbered MSA register. From-SVN: r246613
Matthew Fortune committed -
2017-03-31 Richard Biener <rguenther@suse.de> * gcc.dg/tree-ssa/pr71347.c: Put back XFAIL on sparc. From-SVN: r246612
Richard Biener committed -
2017-03-31 Richard Biener <rguenther@suse.de> * gcc.dg/tree-ssa/pr71347.c: Put back XFAIL. From-SVN: r246611
Richard Biener committed -
PR libstdc++/80251 c-family/ * c-common.h (enum rid): Add RID_IS_AGGREGATE. * c-common.c (c_common_reswords): Add __is_aggregate trait. cp/ * cp-tree.h (enum cp_trait_kind): Add CPTK_IS_AGGREGATE. * cxx-pretty-print.c (pp_cxx_trait_expression): Handle CPTK_IS_AGGREGATE. * semantics.c (trait_expr_value): Handle CPTK_IS_AGGREGATE. Remove extraneous parens. (finish_trait_expr): Handle CPTK_IS_AGGREGATE. * parser.c (cp_parser_primary_expression): Handle RID_IS_AGGREGATE. (cp_parser_trait_expr): Likewise. testsuite/ * g++.dg/ext/is_aggregate.C: New test. From-SVN: r246609
Jakub Jelinek committed -
PR middle-end/80173 * expmed.c (store_bit_field_1): Don't attempt to create a word subreg out of hard registers wider than word if they have HARD_REGNO_NREGS of 1 for their mode. * gcc.target/i386/pr80173.c: New test. From-SVN: r246608
Jakub Jelinek committed -
PR middle-end/80163 * varasm.c (initializer_constant_valid_p_1): Disallow sign-extending conversions to integer types wider than word and pointer. * gcc.dg/pr80163.c: New test. From-SVN: r246607
Jakub Jelinek committed -
re PR debug/80025 (ICE w/ -O2 (-O3, -Ofast) -g -ftracer (infinite recursion in rtx_equal_for_cselib_1)) PR debug/80025 * cselib.h (rtx_equal_for_cselib_1): Add depth argument. (rtx_equal_for_cselib_p): Pass 0 to it. * cselib.c (cselib_hasher::equal): Likewise. (rtx_equal_for_cselib_1): Add depth argument. If depth is 128, don't look up VALUE locs and punt. Increment depth in recursive calls when walking VALUE locs. * gcc.dg/torture/pr80025.c: New test. From-SVN: r246606
Jakub Jelinek committed -
2017-03-31 Bernd Edlinger <bernd.edlinger@hotmail.de> * gcov.c (md5sum_to_hex): Fix output of MD5 hex bytes. (make_gcov_file_name): Use the canonical path name for generating the MD5 value. (read_line): Fix handling of files with ascii null bytes. From-SVN: r246605
Bernd Edlinger committed -
From-SVN: r246604
GCC Administrator committed
-