- 11 Feb, 2019 5 commits
-
-
2019-02-11 Martin Liska <mliska@suse.cz> PR ipa/89009 * ipa-cp.c (build_toporder_info): Remove usage of a param. * ipa-inline.c (inline_small_functions): Likewise. * ipa-pure-const.c (propagate_pure_const): Likewise. (propagate_nothrow): Likewise. * ipa-reference.c (propagate): Likewise. * ipa-utils.c (struct searchc_env): Remove unused field. (searchc): Always search across AVAIL_INTERPOSABLE. (ipa_reduced_postorder): Always allow AVAIL_INTERPOSABLE as the only called IPA pure const can properly not propagate across interposable boundary. * ipa-utils.h (ipa_reduced_postorder): Remove param. 2019-02-11 Martin Liska <mliska@suse.cz> PR ipa/89009 * g++.dg/ipa/pr89009.C: New test. From-SVN: r268762
Martin Liska committed -
gcc/ * config/nds32/nds32.md (call_internal, call_value_internal, sibcall_internal, sibcall_value_internal): Use SImode for mem rtx. From-SVN: r268761
Chung-Ju Wu committed -
* config/cris/cris.c (cris_preferred_minimum_alignment): Fix name typo. From-SVN: r268760
Hans-Peter Nilsson committed -
config/i386/constraints.md has (define_register_constraint "Yd" "TARGET_AVX512DQ ? ALL_SSE_REGS : TARGET_SSE4_1 ? SSE_REGS : NO_REGS" "@internal Any EVEX encodable SSE register (@code{%xmm0-%xmm31}) for AVX512DQ target or any SSE register for SSE4_1 target.") Comments for "Yd" should mention AVX512DQ, not AVX512BW. * config/i386/constraints.md (Yd): Replace AVX512BW with AVX512DQ in comments From-SVN: r268759
H.J. Lu committed -
From-SVN: r268758
GCC Administrator committed
-
- 10 Feb, 2019 16 commits
-
-
Fixes hashing of complex reals, enabling testing of rt.util.typeinfo and core.internal.hash. Reviewed-on: https://github.com/dlang/druntime/pull/6837 libphobos/ChangeLog: * Makefile.in: Rebuild. * configure: Rebuild. * libdruntime/Makefile.am: Test rt.util.typeinfo and core.internal.convert. * libdruntime/Makefile.in: Rebuild. * src/Makefile.in: Rebuild. * testsuite/Makefile.in: Rebuild. * testsuite/libphobos.hash/test_hash.d: Update test. From-SVN: r268755
Iain Buclaw committed -
Backported from upstream druntime 2.084 Reviewed-on: https://github.com/dlang/druntime/pull/2469 libphobos/ChangeLog: * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d * libdruntime/Makefile.in: Rebuild. * testsuite/libphobos.aa/aa.exp: New file. * testsuite/libphobos.aa/test_aa.d: New test. * testsuite/libphobos.hash/hash.exp: New file. * testsuite/libphobos.hash/test_hash.d: New test. From-SVN: r268754
Iain Buclaw committed -
2019-02-10 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/71723 * expr.c (gfc_check_assign): Add argument is_init_expr. If we are looking at an init expression, issue error if the target is not a TARGET and we are not looking at a procedure pointer. * gfortran.h (gfc_check_assign): Add optional argument is_init_expr. 2019-02-10 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/71723 * gfortran.dg/pointer_init_2.f90: Adjust error messages. * gfortran.dg/pointer_init_6.f90: Likewise. * gfortran.dg/pointer_init_9.f90: New test. From-SVN: r268749
Thomas Koenig committed -
2019-02-10 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/71237 * expr.c (gfc_check_assign): Add argument is_init_expr. If we are looking at an init expression, issue error if the target is not a TARGET and we are not looking at a procedure pointer. * gfortran.h (gfc_check_assign): Add optional argument is_init_expr. 2019-02-10 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/71237 * gfortran.dg/pointer_init_2.f90: Adjust error messages. * gfortran.dg/pointer_init_6.f90: Likewise. * gfortran.dg/pointer_init_9.f90: New test. From-SVN: r268748
Thomas Koenig committed -
2019-02-10 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/67679 * gfortran.dg/warn_undefined_1.f90: New test. From-SVN: r268747
Thomas Koenig committed -
Fixes a thread deadlock that occurs in the test runner if libcurl is missing. Library fix for https://gcc.gnu.org/PR88654 Reviewed-on: https://github.com/dlang/phobos/pull/6824 From-SVN: r268746
Iain Buclaw committed -
gcc/ * config.gcc (with_nds32_lib): Set default --with-nds32-lib correctly. From-SVN: r268744
Chung-Ju Wu committed -
PR tree-optimization/89268 * tree-if-conv.c (version_loop_for_if_conversion): Push to preds only if preds is non-NULL. * gcc.dg/vect/pr89268.c: New test. From-SVN: r268743
Jakub Jelinek committed -
PR lto/89272 * tree.c (fld_simplified_type_name): Also keep TYPE_DECL for polymorphic types. From-SVN: r268742
Jan Hubicka committed -
gcc/ * config/nds32/nds32.md (trap): New pattern. From-SVN: r268741
Monk Chiang committed -
Backported fix from upstream dmd 2.079 for an internal compiler error that occurred during semantic analysis on a recursive field initializer. Fixes https://gcc.gnu.org/PR88989 Reviewed-on: https://github.com/dlang/dmd/pull/9284 From-SVN: r268740
Iain Buclaw committed -
gcc/ * config/nds32/nds32.c (nds32_dwarf_register_span): Refine register dwarf span. From-SVN: r268739
Monk Chiang committed -
gcc/ * config/nds32/nds32-md-auxiliary.c (nds32_spilt_doubleword): Support to split POST_INC. From-SVN: r268738
Chung-Ju Wu committed -
* gnat.dg/lto19.adb: Remove dg-excess-errors. From-SVN: r268737
Rainer Orth committed -
Add libbacktrace test-case using -flto. 2019-02-10 Tom de Vries <tdevries@suse.de> * Makefile.am (BUILDTESTS): Add btest_lto. * Makefile.in: Regenerate. * btest.c (test1, f2, f3, test3, f22, f23): Declare with __attribute__((noclone)). From-SVN: r268736
Tom de Vries committed -
From-SVN: r268735
GCC Administrator committed
-
- 09 Feb, 2019 11 commits
-
-
* ipa-visibility.c (localize_node): Also do not localize LDPR_PREVAILING_DEF_IRONLY_EXP. From-SVN: r268732
Jan Hubicka committed -
From-SVN: r268729
Jan Hubicka committed -
re PR lto/87089 (tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h) PR lto/87809 * tree.c (fld_simplified_type_name): Use DECL_ASSEMBLER_NAME_SET_P instead of type_with_linkage. From-SVN: r268728
Jan Hubicka committed -
PR ipa/88755 * params.def (uninlined-function-insns, uninlined-function-time, uninlined-thunk-insns, uninlined-thunk-time): Add artificial upper bound so we don't get overflows. From-SVN: r268727
Jan Hubicka committed -
2019-02-09 Harald Anlauf <anlauf@gmx.de> PR fortran/89077 * resolve.c (gfc_resolve_substring_charlen): Check substring length for constantness prior to general calculation of length. PR fortran/89077 * gfortran.dg/substr_simplify.f90: New test. From-SVN: r268726
Harald Anlauf committed -
rs6000-string.c (expand_compare_loop, [...]): Insert REG_BR_PROB notes in inline expansion of memcmp/strncmp. 2019-02-09 Aaron Sawdey <acsawdey@linux.ibm.com> * config/rs6000/rs6000-string.c (expand_compare_loop, expand_block_compare): Insert REG_BR_PROB notes in inline expansion of memcmp/strncmp. From-SVN: r268724
Aaron Sawdey committed -
PR ipa/88711 * gfortran.dg/pr79966.f90: Xfail everwyhere. From-SVN: r268723
Jan Hubicka committed -
re PR fortran/89200 (Erroneous copying of a derived type with a deferred-length character array component) 2019-02-09 Paul Thomas <pault@gcc.gnu.org> PR fortran/89200 * trans-array.c (gfc_trans_create_temp_array): Set the 'span' field for derived types. 2019-02-09 Paul Thomas <pault@gcc.gnu.org> PR fortran/89200 * gfortran.dg/array_reference_2.f90 : New test. From-SVN: r268721
Paul Thomas committed -
re PR middle-end/89246 (LTO produces references to cloned symbols which the compiler failed to clone) PR middle-end/89246 * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): If !node->definition and TYPE_ARG_TYPES is non-NULL, use TYPE_ARG_TYPES instead of DECL_ARGUMENTS. * gcc.dg/gomp/pr89246-1.c: New test. * gcc.dg/gomp/pr89246-2.c: New test. From-SVN: r268718
Jakub Jelinek committed -
In the standard these member functions are specified in terms of the potentially-throwing path decompositions functions, but we implement them without constructing any new paths or doing anything else that can throw. PR libstdc++/71044 * include/bits/fs_path.h (path::has_root_name) (path::has_root_directory, path::has_root_path) (path::has_relative_path, path::has_parent_path) (path::has_filename, path::has_stem, path::has_extension) (path::is_absolute, path::is_relative, path::_M_find_extension): Add noexcept. * src/c++17/fs_path.cc (path::has_root_name) (path::has_root_directory, path::has_root_path) (path::has_relative_path, path::has_parent_path) (path::has_filename, path::_M_find_extension): Add noexcept. From-SVN: r268713
Jonathan Wakely committed -
From-SVN: r268712
GCC Administrator committed
-
- 08 Feb, 2019 8 commits
-
-
Fixes lack of r30 save/restore on // -m32 -fpic -ftls-model=initial-exec __thread char* p; char** f1 (void) { return &p; } and // -m32 -fpic -msecure-plt extern int foo (int); int f1 (int x) { return foo (x); } These are both caused by save_reg_p returning false when the pic offset table reg (r30 for ABI_V4) was used, due to the logic not exactly matching that in rs6000_emit_prologue to set up r30. I also noticed that save_reg_p isn't following the comment regarding calls_eh_return (since svn 267049, git 0edf78b1b2a0), and the comment needs tweaking too. For why the revised comment is correct, grep for saves_all_registers in lra.c, and yes, we do want to save the pic offset table reg for eh_return. PR target/88343 * config/rs6000/rs6000.c (save_reg_p): Correct calls_eh_return case. Match logic in rs6000_emit_prologue emitting pic_offset_table setup. From-SVN: r268708
Alan Modra committed -
PR tree-optimization/88739 * gcc.c-torture/execute/pr88739.c: New test. From-SVN: r268706
Jakub Jelinek committed -
2019-02-08 Vladimir Makarov <vmakarov@redhat.com> PR middle-end/88560 * lra-constraints.c (process_alt_operands): Don't increase reject for memory when offset memory is required. From-SVN: r268705
Vladimir Makarov committed -
2019-02-08 Jozef Lawrynowicz <jozef.l@mittosystems.com> PR testsuite/89258 * gcc.dg/tree-ssa/pr80887.c: Require int32plus. From-SVN: r268704
Jozef Lawrynowicz committed -
This patch implements the vector copysign operation using vector select and a signbit mask. gcc/ChangeLog: 2019-02-08 Robin Dapp <rdapp@linux.ibm.com> * config/s390/vector.md: Implement vector copysign. gcc/testsuite/ChangeLog: 2019-02-08 Robin Dapp <rdapp@linux.ibm.com> * gcc.target/s390/vector/vec-copysign-execute.c: New test. * gcc.target/s390/vector/vec-copysign.c: New test. From-SVN: r268697
Robin Dapp committed -
* expr.c (expand_constructor): Correct indentations. From-SVN: r268696
H.J. Lu committed -
2019-02-08 Richard Biener <rguenther@suse.de> PR tree-optimization/89247 * tree-if-conv.c: Include tree-cfgcleanup.h. (version_loop_for_if_conversion): Record LOOP_VECTORIZED call. (tree_if_conversion): Pass through predicate vector. (pass_if_conversion::execute): Do CFG cleanup and SSA update inline, see if any if-converted loops we refrece in LOOP_VECTORIZED calls vanished and fixup. * tree-if-conv.h (tree_if_conversion): Adjust prototype. * gcc.dg/torture/pr89247.c: New testcase. From-SVN: r268689
Richard Biener committed -
Implementation of section anchors in S/390 back-end added in r266741 broke jump labels in S/390 Linux kernel [1]. Currently jump labels pass global variable addresses to .quad directive in inline assembly using "X" constraint. In the past this used to produce regular symbol references, however, after r266741 we sometimes get values like (plus (reg) (const_int)), where (reg) points to a section anchor. Strictly speaking, this is still correct, since "X" accepts anything. Thus, now we need another way to support jump labels. The existing "i" constraint cannot be used, since with -fPIC it must not accept non-local symbols, however, jump labels do require that, e.g. __tracepoint_xdp_exception from kernel proper might be referenced from kernel modules. The existing "ZL" constraint cannot be used for the same reason. The existing "b" constraint cannot be used because of the way expand_asm_stmt works. It deduces whether the constraint allows regs, subregs or mems, and processes asm operands differently based on that. "b" is supposed to accept values like (mem (symbol_ref)), and there appears to be no way to explain to expand_asm_stmt that for "b" mem's address must not be in a register. This patch introduces the new machine-specific constraint named "jdd" - "j" prefix is already used for constants, and "d" stands for "data". It accepts anything that fits into the data section, whether or not this might require a relocation, that is, anything that passes CONSTANT_P check. [1] https://lkml.org/lkml/2019/1/23/346 gcc/ChangeLog: 2019-02-08 Ilya Leoshkevich <iii@linux.ibm.com> * config/s390/constraints.md (jdd): New constraint. gcc/testsuite/ChangeLog: 2019-02-08 Ilya Leoshkevich <iii@linux.ibm.com> * gcc.target/s390/jump-label.c: New test. From-SVN: r268688
Ilya Leoshkevich committed
-