- 16 Feb, 2018 6 commits
-
-
PR rtl-optimization/83723 * lra-int.h (lra_substitute_pseudo): Add DEBUG_P argument. * lra.c (lra_substitute_pseudo): Likewise. If true, use gen_rtx_raw_SUBREG instead of gen_rtx_SUBREG. Pass DEBUG_P to recursive calls. (lra_substitute_pseudo_within_insn): Adjust lra_substitute_pseudo callers. * lra-constraints.c (inherit_reload_reg, split_reg): Likewise. * gcc.dg/pr83723.c: New test. From-SVN: r257725
Jakub Jelinek committed -
PR rtl-optimization/81443 * rtlanal.c (num_sign_bit_copies1) <SUBREG>: Do not propagate results from inner REGs to paradoxical SUBREGs. From-SVN: r257724
Eric Botcazou committed -
re PR tree-optimization/84399 ([graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206) 2018-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/84399 * graphite-scop-detection.c (scop_detection::stmt_simple_for_scop_p): For operands we can analyze at their definition make sure we can analyze them at each use as well. * gcc.dg/graphite/pr84399.c: New testcase. From-SVN: r257723
Richard Biener committed -
2018-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/84190 * tree-ssa.c (non_rewritable_mem_ref_base): Do not touch volatile accesses if the decl isn't volatile. * g++.dg/torture/pr84190.C: New testcase. From-SVN: r257721
Richard Biener committed -
* call.c (convert_like_real): Don't use the copy-list-initialization shortcut for ck_base. From-SVN: r257720
Jason Merrill committed -
From-SVN: r257718
GCC Administrator committed
-
- 15 Feb, 2018 22 commits
-
-
gcc/testsuite/ChangeLog: * gcc.dg/lto/README (dg-lto-warning, dg-lto-message): Document new directives. From-SVN: r257714
Martin Sebor committed -
* except.c (build_noexcept_spec): Use strip_typedefs_expr. From-SVN: r257713
Jason Merrill committed -
2018-02-15 Janus Weil <janus@gcc.gnu.org> PR fortran/84409 * interface.c (check_dtio_arg_TKR_intent): Add a check for character length. 2018-02-15 Janus Weil <janus@gcc.gnu.org> PR fortran/84409 * gfortran.dg/dtio_21.f03: Add an error message. * gfortran.dg/dtio_22.f90: Fix invalid test case. From-SVN: r257711
Janus Weil committed -
PR libstdc++/81797 * configure.ac (INCLUDE_DIR_NOTPARALLEL): Define. * configure: Regenerate. * include/Makefile.am (INCLUDE_DIR_NOTPARALLEL): Add .NOTPARALLEL when defined. * include/Makefile.in: Regenerate. From-SVN: r257710
Jonathan Wakely committed -
* pt.c (dguide_name_p): Check for IDENTIFIER_NODE. From-SVN: r257706
Jason Merrill committed -
2018-02-15 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/84381 * gfortran.dg/stop_shouldfail.f90: New test. From-SVN: r257703
Thomas Koenig committed -
PR fortran/stop_shouldfail.f90: New test. From-SVN: r257702
Thomas Koenig committed -
From-SVN: r257700
Jason Merrill committed -
* pt.c (tsubst_pack_expansion): Fix handling of non-packs in local_specializations. From-SVN: r257699
Jason Merrill committed -
/cp 2018-02-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84330 * constraint.cc (tsubst_constraint_info): Handle an error_mark_node as first argument. /testsuite 2018-02-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84330 * g++.dg/concepts/pr84330.C: New. From-SVN: r257698
Paolo Carlini committed -
PR preprocessor/83708 * macro.c (vaopt_state): Reorder m_last_was_paste before m_state. (vaopt_state::vaopt_state): Adjust. (vaopt_state::update_flags): Add BEGIN and END. (vaopt_state::update): Return them. (copy_paste_flag): Factor out of replace_args. (last_token_is): New. (replace_args): Handle BEGIN and END. Avoid padding there. (tokens_buff_last_token_ptr): Return NULL if no tokens. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r257696
Jason Merrill committed -
* attribs.c (build_type_attribute_qual_variant): Don't clobber TYPE_CANONICAL on an existing type. From-SVN: r257695
Jason Merrill committed -
From-SVN: r257690
Aaron Sawdey committed -
2018-02-15 Tom de Vries <tom@codesourcery.com> * gcc.dg/Wstringop-overflow-3.c: Require effective target alloca. From-SVN: r257687
Tom de Vries committed -
2018-02-15 Tom de Vries <tom@codesourcery.com> * gcc.c-torture/compile/pr84136.c: Require effective target indirect_jumps. From-SVN: r257686
Tom de Vries committed -
PR other/82368 * elf.c (SHT_PROGBITS): Undefine and define. From-SVN: r257685
Jakub Jelinek committed -
PR tree-optimization/84383 * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Don't look at dstoff nor call operand_equal_p if dstbase is NULL. * gcc.c-torture/compile/pr84383.c: New test. From-SVN: r257684
Jakub Jelinek committed -
PR tree-optimization/84334 * match.pd ((A +- CST1) +- CST2 -> A + CST3): If A is also a CONSTANT_CLASS_P, punt. * gcc.dg/pr84334.c: New test. From-SVN: r257683
Jakub Jelinek committed -
From-SVN: r257682
Jason Merrill committed -
gcc/ * config/riscv/riscv.c (riscv_first_stack_step): Move locals after first SMALL_OPERAND check. New local min_second_step. Move assert to where locals are set. Add TARGET_RVC support. * config/riscv/riscv.h (C_SxSP_BITS, SWSP_REACH, SDSP_REACH): New. From-SVN: r257681
Jim Wilson committed -
gcc/ChangeLog: 2018-02-14 Indu Bhagat <indu.bhagat@oracle.com> * doc/invoke.texi: Correct -Wformat-overflow code sample. From-SVN: r257680
Indu Bhagat committed -
From-SVN: r257679
GCC Administrator committed
-
- 14 Feb, 2018 12 commits
-
-
gcc/ChangeLog: PR tree-optimization/83698 * gimple-ssa-warn-restrict.c (builtin_memref::builtin_memref): For arrays constrain the offset range to their bounds. (builtin_access::strcat_overlap): Adjust the bounds of overlap offset. (builtin_access::overlap): Avoid setting the size of overlap if it's already been set. (maybe_diag_overlap): Also consider arrays when deciding what values of offsets to include in diagnostics. gcc/testsuite/ChangeLog: PR tree-optimization/83698 * gcc.dg/Wrestrict-7.c: New test. * c-c++-common/Wrestrict.c: Adjust expected values for strcat. * gcc.target/i386/chkp-stropt-17.c: Same. From-SVN: r257676
Martin Sebor committed -
2018-02-14 Carl Love <cel@us.ibm.com> * gcc.target/powerpc/builtins-4-int128-runnable.c (dg-require-effective-target): Change vsx_hw to p8vector_hw. (dg-options): Change -maltivec -mvsx to -mpower8-vector. From-SVN: r257675
Carl Love committed -
gcc/ChangeLog: PR c/84108 * attribs.c (diag_attr_exclusions): Consider the exclusion(s) that correspond to the kind of a declaration. gcc/testsuite/ChangeLog: PR c/84108 * gcc.dg/Wattributes-8.c: New test. From-SVN: r257674
Martin Sebor committed -
2018-02-14 Janus Weil <janus@gcc.gnu.org> PR fortran/84385 * match.c (gfc_match_select_type): Fix check for selector in SELECT TYPE statement. 2018-02-14 Janus Weil <janus@gcc.gnu.org> PR fortran/84385 * gfortran.dg/allocate_with_source_22.f03: Fix invalid test case. * gfortran.dg/allocate_with_source_23.f90: Ditto. * gfortran.dg/select_type_1.f03: Extend test case. From-SVN: r257673
Janus Weil committed -
PR target/83984 * config/pa/pa.md: Load address of PIC label using the linkage table if the label is nonlocal. From-SVN: r257672
John David Anglin committed -
* gcc.target/i386/pr57193.c (dg-do): Remove target selector. (dg-options): Use -O2 -msse2 -mno-sse3. From-SVN: r257669
Uros Bizjak committed -
gcc/ChangeLog: 2018-02-14 Kelvin Nilsen <kelvin@gcc.gnu.org> * config/rs6000/rs6000.c (rs6000_option_override_internal): Issue warning message if user requests -maltivec=be. * doc/invoke.texi: Document deprecation of -maltivec=be. gcc/testsuite/ChangeLog: 2018-02-14 Kelvin Nilsen <kelvin@gcc.gnu.org> * gcc.dg/vmx/extract-be-order.c: Disable -maltivec=be warning so this test case still works ok. * gcc.dg/vmx/extract-vsx-be-order.c: Likewise. * gcc.dg/vmx/insert-be-order.c: Likewise. * gcc.dg/vmx/insert-vsx-be-order.c: Likewise. * gcc.dg/vmx/ld-be-order.c: Likewise. * gcc.dg/vmx/ld-vsx-be-order.c: Likewise. * gcc.dg/vmx/lde-be-order.c: Likewise. * gcc.dg/vmx/ldl-be-order.c: Likewise. * gcc.dg/vmx/ldl-vsx-be-order.c: Likewise. * gcc.dg/vmx/merge-be-order.c: Likewise. * gcc.dg/vmx/merge-vsx-be-order.c: Likewise. * gcc.dg/vmx/mult-even-odd-be-order.c: Likewise. * gcc.dg/vmx/pack-be-order.c: Likewise. * gcc.dg/vmx/perm-be-order.c: Likewise. * gcc.dg/vmx/splat-be-order.c: Likewise. * gcc.dg/vmx/splat-vsx-be-order.c: Likewise. * gcc.dg/vmx/st-be-order.c: Likewise. * gcc.dg/vmx/st-vsx-be-order.c: Likewise. * gcc.dg/vmx/ste-be-order.c: Likewise. * gcc.dg/vmx/stl-be-order.c: Likewise. * gcc.dg/vmx/stl-vsx-be-order.c: Likewise. * gcc.dg/vmx/sum2s-be-order.c: Likewise. * gcc.dg/vmx/unpack-be-order.c: Likewise. * gcc.dg/vmx/vsums-be-order.c: Likewise. * gcc.target/powerpc/vec-setup-be-long.c: Likewise. From-SVN: r257668
Kelvin Nilsen committed -
/cp 2018-02-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84350 * pt.c (do_auto_deduction): Don't check the TREE_TYPE of a null init, early return. /testsuite 2018-02-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84350 * g++.dg/cpp0x/auto49.C: New. From-SVN: r257666
Paolo Carlini committed -
https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00850.html gcc/cp/ * decl2.c (mark_vtable_entries): Set input_location to decl's. (c_parse_final_cleanups): Restore input_location after emitting vtables. gcc/testsuite/ * g++.dg/template/instantiate5.C: Adjust required-from loc. From-SVN: r257665
Nathan Sidwell committed -
[testsuite] 2018-02-14 Will Schmidt <will_schmidt@vnet.ibm.com> * gcc.target/powerpc/altivec-consts.c: Update compile stanzas. * gcc.target/powerpc/le-altivec-consts.c: Same. From-SVN: r257664
Will Schmidt committed -
[gcc] 2018-02-14 Will Schmidt <will_schmidt@vnet.ibm.com> PR target/84220 * config/rs6000/rs6000-c.c: Update definitions for ALTIVEC_BUILTIN_VEC_SLD, ALTIVEC_BUILTIN_VEC_SLDW, ALTIVEC_BUILTIN_VEC_XXPERMDI builtins. [testsuite] 2018-02-14 Will Schmidt <will_schmidt@vnet.ibm.com> PR target/84220 * gcc.target/powerpc/pr84220-sld.c: New test. * gcc.target/powerpc/pr84220-sld2.c: New test. * gcc.target/powerpc/pr84220-sldw.c: New test. * gcc.target/powerpc/pr84220-xxperm.c: New test. * gcc.target/powerpc/pr84220-xxsld.c: New test. From-SVN: r257662
Will Schmidt committed -
Introduce a couple of new CET intrinsics for reading and updating a shadow stack pointer (_get_ssp and _inc_ssp). They replace the existing _rdssp[d|q] and _incssp[d|q] instrinsics. PR target/84239 * gcc/config/i386/cetintrin.h: Remove _rdssp[d|q] and add _get_ssp intrinsics. Remove argument from __builtin_ia32_rdssp[d|q]. * gcc/config/i386/i386-builtin-types.def: Add UINT_FTYPE_VOID. * gcc/config/i386/i386-builtin.def: Remove argument from __builtin_ia32_rdssp[d|q]. * gcc/config/i386/i386.c: Use UINT_FTYPE_VOID. Use ix86_expand_special_args_builtin for _rdssp[d|q]. * gcc/config/i386/i386.md: Remove argument from rdssp[si|di] insn. Clear register before usage. * doc/extend.texi: Remove argument from __builtin_ia32_rdssp[d|q]. Add documentation for new _get_ssp and _inc_ssp intrinsics. * testsuite/gcc.target/i386/cet-intrin-3.c: Use new _get_ssp and _inc_ssp intrinsics. * testsuite/gcc.target/i386/cet-intrin-4.c: Likewise. * testsuite/gcc.target/i386/cet-rdssp-1.c: Remove argument from __builtin_ia32_rdssp[d|q]. * libgcc/config/i386/shadow-stack-unwind.hi (_Unwind_Frames_Extra): Use new _get_ssp and _inc_ssp intrinsics. From-SVN: r257660
Igor Tsimbalist committed
-