https://gcc.gnu.org/g:a095d720acd8b19aee4bf5052fb50c64207fe788
commit r15-5620-ga095d720acd8b19aee4bf5052fb50c64207fe788 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sun Nov 24 00:18:09 2024 +0000 Daily bump. Diff: --- gcc/ChangeLog | 18 +++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 4 +++ gcc/analyzer/ChangeLog | 7 +++++ gcc/c-family/ChangeLog | 14 ++++++++++ gcc/cp/ChangeLog | 34 ++++++++++++++++++++++++ gcc/m2/ChangeLog | 4 +++ gcc/testsuite/ChangeLog | 24 +++++++++++++++++ include/ChangeLog | 5 ++++ libcpp/ChangeLog | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ libgfortran/ChangeLog | 7 +++++ 11 files changed, 188 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90f9a76c00a9..3d13552ddeab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,21 @@ +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + * gimple.cc (get_tail_padding_adjustment): New function. + (DEFGSSTRUCT): Adjust the computation of gimple_ops_offset_ to be + correct in the presence of tail padding. + +2024-11-23 Georg-Johann Lay <a...@gjlay.de> + + PR target/117744 + * config/avr/avr.cc (out_movqi_r_mr): Fix code when a load + only partially clobbers an address register due to + changing the address register temporally to accomodate for + faked addressing modes. + +2024-11-23 Andrew Pinski <quic_apin...@quicinc.com> + + * doc/rtl.texi: Add a note about quotes in braced strings. + 2024-11-22 Andrew Pinski <quic_apin...@quicinc.com> PR bootstrap/117737 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index f69d3317a0a5..eba8e1cb787f 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241123 +20241124 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 11c89892bd3d..96dbd6073a73 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2024-11-23 Maciej W. Rozycki <ma...@orcam.me.uk> + + * gcc-interface/Make-lang.in (gnattools): Remove $(GCC_PARTS). + 2024-11-22 Andrew Pinski <quic_apin...@quicinc.com> PR bootstrap/117737 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 5240740da635..efaafbb6272c 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,10 @@ +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + * checker-event.cc (checker_event::dump): Support printing either + 32- or 64-bit location_t values. + * checker-path.cc (checker_path::inject_any_inlined_call_events): + Likewise. + 2024-11-22 Andrew Pinski <quic_apin...@quicinc.com> PR bootstrap/117737 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 06907e0dd0ec..8a20a3dba36d 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,17 @@ +2024-11-23 Jakub Jelinek <ja...@redhat.com> + + * c.opt.urls: Regenerate. + +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + * c-indentation.cc (should_warn_for_misleading_indentation): Remove + comment about -flarge-source-files. + * c-lex.cc (cb_ident): Change "unsigned int" argument to type + "location_t". + (cb_def_pragma): Likewise. + (cb_define): Likewise. + (cb_undef): Likewise. + 2024-11-22 Andrew Pinski <quic_apin...@quicinc.com> PR bootstrap/117737 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 77932e57f485..e527d5d8adaf 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,37 @@ +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + * module.cc (bytes_out::loc): New function. + (bytes_in::loc): New function. + (struct span): Change int fields to location_diff_t. + (range_t): Change from "unsigned int" to "line_map_uint_t". + (struct ord_loc_info): Likewise. + (struct macro_loc_info): Likewise. + (class module_state): Likewise. + (dumper::operator()): Add new code 'K' for dumping a location_t. + (loc_spans::init): Use %K instead of %u for location_t dumps. + (loc_spans::open): Likewise. + (loc_spans::close): Likewise. Adjust bitwise expressions to support + 64-bit location_t as well. + (struct module_state_config): Change ordinary_locs and macro_locs + from "unsigned int" to "line_map_uint_t". Reorder fields to improve + packing. Rather than changing the constructor initializer list to + match the new order, switch to NSDMI instead. + (module_state::note_location): Adjust to support 64-bit location_t. + (module_state::write_location): Use %K instead of %u for location_t + dumps. Use loc() instead of u() for streaming location_t. + (module_state::read_location): Likewise. + (module_state::write_ordinary_maps): Likewise. + (module_state::write_macro_maps): Likewise. + (module_state::write_config): Likewise. + (module_state::read_config): Likewise. + (module_state::write_prepare_maps): Use %K instead of %u for + location_t dumps. Adjust variable types and bitwise expressions to + support 64-bit location_t. + (module_state::read_ordinary_maps): Likewise. + (module_state::read_macro_maps): Likewise. + (preprocess_module): Adjust data types to support 64-bit number of + line maps. + 2024-11-22 Andrew Pinski <quic_apin...@quicinc.com> PR bootstrap/117737 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 01a01e4cf878..4ab0a6b0b902 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,7 @@ +2024-11-23 Maciej W. Rozycki <ma...@orcam.me.uk> + + * Make-lang.in (m2 modula-2 modula2): Remove $(GCC_PARTS). + 2024-11-22 Andrew Pinski <quic_apin...@quicinc.com> PR bootstrap/117737 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fb3c50f0ed55..ae98be85865c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,27 @@ +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + PR preprocessor/117118 + * c-c++-common/raw-string-directive-3.c: New test. + * c-c++-common/raw-string-directive-4.c: New test. + +2024-11-23 Jerry DeLisle <jvdeli...@gcc.gnu.org> + + PR fortran/88052 + * gfortran.dg/comma_format_extension_4.f: Add missing comma. + * gfortran.dg/dollar_edit_descriptor_2.f: Likewise. + * gfortran.dg/fmt_error_9.f: Likewise. + * gfortran.dg/fmt_g0_5.f08: Likewise. + * gfortran.dg/fmt_t_2.f90: Likewise. + * gfortran.dg/pr88052.f90: New test. + +2024-11-23 Maciej W. Rozycki <ma...@orcam.me.uk> + + * gcc.c-torture/execute/memcpy-a1.c: New file. + * gcc.c-torture/execute/memcpy-a2.c: New file. + * gcc.c-torture/execute/memcpy-a4.c: New file. + * gcc.c-torture/execute/memcpy-a8.c: New file. + * gcc.c-torture/execute/memcpy-ax.h: New file. + 2024-11-22 Jeff Law <j...@ventanamicro.com> PR target/109279 diff --git a/include/ChangeLog b/include/ChangeLog index 76044e1b1afc..74df6cb5ca5d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2024-11-23 Jakub Jelinek <ja...@redhat.com> + + * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran23 + enumerator. + 2024-11-22 Tobias Burnus <tbur...@baylibre.com> * gomp-constants.h (GOMP_INTEROP_IFR_NONE): Rename ... diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index eb9e54c77a1f..f479a01c3f17 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,73 @@ +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + PR preprocessor/117118 + * lex.cc (lex_raw_string): Treat an unterminated raw string the same + way for a deferred pragma as is done for other directives. + +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + * lex.cc (_cpp_commit_buff): Make sure that the buffer is properly + aligned for the next allocation. + * internal.h (struct dummy): Make sure alignment is large enough for + a location_t, just in case. + +2024-11-23 Lewis Hyatt <lhy...@gmail.com> + + * include/line-map.h (line_map_uint_t): New typedef, the same type + as location_t. + (location_diff_t): New typedef. + (line_map_suggested_range_bits): New constant. + (struct maps_info_ordinary): Change member types from "unsigned int" + to "line_map_uint_t". + (struct maps_info_macro): Likewise. + (struct location_adhoc_data_map): Likewise. + (LINEMAPS_ALLOCATED): Change return type from "unsigned int" to + "line_map_uint_t". + (LINEMAPS_ORDINARY_ALLOCATED): Likewise. + (LINEMAPS_MACRO_ALLOCATED): Likewise. + (LINEMAPS_USED): Likewise. + (LINEMAPS_ORDINARY_USED): Likewise. + (LINEMAPS_MACRO_USED): Likewise. + (linemap_lookup_macro_index): Likewise. + (LINEMAPS_MAP_AT): Change argument type from "unsigned int" to + "line_map_uint_t". + (LINEMAPS_ORDINARY_MAP_AT): Likewise. + (LINEMAPS_MACRO_MAP_AT): Likewise. + (line_map_new_raw): Likewise. + (linemap_module_restore): Likewise. + (linemap_dump): Likewise. + (line_table_dump): Likewise. + (LINEMAPS_LAST_MAP): Add a linemap_assert() for safety. + (SOURCE_COLUMN): Use a cast to ensure correctness if location_t + becomes a 64-bit type. + * line-map.cc (location_adhoc_data_hash): Don't truncate to 32-bit + prematurely when hashing. + (line_maps::get_or_create_combined_loc): Adapt types to support + potentially 64-bit location_t. Use MAX_LOCATION_T rather than a + hard-coded constant. + (line_maps::get_range_from_loc): Adapt types and constants to + support potentially 64-bit location_t. + (line_maps::pure_location_p): Likewise. + (line_maps::get_pure_location): Likewise. + (line_map_new_raw): Likewise. + (LAST_SOURCE_LINE_LOCATION): Likewise. + (linemap_add): Likewise. + (linemap_module_restore): Likewise. + (linemap_line_start): Likewise. + (linemap_position_for_column): Likewise. + (linemap_position_for_line_and_column): Likewise. + (linemap_position_for_loc_and_offset): Likewise. + (linemap_ordinary_map_lookup): Likewise. + (linemap_lookup_macro_index): Likewise. + (linemap_dump): Likewise. + (linemap_dump_location): Likewise. + (linemap_get_file_highest_location): Likewise. + (line_table_dump): Likewise. + (linemap_compare_locations): Avoid signed int overflow in the result. + * macro.cc (num_expanded_macros_counter): Change type of global + variable from "unsigned int" to "line_map_uint_t". + (num_macro_tokens_counter): Likewise. + 2024-11-18 Jason Merrill <ja...@redhat.com> * internal.h (_cpp_get_file_dir): Declare. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index acf2a9521549..51c4468877f9 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,10 @@ +2024-11-23 Jerry DeLisle <jvdeli...@gcc.gnu.org> + + PR fortran/88052 + * io/format.c (parse_format_list): Reject missing comma in + format strings by default or if -std=f95 or higher. This is + a runtime error. + 2024-10-07 Thomas Koenig <tkoe...@gcc.gnu.org> * Makefile.am: Add files for unsigned MINLOC and MAXLOC.