- 16 Mar, 2018 19 commits
-
-
2018-03-16 Vladimir Makarov <vmakarov@redhat.com> PR target/84876 * lra-assigns.c (lra_split_hard_reg_for): Don't use regno_allocno_class_array and sorted_pseudos. * lra-constraints.c (spill_hard_reg_in_range): Ignore hard regs in insns where regno is used. 2018-03-16 Vladimir Makarov <vmakarov@redhat.com> PR target/84876 * gcc.target/i386/pr84876.c: New test. From-SVN: r258602
Vladimir Makarov committed -
From-SVN: r258601
Joseph Myers committed -
From-SVN: r258599
Joseph Myers committed -
2018-03-16 Martin Liska <mliska@suse.cz> PR ipa/84833 * multiple_target.c (create_dispatcher_calls): Redirect reference in the symbol table. 2018-03-16 Martin Liska <mliska@suse.cz> PR ipa/84833 * gcc.target/i386/mvc11.c: New test. From-SVN: r258596
Martin Liska committed -
2018-03-16 Martin Liska <mliska@suse.cz> PR ipa/84722 * multiple_target.c (create_dispatcher_calls): Redirect also an alias. 2018-03-16 Martin Liska <mliska@suse.cz> PR ipa/84722 * gcc.target/i386/mvc10.c: New test. From-SVN: r258595
Martin Liska committed -
* call.c (build_special_member_call): Don't convert an init-list argument directly to the class type. From-SVN: r258594
Jason Merrill committed -
PR c++/79937 PR c++/82410 * tree.h (TARGET_EXPR_NO_ELIDE): Define. * gimplify.c (gimplify_modify_expr_rhs): Don't elide TARGET_EXPRs with TARGET_EXPR_NO_ELIDE flag set unless *expr_p is INIT_EXPR. * cp-tree.h (CONSTRUCTOR_PLACEHOLDER_BOUNDARY): Define. (find_placeholder): Declare. * tree.c (struct replace_placeholders_t): Add exp member. (replace_placeholders_r): Don't walk into ctors with CONSTRUCTOR_PLACEHOLDER_BOUNDARY flag set, unless they are equal to d->exp. Replace PLACEHOLDER_EXPR with unshare_expr (x) rather than x. (replace_placeholders): Initialize data.exp. (find_placeholders_r, find_placeholders): New functions. * typeck2.c (process_init_constructor_record, process_init_constructor_union): Set CONSTRUCTOR_PLACEHOLDER_BOUNDARY if adding NSDMI on which find_placeholder returns true. * call.c (build_over_call): Don't call replace_placeholders here. * cp-gimplify.c (cp_genericize_r): Set TARGET_EXPR_NO_ELIDE on TARGET_EXPRs with CONSTRUCTOR_PLACEHOLDER_BOUNDARY set on TARGET_EXPR_INITIAL. (cp_fold): Copy over CONSTRUCTOR_PLACEHOLDER_BOUNDARY bit to new ctor. * g++.dg/cpp1y/pr79937-1.C: New test. * g++.dg/cpp1y/pr79937-2.C: New test. * g++.dg/cpp1y/pr79937-3.C: New test. * g++.dg/cpp1y/pr79937-4.C: New test. * g++.dg/cpp1y/pr82410.C: New test. From-SVN: r258593
Jakub Jelinek committed -
* cp-gimplify.c (cp_genericize_r): Replace versioned function with dispatchere here. * call.c (build_over_call): Not here. PR c++/83911 - ICE with multiversioned constructor. From-SVN: r258592
Jason Merrill committed -
re PR c/84873 (ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)) 2018-03-16 Richard Biener <rguenther@suse.de> PR c/84873 * c-gimplify.c (c_gimplify_expr): Revert previous change. Instead unshare the possibly folded expression. From-SVN: r258591
Richard Biener committed -
2018-03-16 Tom de Vries <tom@codesourcery.com> * gcc.dg/tree-ssa/pr84512.c: Require effective target vect_int_mult. From-SVN: r258590
Tom de Vries committed -
2018-03-16 Tom de Vries <tom@codesourcery.com> * gcc.dg/builtin-unreachable-6.c: Require effective target label_values. From-SVN: r258589
Tom de Vries committed -
PR c++/84874 * g++.dg/cpp2a/desig8.C: New test. From-SVN: r258588
Jakub Jelinek committed -
gcc/ * doc/invoke.texi (Skylake Server): Add CLWB. Cannonlake): Remove CLWB. From-SVN: r258587
Julia Koval committed -
re PR tree-optimization/84841 (ICE: tree check: expected ssa_name, have real_cst in rewrite_expr_tree_parallel, at tree-ssa-reassoc.c:4624) PR tree-optimization/84841 * tree-ssa-reassoc.c (INTEGER_CONST_TYPE): Change to 1 << 4 from 1 << 3. (FLOAT_ONE_CONST_TYPE): Define. (constant_type): Return FLOAT_ONE_CONST_TYPE for -1.0 and 1.0. (sort_by_operand_rank): Put entries with higher constant_type last rather than first to match comments. * gcc.dg/pr84841.c: New test. From-SVN: r258586
Jakub Jelinek committed -
PR c++/84874 * decl.c (reshape_init_class): Don't assert d->cur->index == field if d->cur->index is a FIELD_DECL, instead set field to d->cur->index. * g++.dg/cpp2a/desig7.C: New test. From-SVN: r258585
Jakub Jelinek committed -
Jim MacArthur <jim.macarthur@codethink.co.uk> * gfortran.dg/automatic_1.f90: New test. * gfortran.dg/automatic_repeat.f90: New test * gfortran.dg/automatic_save.f90: New test. * gfortran.dg/vax_structure.f90: New test. From-SVN: r258584
Mark Doffman committed -
2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/78741 * decl.c (get_proc_name): Check for clash of entry name with subroutine name. 2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/78741 * gfortran.dg/pr78741.f90: New test. From-SVN: r258581
Steven G. Kargl committed -
2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/69395 * decl.c (merge_array_spec): Limit the merging to maximum allowed dimensions, and issue error message if limit is exceeded. 2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/69395 * gfortran.dg/pr69395.f90: New test. From-SVN: r258580
Steven G. Kargl committed -
From-SVN: r258579
GCC Administrator committed
-
- 15 Mar, 2018 20 commits
-
-
2018-03-15 Sandra Loosemore <sandra@codesourcery.com> gcc/ * config/nios2/nios2.md (movsi_internal): Fix thinko in split predicate. From-SVN: r258575
Sandra Loosemore committed -
PR c++/79085 * calls.c (expand_call): For TREE_ADDRESSABLE rettype ignore alignment check and use address of target always. * g++.dg/opt/pr79085.C: New test. From-SVN: r258574
Jakub Jelinek committed -
PR libgfortran/84880 * intrinsics/kill.c (kill): Rename to... (PREFIX (kill)): ... this. Use export_proto_np instead of export_proto. From-SVN: r258571
Jakub Jelinek committed -
Function return thunks shouldn't be aliased to indirect branch thunks since indirect branch thunks are placed in COMDAT section and a COMDAT section with indirect branch may not have function return thunk. This patch generates function return thunks directly. gcc/ PR target/84574 * config/i386/i386.c (indirect_thunk_needed): Update comments. (indirect_thunk_bnd_needed): Likewise. (indirect_thunks_used): Likewise. (indirect_thunks_bnd_used): Likewise. (indirect_return_needed): New. (indirect_return_bnd_needed): Likewise. (output_indirect_thunk_function): Add a bool argument for function return. (output_indirect_thunk_function): Don't generate alias for function return thunk. (ix86_code_end): Call output_indirect_thunk_function to generate function return thunks. (ix86_output_function_return): Set indirect_return_bnd_needed and indirect_return_needed instead of indirect_thunk_bnd_needed and indirect_thunk_needed. gcc/testsuite/ PR target/84574 * gcc.target/i386/ret-thunk-9.c: Expect __x86_return_thunk label instead of __x86_indirect_thunk label. From-SVN: r258569
H.J. Lu committed -
PR c++/84222 * cp-tree.h (cp_warn_deprecated_use): Declare. * tree.c (cp_warn_deprecated_use): New function. * typeck2.c (build_functional_cast): Use it. * decl.c (grokparms): Likewise. (grokdeclarator): Likewise. Temporarily push nested class scope around grokparms call for out of class member definitions. * g++.dg/warn/deprecated.C (T::member3): Change dg-warning to dg-bogus. * g++.dg/warn/deprecated-6.C (T::member3): Likewise. * g++.dg/warn/deprecated-13.C: New test. From-SVN: r258568
Jakub Jelinek committed -
Tested by installing the gcc-locales package and running LANG=de_DE.utf8 go build hello.go Without this change, that fails, as described at https://gcc.gnu.org/PR84765. Reviewed-on: https://go-review.googlesource.com/100737 From-SVN: r258565
Ian Lance Taylor committed -
From-SVN: r258561
David Malcolm committed -
2018-03-15 Olga Makhotina <olga.makhotina@intel.com> gcc/ * config/i386/sgxintrin.h (_enclv_u32): New intrinsic. (__enclv_bc, __enclv_cd, __enclv_generic): New definitions. (ERDINFO, ETRACKC, ELDBC, ELDUC): New leaves. gcc/testsuite/ * gcc.target/i386/sgx.c (_enclv_u32): Test new intrinsic. From-SVN: r258560
Olga Makhotina committed -
gcc/testsuite/ChangeLog: PR c/84852 * gcc.dg/fixits-pr84852-1.c: Fix filename in dg-regexp. From-SVN: r258559
David Malcolm committed -
I was a bit over-enthusiastic, we still support xilinxfp. * config/rs6000/rs6000.c (abi_v4_pass_in_fpr): Add back the TARGET_DOUBLE_FLOAT and TARGET_SINGLE_FLOAT conditions on the DFmode resp. SFmode cases. From-SVN: r258557
Segher Boessenkool committed -
re PR c/84873 (ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)) 2018-03-15 Richard Biener <rguenther@suse.de> PR c/84873 * c-gimplify.c (c_gimplify_expr): Do not fold expressions. * c-c++-common/pr84873.c: New testcase. From-SVN: r258556
Richard Biener committed -
2018-03-15 Tamar Christina <tamar.christina@arm.com> PR target/84711 * config/arm/arm.c (arm_can_change_mode_class): Use GET_MODE_UNIT_SIZE instead of GET_MODE_SIZE when comparing Units. gcc/testsuite/ 2018-03-15 Tamar Christina <tamar.christina@arm.com> PR target/84711 * gcc.target/arm/big-endian-subreg.c: New. From-SVN: r258554
Tamar Christina committed -
2018-03-15 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> PR target/68256 * varasm.c (hash_section): Return an unchangeble hash value * config/aarch64/aarch64.c (aarch64_use_blocks_for_constant_p): Return !aarch64_can_use_per_function_literal_pools_p (). From-SVN: r258553
Vladimir Mezentsev committed -
PR target/84860 * optabs.c (emit_conditional_move): Pass address of cmode's copy rather than address of cmode as last argument to prepare_cmp_insn. * gcc.c-torture/compile/pr84860.c: New test. From-SVN: r258552
Jakub Jelinek committed -
gcc/ * config/i386/i386.c (F_AVX512VBMI2, F_GFNI, F_VPCLMULQDQ, F_AVX512VNNI, F_AVX512BITALG): New. gcc/testsuite/ * gcc.target/i386/builtin_target.c (check_intel_cpu_model): Add cannonlake. (check_features): Add avx512vbmi2, gfni, vpclmulqdq, avx512vnni, avx512bitalg. libgcc/ * config/i386/cpuinfo.c (get_available_features): Add FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI, FEATURE_AVX512BITALG. * config/i386/cpuinfo.h (processor_features) Add FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI, FEATURE_AVX512BITALG. From-SVN: r258551
Julia Koval committed -
PR c/84853 * c-typeck.c (build_binary_op) <case RSHIFT_EXPR, case LSHIFT_EXPR>: If code1 is INTEGER_TYPE, only allow code0 VECTOR_TYPE if it has INTEGER_TYPE element type. * gcc.dg/pr84853.c: New test. From-SVN: r258550
Jakub Jelinek committed -
* parser.c (cp_parser_make_indirect_declarator): Don't wrap cp_error_declarator. From-SVN: r258549
Jason Merrill committed -
We avoid complaining about unexpanded packs when inside a lambda, since the lambda as a whole could be part of a pack expansion. But that can only be true if the lambda is in a template context. * pt.c (check_for_bare_parameter_packs): Don't return early for a lambda in non-template context. From-SVN: r258548
Jason Merrill committed -
* pt.c (tsubst_baselink): Update the type of the BASELINK after mark_used. From-SVN: r258547
Jason Merrill committed -
From-SVN: r258546
GCC Administrator committed
-
- 14 Mar, 2018 1 commit
-
-
re PR target/83451 (FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)) PR target/83451 * config/pa/pa.c (pa_emit_move_sequence): Always emit secondary reload insn for floating-point loads and stores. From-SVN: r258541
John David Anglin committed
-