From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 7CA7C3858D28; Sat, 29 Jul 2023 00:21:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7CA7C3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690590101; bh=+70FsvsdDgPnAoXRJB0IuMJj3NIM1z7yJBInAHF54vk=; h=From:To:Subject:Date:From; b=W8W1ZvytEn/rJDiKdGub24lOymTEp5xYK3dL2r/+RTgwN+r2vmbQ3HsivyxRnqgVs YeuaW5DZbvYul9eh0HNCKhTGoYuYcZjoA5ZxzWrW9UX9g/G3rJd8uIZh0pVr3Hnolp MeukD3br6OvM7+13LATM5Sl0508hvTEf9vNJmFeU= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-7638] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-13 X-Git-Oldrev: 461359a8f8361d00f926985050e06bd13445ea69 X-Git-Newrev: 446bf8fc9ddae92248adf53e7f7734c111a1176a Message-Id: <20230729002141.7CA7C3858D28@sourceware.org> Date: Sat, 29 Jul 2023 00:21:41 +0000 (GMT) List-Id: https://gcc.gnu.org/g:446bf8fc9ddae92248adf53e7f7734c111a1176a commit r13-7638-g446bf8fc9ddae92248adf53e7f7734c111a1176a Author: GCC Administrator Date: Sat Jul 29 00:21:20 2023 +0000 Daily bump. Diff: --- gcc/DATESTAMP | 2 +- gcc/m2/ChangeLog | 257 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/po/ChangeLog | 6 ++ gcc/testsuite/ChangeLog | 50 ++++++++++ libgm2/ChangeLog | 30 ++++++ libstdc++-v3/ChangeLog | 137 ++++++++++++++++++++++++++ 6 files changed, 481 insertions(+), 1 deletion(-) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 3da940dfbb5..65a68ec5a24 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230728 +20230729 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index b661287efc9..2bf6e8ba85b 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,260 @@ +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-16 Gaius Mulley + + PR modula2/109879 + * gm2-libs-iso/LongIO.mod (ReadReal): Call SkipSpaces. + * gm2-libs-iso/LongWholeIO.mod (ReadInt): Call SkipSpaces. + (ReadCard): Call SkipSpaces. + * gm2-libs-iso/RealIO.mod (ReadReal): Call SkipSpaces. + * gm2-libs-iso/ShortWholeIO.mod: (ReadInt): Call SkipSpaces. + (ReadCard): Call SkipSpaces. + * gm2-libs-iso/TextIO.mod: Import SkipSpaces. + * gm2-libs-iso/WholeIO.mod (ReadInt): Call SkipSpaces. + (ReadCard): Call SkipSpaces. + * gm2-libs-iso/TextUtil.def: New file. + * gm2-libs-iso/TextUtil.mod: New file. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-16 Gaius Mulley + + PR modula2/108344 + * gm2-libs-coroutines/TimerHandler.mod (EnableLED): New + constant. + (Timer): Test EnableLED before switching on the scroll LED. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-12 Gaius Mulley + + PR modula2/109830 + * gm2-libs-iso/SeqFile.mod (newCid): New parameter toAppend + used to select FIO.OpenForRandom. + (OpenRead): Pass extra parameter to newCid. + (OpenWrite): Pass extra parameter to newCid. + (OpenAppend): Pass extra parameter to newCid. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-11 Gaius Mulley + + PR modula2/109810 + * gm2-compiler/M2ALU.mod (ConvertConstToType): Use + PrepareCopyString in place of DoCopyString. + * gm2-compiler/M2GenGCC.def (DoCopyString): Rename to ... + (PrepareCopyString): ... this. + * gm2-compiler/M2GenGCC.mod (CodeStatement): Call CodeReturnValue + with a single parameter. Call CodeXIndr with a single parameter. + (CodeReturnValue): Remove parameters and replace with a single + quadno. Reimplement using PrepareCopyString. Issue error + if the string exceeds designator space. + (DoCopyString): Reimplement and rename to ... + (PrepareCopyString): ... this. + (CodeXIndr): Remove parameters and replace with a single + quadno. Reimplement using PrepareCopyString. Issue error + if the string exceeds designator space. + (CodeBecomes): Remove parameters and replace with a single + quadno. Reimplement using PrepareCopyString. Issue error + if the string exceeds designator space. + * gm2-compiler/M2Quads.def (BuildReturn): Rename parameter to + tokreturn. + * gm2-compiler/M2Quads.mod (BuildReturn): Rename parameter to + tokreturn. Rename tokno to tokcombined. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-09 Gaius Mulley + + PR modula2/109779 + * gm2-libs-iso/RTgen.mod (doLook): Remove old. + Remove re-assignment of result. + * gm2-libs-iso/TextIO.mod (CanRead): Rename into ... + (CharAvailable): ... this. + (DumpState): New procedure. + (SetResult): Rename as SetNul. + (WasGoodChar): Rename into ... + (EofOrEoln): ... this. + (SkipLine): Skip over the newline. + (ReadString): Flip THEN ELSE statements after testing for + EofOrEoln. + (ReadRestLine): Flip THEN ELSE statements after testing for + EofOrEoln. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-04 Gaius Mulley + + PR modula2/109729 + PR modula2/110246 + * gm2-compiler/M2GenGCC.mod (CodeStatement): Detect + ArithAddOp and call CodeAddChecked. + (ResolveConstantExpressions): Detect ArithAddOp and call + FoldArithAdd. + (FoldArithAdd): New procedure. + (FoldAdd): Refactor to use FoldArithAdd. + * gm2-compiler/M2Quads.def (QuadOperator): Add ArithAddOp. + * gm2-compiler/M2Quads.mod: Remove commented imports. + (QuadFrame): Changed comments to use GNU coding standards. + (ArithPlusTok): New global variable. + (BuildForToByDo): Use ArithPlusTok instead of PlusTok. + (MakeOp): Detect ArithPlusTok and return ArithAddOp. + (WriteQuad): Add ArithAddOp clause. + (WriteOperator): Add ArithAddOp clause. + (Init): Initialize ArithPlusTok. + +2023-07-28 Gaius Mulley + + * Make-maintainer.in (m2/m2obj3/cc1gm2$(exeext)): + Remove M2LINK.o from dependency and build rule. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-04 Gaius Mulley + + PR modula2/109675 + * Make-lang.in (MC-LIB-DEFS): Remove M2LINK.def. + (BUILD-PGE-O): Remove GM2LINK.o. + * Make-maintainer.in (PPG-DEFS): New define. + (PPG-LIB-DEFS): Remove M2LINK.def. + (BUILD-BOOT-PPG-H): Add PPGDEF .h files. + (m2/ppg$(exeext)): Remove M2LINK.o + (PGE-DEPS): New define. + (m2/pg$(exeext)): Remove M2LINK.o. + (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Add -Im2/gm2-pge-boot. + (m2/pge$(exeext)): Remove M2LINK.o. + (pge-maintainer): Re-implement. + (pge-libs-push): Re-implement. + (m2/m2obj3/cc1gm2$(exeext)): Remove M2LINK.o. + * gm2-libs/DynamicStrings.mod (writeAddress): Re-implement + using snprintf. + * gm2-libs/M2Dependent.mod: Remove commented out imports. + * mc-boot/GDynamicStrings.cc: Rebuild. + * mc-boot/GFIO.cc: Rebuild. + * mc-boot/GFormatStrings.cc: Rebuild. + * mc-boot/GM2Dependent.cc: Rebuild. + * mc-boot/GM2Dependent.h: Rebuild. + * mc-boot/GM2RTS.cc: Rebuild. + * mc-boot/GM2RTS.h: Rebuild. + * mc-boot/GRTExceptions.cc: Rebuild. + * mc-boot/GRTint.cc: Rebuild. + * mc-boot/GSFIO.cc: Rebuild. + * mc-boot/GStringConvert.cc: Rebuild. + * mc-boot/Gdecl.cc: Rebuild. + * pge-boot/GASCII.cc: Rebuild. + * pge-boot/GASCII.h: Rebuild. + * pge-boot/GArgs.cc: Rebuild. + * pge-boot/GArgs.h: Rebuild. + * pge-boot/GAssertion.cc: Rebuild. + * pge-boot/GAssertion.h: Rebuild. + * pge-boot/GBreak.h: Rebuild. + * pge-boot/GCmdArgs.h: Rebuild. + * pge-boot/GDebug.cc: Rebuild. + * pge-boot/GDebug.h: Rebuild. + * pge-boot/GDynamicStrings.cc: Rebuild. + * pge-boot/GDynamicStrings.h: Rebuild. + * pge-boot/GEnvironment.h: Rebuild. + * pge-boot/GFIO.cc: Rebuild. + * pge-boot/GFIO.h: Rebuild. + * pge-boot/GFormatStrings.h:: Rebuild. + * pge-boot/GFpuIO.h:: Rebuild. + * pge-boot/GIO.cc: Rebuild. + * pge-boot/GIO.h: Rebuild. + * pge-boot/GIndexing.cc: Rebuild. + * pge-boot/GIndexing.h: Rebuild. + * pge-boot/GLists.cc: Rebuild. + * pge-boot/GLists.h: Rebuild. + * pge-boot/GM2Dependent.cc: Rebuild. + * pge-boot/GM2Dependent.h: Rebuild. + * pge-boot/GM2EXCEPTION.cc: Rebuild. + * pge-boot/GM2EXCEPTION.h: Rebuild. + * pge-boot/GM2RTS.cc: Rebuild. + * pge-boot/GM2RTS.h: Rebuild. + * pge-boot/GNameKey.cc: Rebuild. + * pge-boot/GNameKey.h: Rebuild. + * pge-boot/GNumberIO.cc: Rebuild. + * pge-boot/GNumberIO.h: Rebuild. + * pge-boot/GOutput.cc: Rebuild. + * pge-boot/GOutput.h: Rebuild. + * pge-boot/GPushBackInput.cc: Rebuild. + * pge-boot/GPushBackInput.h: Rebuild. + * pge-boot/GRTExceptions.cc: Rebuild. + * pge-boot/GRTExceptions.h: Rebuild. + * pge-boot/GSArgs.h: Rebuild. + * pge-boot/GSEnvironment.h: Rebuild. + * pge-boot/GSFIO.cc: Rebuild. + * pge-boot/GSFIO.h: Rebuild. + * pge-boot/GSYSTEM.h: Rebuild. + * pge-boot/GScan.h: Rebuild. + * pge-boot/GStdIO.cc: Rebuild. + * pge-boot/GStdIO.h: Rebuild. + * pge-boot/GStorage.cc: Rebuild. + * pge-boot/GStorage.h: Rebuild. + * pge-boot/GStrCase.cc: Rebuild. + * pge-boot/GStrCase.h: Rebuild. + * pge-boot/GStrIO.cc: Rebuild. + * pge-boot/GStrIO.h: Rebuild. + * pge-boot/GStrLib.cc: Rebuild. + * pge-boot/GStrLib.h: Rebuild. + * pge-boot/GStringConvert.h: Rebuild. + * pge-boot/GSymbolKey.cc: Rebuild. + * pge-boot/GSymbolKey.h: Rebuild. + * pge-boot/GSysExceptions.h: Rebuild. + * pge-boot/GSysStorage.cc: Rebuild. + * pge-boot/GSysStorage.h: Rebuild. + * pge-boot/GTimeString.h: Rebuild. + * pge-boot/GUnixArgs.h: Rebuild. + * pge-boot/Gbnflex.cc: Rebuild. + * pge-boot/Gbnflex.h: Rebuild. + * pge-boot/Gdtoa.h: Rebuild. + * pge-boot/Gerrno.h: Rebuild. + * pge-boot/Gldtoa.h: Rebuild. + * pge-boot/Glibc.h: Rebuild. + * pge-boot/Glibm.h: Rebuild. + * pge-boot/Gpge.cc: Rebuild. + * pge-boot/Gtermios.h: Rebuild. + * pge-boot/Gwrapc.h: Rebuild. + * mc-boot/GM2LINK.h: Removed. + * pge-boot/GM2LINK.cc: Removed. + * pge-boot/GM2LINK.h: Removed. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-04-26 Gaius Mulley + + PR modula2/108121 + * gm2-compiler/M2ALU.mod (Less): Reformatted. + * gm2-compiler/SymbolTable.mod (DetermineSizeOfConstant): Remove + from import. + (ConstantStringExceedsZType): Import. + (GetConstLitType): Re-implement using ConstantStringExceedsZType. + * gm2-gcc/m2decl.cc (m2decl_DetermineSizeOfConstant): Remove. + (m2decl_ConstantStringExceedsZType): New function. + (m2decl_BuildConstLiteralNumber): Re-implement. + * gm2-gcc/m2decl.def (DetermineSizeOfConstant): Remove. + (ConstantStringExceedsZType): New function. + * gm2-gcc/m2decl.h (m2decl_DetermineSizeOfConstant): Remove. + (m2decl_ConstantStringExceedsZType): New function. + * gm2-gcc/m2expr.cc (append_digit): Remove. + (m2expr_interpret_integer): Remove. + (append_m2_digit): Remove. + (m2expr_StrToWideInt): New function. + (m2expr_interpret_m2_integer): Remove. + * gm2-gcc/m2expr.def (CheckConstStrZtypeRange): New function. + * gm2-gcc/m2expr.h (m2expr_StrToWideInt): New function. + * gm2-gcc/m2type.cc (build_m2_word64_type_node): New function. + (build_m2_ztype_node): New function. + (m2type_InitBaseTypes): Call build_m2_ztype_node. + * gm2-lang.cc (gm2_type_for_size): Re-write using early returns. + 2023-07-27 Gaius Mulley Backported from master: diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 7c2659551aa..5b117959fdc 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,9 @@ +2023-07-28 Joseph Myers + + * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po, + ja.po, nl.po, ru.po, sr.po, sv.po, tr.po, uk.po, vi.po, zh_CN.po, + zh_TW.po: Update. + 2023-07-27 Release Manager * GCC 13.2.0 released. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 20f70abf6f4..a1c3d88b3e3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,53 @@ +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-16 Gaius Mulley + + PR modula2/109879 + * gm2/isolib/run/pass/testreadint.mod: New test. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-12 Gaius Mulley + + PR modula2/109830 + * gm2/isolib/run/pass/seqappend.mod: New test. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-11 Gaius Mulley + + PR modula2/109810 + * gm2/pim/fail/highice.mod: New test. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-09 Gaius Mulley + + PR modula2/109779 + * gm2/isolib/run/pass/skiplinetest.mod: New test. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-04 Gaius Mulley + + PR modula2/109729 + * gm2/pim/run/pass/ForChar.mod: New test. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-04-26 Gaius Mulley + + PR modula2/108121 + * gm2/pim/fail/largeconst.mod: Increased constant value test + to fail now that cc1gm2 uses widest_int to represent a ZTYPE. + * gm2/pim/fail/largeconst2.mod: New test. + 2023-07-27 Gaius Mulley Backported from master: diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 8cdb3d19a84..0550b3507b3 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,33 @@ +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-16 Gaius Mulley + + PR modula2/109879 + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * libm2cor/Makefile.in: Regenerate. + * libm2iso/Makefile.am (M2DEFS): Add TextUtil.def. + (M2MODS): Add TextUtil.mod. + * libm2iso/Makefile.in: Regenerate. + * libm2log/Makefile.in: Regenerate. + * libm2min/Makefile.in: Regenerate. + * libm2pim/Makefile.in: Regenerate. + +2023-07-28 Gaius Mulley + + Backported from master: + 2023-05-16 Gaius Mulley + + PR modula2/108344 + * libm2cor/KeyBoardLEDs.cc (initialize_module): New + function. + (SwitchScroll): Call initialize_module. + (SwitchNum): Call initialize_module. + (SwitchCaps): Call initialize_module. + (SwitchLEDs): Call initialize_module. + (M2EXPORT): Remove initialization code. + 2023-07-27 Release Manager * GCC 13.2.0 released. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4d024e8aa94..2cd7b9ba62b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,140 @@ +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-19 Jonathan Wakely + + * include/bits/chrono_io.h (__formatter_chrono::_M_format): + Do not set __is_neg for hh_mm_ss before calling + _M_format_to_ostream. Change __print_sign lambda to only check + __is_neg for durations and hh_mm_ss types. + (__formatter_chrono::_M_format_to_ostream): Only check __is_neg + for duration types. + * testsuite/std/time/hh_mm_ss/io.cc: Check negative values. + +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-19 Jonathan Wakely + + PR libstdc++/110719 + * include/bits/chrono_io.h (__formatter_chrono::_S_floor_seconds): + Handle duration and hh_mm_ss. + * testsuite/20_util/duration/io.cc: Check locale-specific + formats. + * testsuite/std/time/hh_mm_ss/io.cc: Likewise. + +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-19 Jonathan Wakely + + PR libstdc++/110719 + * include/bits/chrono_io.h (__formatter_chrono::_M_parse): Fix + allowed modifiers for %z and %Z. Fix -Wparentheses and + -Wnarrowing warnings. + (__formatter_chrono::_M_format): Call new functions for %d, %e, + %H, %I, %m and %M. + (__formatter_chrono::_M_c): Use _S_floor_seconds to remove + subsecond precision. + (__formatter_chrono::_M_C_y_Y): Use _M_locale_fmt to handle + modifiers. + (__formatter_chrono::_M_e): Replace with _M_d_e and use + _M_locale_fmt. + (__formatter_chrono::_M_I): Replace with _M_H_I and use + _M_locale_fmt. + (__formatter_chrono::_M_m): New function. + (__formatter_chrono::_M_M): New function. + (__formatter_chrono::_M_r): Use _M_locale_fmt. + (__formatter_chrono::_M_S): Likewise. + (__formatter_chrono::_M_u_w): Likewise. + (__formatter_chrono::_M_U_V_W): Likewise. + (__formatter_chrono::_M_X): Use _S_floor_seconds. + (__formatter_chrono::_M_Z): Fix untested branch for wchar_t. + (__formatter_chrono::_S_altnum): Remove function. + (__formatter_chrono::_S_dd_zero_fill): Remove function. + (__formatter_chrono::_S_floor_seconds): New function. + (__formatter_chrono::_M_locale_fmt): New function. + * testsuite/std/time/clock/system/io.cc: Adjust expected output + for locale-specific formats and check modified formats. + * testsuite/std/time/clock/utc/io.cc: Likewise. + * testsuite/std/time/zoned_time/io.cc: New test. + +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-19 Jonathan Wakely + + PR libstdc++/110708 + * include/bits/chrono_io.h (__formatter_chrono::_M_parse): Only + allow a single modifier. + * testsuite/std/time/format.cc: Check multiple modifiers. + +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-19 Jonathan Wakely + + * include/std/format (__write_padded): Initialize first element + of array to avoid a -Wmaybe-uninitialized warning. + +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-19 Jonathan Wakely + + PR libstdc++/110593 + * include/bits/chrono.h (duration): Improve static assert + messages. + (__is_ratio): Move to ... + * include/std/ratio (__is_ratio): ... here. + (__is_ratio_v): New variable template and partial + specialization. + (__are_both_ratios): New function template. + (__ratio_multiply, ratio_equal, ratio_less, __ratio_add): + Add static assertion. + * testsuite/20_util/ratio/requirements/type_constraints.cc: + New test. + * testsuite/20_util/duration/requirements/typedefs_neg1.cc: + Adjust expected error. + * testsuite/20_util/duration/requirements/typedefs_neg2.cc: + Likewise. + +2023-07-28 Deev Patel + + Backported from master: + 2023-07-24 Deev Patel + + * include/std/format (_Formatting_scanner::_M_on_chars): Add + missing constexpr specifier. + (_Formatting_scanner::_M_format_arg): Likewise. + +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-26 Jonathan Wakely + + PR libstdc++/110807 + * include/bits/stl_bvector.h (vector(const vector&)): Access + iterators before allocating. + * include/bits/vector.tcc (vector::_M_insert_range): + Likewise. + * testsuite/23_containers/vector/bool/110807.cc: New test. + +2023-07-28 Jonathan Wakely + + Backported from master: + 2023-07-26 Jonathan Wakely + + * include/bits/algorithmfwd.h (random_shuffle): Add deprecated + attribute. + * include/bits/stl_algo.h (random_shuffle): Correct comments. + * testsuite/25_algorithms/random_shuffle/1.cc: Disable + deprecated warnings. + * testsuite/25_algorithms/random_shuffle/59603.cc: Likewise. + * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewise. + * testsuite/25_algorithms/random_shuffle/deprecated.cc: New + test. + 2023-07-27 Release Manager * GCC 13.2.0 released.