diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36789dace4b..cff91891957 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,35 @@ +2022-06-29 Sergei Trofimovich + + PR c++/106102 + * system.h: Introduce INCLUDE_PTHREAD_H macros to include . + +2022-06-29 Joseph Myers + + * config/nios2/nios2.cc (nios2_load_pic_address): Use gen_rtx_MEM + not gen_const_mem for UNSPEC_PIC_CALL_SYM. + +2022-06-29 Richard Biener + + PR rtl-optimization/106082 + * combine.cc (distribute_notes): Preserve notes when + they indicate a call doesn't perform a non-local goto. + +2022-06-29 Richard Biener + + PR tree-optimization/106112 + * tree-ssa-sccvn.cc (valueized_wider_op): Properly extend + a constant operand according to its type. + +2022-06-29 Martin Liska + + * doc/invoke.texi: Remove removed evrp-mode. + +2022-06-29 Lulu Cheng + + PR target/106097 + * config/loongarch/loongarch.cc (loongarch_build_integer): + Remove undefined behavior from code. + 2022-06-28 Dimitar Dimitrov * doc/sourcebuild.texi: Document new no_alignment_constraints diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index f15a0aa76a8..b03df3b8b85 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220629 +20220630 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index d7bdd16f7bd..5d68cc63308 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2022-06-29 Nathan Sidwell + + * module.cc (macro_info, macro_traits, macro_table, + macro_remap): Rename to ... + (macro_loc_info, macro_loc_traits, macro_loc_table, + macro_loc_remap): ... these. Update all uses. + (module_state::write_prepare_maps): Remove unneeded macro checking. + (module_state::write_begin): Free macro_loc_remap. + 2022-06-27 Sergei Trofimovich PR c++/106102 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 796d71aa88b..81531a4e358 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,50 @@ +2022-06-29 Iain Buclaw + + PR d/106139 + * d-convert.cc (convert_expr): Handle casting from array to vector. + (convert_for_rvalue): Rewrite vector to array casts of the same + element type into a constructor. + (convert_for_assignment): Return calling convert_for_rvalue. + * expr.cc (ExprVisitor::visit (VectorExp *)): Handle generating a + vector expression from a static array. + * toir.cc (IRVisitor::visit (ReturnStatement *)): Call + convert_for_rvalue on return value. + +2022-06-29 Iain Buclaw + + * intrinsics.cc (build_shuffle_mask_type): Use to_constant when + getting the number of subparts from a vector type. + (expand_intrinsic_vec_shufflevector): Likewise. + +2022-06-29 Iain Buclaw + + * intrinsics.cc: Include diagnostic.h, langhooks.h, + vec-perm-indices.h. + (maybe_set_intrinsic): Add cases for new simd intrinsics. + (warn_mismatched_return_type): New function. + (warn_mismatched_argument): New function. + (build_shuffle_mask_type): New function. + (maybe_warn_intrinsic_mismatch): New function. + (expand_intrinsic_vec_cond): New function. + (expand_intrinsic_vec_convert): New function. + (expand_intrinsic_vec_blend): New function. + (expand_intrinsic_vec_shuffle): New function. + (expand_intrinsic_vec_shufflevector): New function. + (expand_intrinsic_vec_load_unaligned): New function. + (expand_intrinsic_vec_store_unaligned): New function. + (maybe_expand_intrinsic): Check signature of intrinsic before handing + off to front-end lowering. Add cases for new simd intrinsics. + * intrinsics.def (INTRINSIC_LOADUNALIGNED): Define intrinsic. + (INTRINSIC_STOREUNALIGNED): Define intrinsic. + (INTRINSIC_SHUFFLE): Define intrinsic. + (INTRINSIC_SHUFFLEVECTOR): Define intrinsic. + (INTRINSIC_CONVERTVECTOR): Define intrinsic. + (INTRINSIC_BLENDVECTOR): Define intrinsic. + (INTRINSIC_EQUALMASK): Define intrinsic. + (INTRINSIC_NOTEQUALMASK): Define intrinsic. + (INTRINSIC_GREATERMASK): Define intrinsic. + (INTRINSIC_GREATEREQUALMASK): Define intrinsic. + 2022-06-28 Iain Buclaw * d-codegen.cc: Include gimple-expr.h. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 79b3754d271..f349c858aca 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,11 @@ +2022-06-29 Harald Anlauf + Steven G. Kargl + + PR fortran/106121 + * simplify.cc (gfc_simplify_extends_type_of): Do not attempt to + simplify when one of the arguments is a CLASS variable that was + not properly declared. + 2022-06-28 Jakub Jelinek * gfortran.h (gfc_real_info): Add use_iec_60559 bitfield. diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 4cb2d011a72..d16b5735197 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,17 @@ +2022-06-29 Antoni Boucher + + PR jit/105812 + * jit-playback.cc: Use the correct return type when folding in + as_truth_value. + +2022-06-29 Sergei Trofimovich + + PR c++/106102 + * jit-playback.cc: Include via "system.h" to avoid calloc() + poisoning. + * jit-recording.cc: Ditto. + * libgccjit.cc: Ditto. + 2022-06-10 Antoni Boucher PR jit/105829 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e6d5741a24f..f7aa13b5d17 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,52 @@ +2022-06-29 Antoni Boucher + + PR jit/105812 + * jit.dg/test-asm.cc: Add include missing to make the test pass. + * jit.dg/test-pr105812-bool-operations.c: New test. + +2022-06-29 Iain Buclaw + + PR d/106139 + * gdc.dg/pr106139a.d: New test. + * gdc.dg/pr106139b.d: New test. + * gdc.dg/pr106139c.d: New test. + * gdc.dg/pr106139d.d: New test. + +2022-06-29 Harald Anlauf + Steven G. Kargl + + PR fortran/106121 + * gfortran.dg/extends_type_of_4.f90: New test. + +2022-06-29 Richard Biener + + PR tree-optimization/106112 + * gcc.dg/torture/pr106112.c: New testcase. + +2022-06-29 Jan Beulich + + * gcc.target/i386/avx512fp16-reduce-op-2.c: Force SSE2 for i?86. + * gcc.target/i386/pr99464.c: Likewise. + +2022-06-29 Jan Beulich + + * c-c++-common/torture/builtin-shufflevector-2.c: Prune ix86 MMX + ABI warning. + +2022-06-29 Iain Buclaw + + * gdc.dg/Wbuiltin_declaration_mismatch.d: Rename to... + * gdc.dg/Wbuiltin_declaration_mismatch1.d: ...this. + * gdc.dg/Wbuiltin_declaration_mismatch2.d: New test. + * gdc.dg/torture/simd_blendvector.d: New test. + * gdc.dg/torture/simd_cond.d: New test. + * gdc.dg/torture/simd_convertvector.d: New test. + * gdc.dg/torture/simd_load.d: New test. + * gdc.dg/torture/simd_logical.d: New test. + * gdc.dg/torture/simd_shuffle.d: New test. + * gdc.dg/torture/simd_shufflevector.d: New test. + * gdc.dg/torture/simd_store.d: New test. + 2022-06-28 Iain Buclaw * gdc.dg/attr_simd1.d: New test. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index b3bb07fa577..d1b2b2c9844 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,27 @@ +2022-06-29 Jakub Jelinek + + * mk-kinds-h.sh: Change __float128 to _Float128 in a comment. + * acinclude.m4 (LIBGFOR_CHECK_MATH_IEEE128): Use _Float128 instead of + __float128. + * libgfortran.h (isnan): Change __float128 to _Float128 in a comment. + (__acoshieee128, __acosieee128, __asinhieee128, __asinieee128, + __atan2ieee128, __atanhieee128, __atanieee128, __copysignieee128, + __coshieee128, __cosieee128, __erfcieee128, __erfieee128, + __expieee128, __fabsieee128, __fmaieee128, __fmodieee128, __jnieee128, + __log10ieee128, __logieee128, __powieee128, __sinhieee128, + __sinieee128, __sqrtieee128, __tanhieee128, __tanieee128, + __ynieee128, __strtoieee128): Use _Float128 instead of __float128. + * configure: Regenerated. + +2022-06-29 Jakub Jelinek + + PR bootstrap/106137 + * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Adjust comment. + Also test for __float128. + (HAVE_FLOAT128): Adjust description. + * config.h.in: Regenerated. + * configure: Regenerated. + 2022-06-28 Jakub Jelinek * configure.ac: Check for strtof128 and strfromf128. diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 8bfe21a8f71..8b2cc4b5041 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,9 @@ +2022-06-29 Iain Buclaw + + * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add gcc/simd.d. + * libdruntime/Makefile.in: Regenerate. + * libdruntime/gcc/simd.d: New file. + 2022-06-28 Iain Buclaw * libdruntime/gcc/attributes.d (simd): Define.