Skip to content

Commit

Permalink
Merge of 6b1d6a2
Browse files Browse the repository at this point in the history
  • Loading branch information
nstester committed Jan 9, 2024
2 parents e14b2f3 + 6b1d6a2 commit c81d0db
Show file tree
Hide file tree
Showing 9 changed files with 291 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-01-08 Joseph Myers <[email protected]>

* MAINTAINERS: Update my email address.

2023-12-30 Joseph Myers <[email protected]>

* MAINTAINERS: Update my email address.
Expand Down
7 changes: 7 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2024-01-08 Jonathan Wakely <[email protected]>

* unicode/README: Add notes about generating libstdc++ tables.
* unicode/GraphemeBreakProperty.txt: New file.
* unicode/emoji-data.txt: New file.
* unicode/gen_libstdcxx_unicode_data.py: New file.

2024-01-05 Jonathan Wakely <[email protected]>

* analyze_brprob.py: Remove stray text at end of comment.
Expand Down
111 changes: 111 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,114 @@
2024-01-08 Ilya Leoshkevich <[email protected]>

PR sanitizer/113251
* varasm.cc (assemble_function_label_raw): Do not call
asan_function_start () without the current function.

2024-01-08 Cupertino Miranda <[email protected]>

PR target/113225
* btfout.cc (btf_collect_datasec): Skip creating BTF info for
extern and kernel_helper attributed function decls.

2024-01-08 Cupertino Miranda <[email protected]>

* btfout.cc (output_btf_strs): Changed.

2024-01-08 Tobias Burnus <[email protected]>

* config/gcn/mkoffload.cc (main): Handle gfx1100
when setting the default XNACK.

2024-01-08 Tobias Burnus <[email protected]>

* config.gcc (amdgcn-*-amdhsa): Accept --with-arch=gfx1100.
* config/gcn/gcn-hsa.h (NO_XNACK): Add gfx1100:
(ASM_SPEC): Handle gfx1100.
* config/gcn/gcn-opts.h (enum processor_type): Add PROCESSOR_GFX1100.
(enum gcn_isa): Add ISA_RDNA3.
(TARGET_GFX1100, TARGET_RDNA2_PLUS, TARGET_RDNA3): Define.
* config/gcn/gcn-valu.md: Change TARGET_RDNA2 to TARGET_RDNA2_PLUS.
* config/gcn/gcn.cc (gcn_option_override,
gcn_omp_device_kind_arch_isa, output_file_start): Handle gfx1100.
(gcn_global_address_p, gcn_addr_space_legitimate_address_p): Change
TARGET_RDNA2 to TARGET_RDNA2_PLUS.
(gcn_hsa_declare_function_name): Don't use '.amdhsa_reserve_flat_scratch'
with gfx1100.
* config/gcn/gcn.h (ASSEMBLER_DIALECT): Likewise.
(TARGET_CPU_CPP_BUILTINS): Define __RDNA3__, __gfx1030__ and
__gfx1100__.
* config/gcn/gcn.md: Change TARGET_RDNA2 to TARGET_RDNA2_PLUS.
* config/gcn/gcn.opt (Enum gpu_type): Add gfx1100.
* config/gcn/mkoffload.cc (EF_AMDGPU_MACH_AMDGCN_GFX1100): Define.
(isa_has_combined_avgprs, main): Handle gfx1100.
* config/gcn/t-omp-device (isa): Add gfx1100.

2024-01-08 Richard Biener <[email protected]>

* doc/invoke.texi (-mmovbe): Clarify.

2024-01-08 Richard Biener <[email protected]>

PR tree-optimization/113026
* tree-vect-loop.cc (vect_need_peeling_or_partial_vectors_p):
Avoid an epilog in more cases.
* tree-vect-loop-manip.cc (vect_do_peeling): Adjust the
epilogues niter upper bounds and estimates.

2024-01-08 Jakub Jelinek <[email protected]>

PR tree-optimization/113228
* gimplify.cc (recalculate_side_effects): Do nothing for SSA_NAMEs.

2024-01-08 Jakub Jelinek <[email protected]>

PR tree-optimization/113120
* gimple-lower-bitint.cc (gimple_lower_bitint): Fix handling of very
large _BitInt zero INTEGER_CST PHI argument.

2024-01-08 Jakub Jelinek <[email protected]>

PR tree-optimization/113119
* gimple-lower-bitint.cc (optimizable_arith_overflow): Punt if
both REALPART_EXPR and cast from IMAGPART_EXPR appear, but cast
is before REALPART_EXPR.

2024-01-08 Georg-Johann Lay <[email protected]>

PR target/112952
* config/avr/avr.cc (avr_handle_addr_attribute): Also print valid
range when diagnosing attribute "io" and "io_low" are out of range.
(avr_eval_addr_attrib): Don't ICE on empty address at that place.
(avr_insert_attributes): Reject if attribute "address", "io" or "io_low"
in contexts other than static storage.
(avr_asm_output_aligned_decl_common): Move output of decls with
attribute "address", "io", and "io_low" to...
(avr_output_addr_attrib): ...this new function.
(avr_asm_asm_output_aligned_bss): Remove output for decls with
attribute "address", "io", and "io_low".
(avr_encode_section_info): Rectify handling of decls with attribute
"address", "io", and "io_low".

2024-01-08 Andrew Stubbs <[email protected]>

* config/gcn/mkoffload.cc (TEST_XNACK_UNSET): New.
(elf_flags): Remove XNACK from the default value.
(main): Set a default XNACK according to the arch.

2024-01-08 Andrew Stubbs <[email protected]>

* config/gcn/mkoffload.cc (isa_has_combined_avgprs): Delete.
(process_asm): Don't count avgprs.

2024-01-08 Hongyu Wang <[email protected]>

* config/i386/i386.opt: Add supported sub-features.
* doc/extend.texi: Add description for target attribute.

2024-01-08 Feng Wang <[email protected]>

* config/riscv/vector.md: Modify avl_type operand index of zvbc ins.

2024-01-07 Roger Sayle <[email protected]>
Uros Bizjak <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion gcc/DATESTAMP
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240108
20240109
6 changes: 6 additions & 0 deletions gcc/fortran/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2024-01-08 Harald Anlauf <[email protected]>

PR fortran/113245
* trans-intrinsic.cc (gfc_conv_intrinsic_size): Use
gfc_conv_expr_present() for proper check of optional DIM argument.

2024-01-06 Harald Anlauf <[email protected]>
José Rui Faustino de Sousa <[email protected]>

Expand Down
59 changes: 59 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
2024-01-08 John David Anglin <[email protected]>

* gcc.dg/tree-ssa/ssa-sink-18.c: xfail dg-final "Sunk statements: 5"
on hppa*64*-*-*.

2024-01-08 John David Anglin <[email protected]>

* gfortran.dg/dec_math.f90: Skip on hppa*-*-hpux*.

2024-01-08 John David Anglin <[email protected]>

PR testsuite/94253
* gfortran.dg/bind_c_coms.f90: Add -fcommon option on hppa*-*-*.
* gfortran.dg/bind_c_vars.f90: Likewise.

2024-01-08 Cupertino Miranda <[email protected]>

* gcc.target/bpf/attr-kernel-helper.c: New test.

2024-01-08 Harald Anlauf <[email protected]>

PR fortran/113245
* gfortran.dg/size_optional_dim_2.f90: New test.

2024-01-08 Richard Biener <[email protected]>

PR tree-optimization/113026
* gcc.dg/torture/pr113026-1.c: New testcase.
* gcc.dg/torture/pr113026-2.c: Likewise.

2024-01-08 Jakub Jelinek <[email protected]>

PR tree-optimization/113228
* gcc.c-torture/compile/pr113228.c: New test.

2024-01-08 Jakub Jelinek <[email protected]>

PR tree-optimization/113120
* gcc.dg/bitint-62.c: New test.

2024-01-08 Jakub Jelinek <[email protected]>

PR tree-optimization/113119
* gcc.dg/bitint-61.c: New test.

2024-01-08 Georg-Johann Lay <[email protected]>

PR target/112952
* gcc.target/avr/attribute-io.h: New file.
* gcc.target/avr/pr112952-0.c: New test.
* gcc.target/avr/pr112952-1.c: New test.
* gcc.target/avr/pr112952-2.c: New test.
* gcc.target/avr/pr112952-3.c: New test.

2024-01-08 Kito Cheng <[email protected]>

* gcc.target/riscv/rvv/autovec/partial/single_rgroup-3.h: Use
check + abort rather than assert.

2024-01-07 Georg-Johann Lay <[email protected]>

* gcc.target/avr/lra-cpymem_qi.c: Remove duplicate -mmcu=.
Expand Down
20 changes: 20 additions & 0 deletions libgomp/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
2024-01-08 Thomas Schwinge <[email protected]>

* plugin/plugin-gcn.c (EF_AMDGPU_MACH): Add
'EF_AMDGPU_MACH_AMDGCN_GFX1100'.

2024-01-08 Julian Brown <[email protected]>

* plugin/plugin-gcn.c (hsa_runtime_fn_info): Add
hsa_amd_memory_lock_fn, hsa_amd_memory_unlock_fn,
hsa_amd_memory_async_copy_rect_fn function pointers.
(init_hsa_runtime_functions): Add above functions, with
DLSYM_OPT_FN.
(GOMP_OFFLOAD_memcpy2d, GOMP_OFFLOAD_memcpy3d): New functions.

2024-01-08 Tobias Burnus <[email protected]>

* plugin/plugin-gcn.c (gcn_gfx1100_s): New const string.
(gcn_isa_name_len): Fix length.
(isa_hsa_name, isa_code, max_isa_vgprs): Handle gfx1100.

2024-01-06 Tobias Burnus <[email protected]>

* libgomp.texi (OpenMP Technical Report 12): Fix a typo.
Expand Down
6 changes: 6 additions & 0 deletions libgrust/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2024-01-08 Thomas Schwinge <[email protected]>

PR rust/113056
* configure.ac: 'AM_ENABLE_MULTILIB' only for target builds.
* configure: Regenerate.

2023-12-14 Pierre-Emmanuel Patry <[email protected]>
Arthur Cohen <[email protected]>

Expand Down
77 changes: 77 additions & 0 deletions libstdc++-v3/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,80 @@
2024-01-08 Jonathan Wakely <[email protected]>

* include/bits/unicode.h (__null_sentinel): Remove.
* testsuite/17_intro/names.cc: Add __null_sentinel.

2024-01-08 Jonathan Wakely <[email protected]>

* include/std/format (__format::_Runtime_format_string): Define
new class template.
(basic_format_string): Add non-consteval constructor for runtime
format strings.
(runtime_format): Define new function for C++26.
* testsuite/std/format/runtime_format.cc: New test.

2024-01-08 Jonathan Wakely <[email protected]>

* include/bits/chrono_io.h (__formatter_chrono): Always use
lvalue arguments to make_format_args.
* include/std/format (make_format_args): Change parameter pack
from forwarding references to lvalue references. Remove use of
remove_reference_t which is now unnecessary.
(format_to, formatted_size): Remove incorrect forwarding of
arguments.
* include/std/ostream (print): Remove forwarding of arguments.
* include/std/print (print): Likewise.
* testsuite/20_util/duration/io.cc: Use lvalues as arguments to
make_format_args.
* testsuite/std/format/arguments/args.cc: Likewise.
* testsuite/std/format/arguments/lwg3810.cc: Likewise.
* testsuite/std/format/functions/format.cc: Likewise.
* testsuite/std/format/functions/vformat_to.cc: Likewise.
* testsuite/std/format/string.cc: Likewise.
* testsuite/std/time/day/io.cc: Likewise.
* testsuite/std/time/month/io.cc: Likewise.
* testsuite/std/time/weekday/io.cc: Likewise.
* testsuite/std/time/year/io.cc: Likewise.
* testsuite/std/time/year_month_day/io.cc: Likewise.
* testsuite/std/format/arguments/args_neg.cc: New test.

2024-01-08 Jonathan Wakely <[email protected]>

* include/Makefile.am: Add new headers.
* include/Makefile.in: Regenerate.
* include/bits/unicode.h: New file.
* include/bits/unicode-data.h: New file.
* include/std/format: Include <bits/unicode.h>.
(__literal_encoding_is_utf8): Move to <bits/unicode.h>.
(_Spec::_M_fill): Change type to char32_t.
(_Spec::_M_parse_fill_and_align): Read a Unicode scalar value
instead of a single character.
(__write_padded): Change __fill_char parameter to char32_t and
encode it into the output.
(__formatter_str::format): Use new __unicode::__field_width and
__unicode::__truncate functions.
* include/std/ostream: Adjust namespace qualification for
__literal_encoding_is_utf8.
* include/std/print: Likewise.
* src/c++23/print.cc: Add [[unlikely]] attribute to error path.
* testsuite/ext/unicode/view.cc: New test.
* testsuite/std/format/functions/format.cc: Add missing examples
from the standard demonstrating alignment with non-ASCII
characters. Add examples checking correct handling of extended
grapheme clusters.

2024-01-08 Jonathan Wakely <[email protected]>

* include/bits/version.def (format_uchar): Define.
* include/bits/version.h: Regenerate.
* include/std/format (formatter<C, C>::format): Check for
_Pres_c and call _M_format_character directly. Cast C to its
unsigned equivalent for formatting as an integer.
(formatter<char, wchar_t>::format): Likewise.
(basic_format_arg(T&)): Store char arguments as unsigned char
for formatting to a wide string.
* testsuite/std/format/functions/format.cc: Adjust test. Check
formatting of

2024-01-07 Jonathan Wakely <[email protected]>

PR libstdc++/112997
Expand Down

0 comments on commit c81d0db

Please sign in to comment.