]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 5 Mar 2023 00:16:49 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 5 Mar 2023 00:16:49 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/m2/ChangeLog
gcc/testsuite/ChangeLog

index f488e5f3e31282e3d34d12130219117af8e9d837..ebc5fd58bf79c7e8672a986f3ee03ab3bf676c39 100644 (file)
@@ -1,3 +1,18 @@
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/109006
+       * vec.cc (test_auto_alias): Adjust comment for removal of
+       m_vecdata.
+       * read-rtl-function.cc (function_reader::parse_block): Likewise.
+       * gdbhooks.py: Likewise.
+
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/108973
+       * selftest-diagnostic.cc
+       (test_diagnostic_context::test_diagnostic_context): Set
+       caret_max_width to 80.
+
 2023-03-03  Alexandre Oliva  <oliva@adacore.com>
 
        * gimple-ssa-warn-access.cc
index 887270c73229d4f934cda5c0a06a90a5b0eeada5..f76ec6afe5b301079a8486558a0feee1e75d316d 100644 (file)
@@ -1 +1 @@
-20230304
+20230305
index 1c840921a902d355cf545e0a17c65ab857c2e847..095976e1f38bf4a9cd733262e74cea0ef2c130fb 100644 (file)
@@ -1,3 +1,30 @@
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/107465
+       * c-warn.cc (warn_for_sign_compare): Don't warn for unset bits
+       above innermost zero extension of BIT_NOT_EXPR result.
+
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/107465
+       * c-warn.cc (warn_for_sign_compare): If c_common_get_narrower
+       doesn't return a narrower result, use TYPE_UNSIGNED to set unsignedp0
+       and unsignedp1.  For the one BIT_NOT_EXPR case vs. one without,
+       only check for constant in the non-BIT_NOT_EXPR operand, use std::swap
+       to simplify the code, only warn if BIT_NOT_EXPR operand is extended
+       from narrower unsigned, fix up computation of mask for the constant
+       cases and for unsigned other operand case handle differently
+       BIT_NOT_EXPR result being sign vs. zero extended.
+
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/107846
+       * c-warn.cc: Include langhooks.h.
+       (maybe_warn_shift_overflow): Set type0 to what TREE_TYPE (op0)
+       promotes to rather than TREE_TYPE (op0) itself, if TREE_TYPE (op0)
+       is narrower than type0 and unsigned, use wi::min_precision with
+       UNSIGNED and fold_convert op0 to type0 before emitting the warning.
+
 2023-03-03  Alexandre Oliva  <oliva@adacore.com>
 
        * c-common.cc (c_common_nodes_and_builtins): Take
index 789c0330cc80035348d8eb8291d7cd0281f95fa4..b8e5b0c6d936ea08d020a22dbdf5d0f9f128c143 100644 (file)
@@ -1,3 +1,12 @@
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/108702
+       * constexpr.cc: Include toplev.h.
+       (cxx_eval_constant_expression) <case DECL_EXPR>: When seeing a local
+       static initialized by constant expression outside of a constexpr
+       function which has been deferred by make_rtl_for_nonlocal_decl,
+       call rest_of_decl_compilation on it.
+
 2023-03-03  Patrick Palka  <ppalka@redhat.com>
 
        PR c++/108998
index 51d0ab9584b268f44eb63f3e6c5bdbdbb5fc0516..841d73d92448eb91282021b1658d16784fcfbdf2 100644 (file)
@@ -1,3 +1,257 @@
+2023-03-04  Gaius Mulley  <gaiusmod2@gmail.com>
+
+       * mc-boot-ch/GBuiltins.cc: New file.
+       * mc-boot-ch/Gdtoa.cc: New file.
+       * mc-boot-ch/Gerrno.cc: New file.
+       * mc-boot-ch/Gldtoa.cc: New file.
+       * mc-boot-ch/Gm2rtsdummy.cc: New file.
+       * mc-boot/GASCII.cc: New file.
+       * mc-boot/GArgs.cc: New file.
+       * mc-boot/GAssertion.cc: New file.
+       * mc-boot/GBreak.cc: New file.
+       * mc-boot/GCmdArgs.cc: New file.
+       * mc-boot/GDebug.cc: New file.
+       * mc-boot/GDynamicStrings.cc: New file.
+       * mc-boot/GEnvironment.cc: New file.
+       * mc-boot/GFIO.cc: New file.
+       * mc-boot/GFormatStrings.cc: New file.
+       * mc-boot/GFpuIO.cc: New file.
+       * mc-boot/GIO.cc: New file.
+       * mc-boot/GIndexing.cc: New file.
+       * mc-boot/GM2Dependent.cc: New file.
+       * mc-boot/GM2EXCEPTION.cc: New file.
+       * mc-boot/GM2RTS.cc: New file.
+       * mc-boot/GMemUtils.cc: New file.
+       * mc-boot/GNumberIO.cc: New file.
+       * mc-boot/GPushBackInput.cc: New file.
+       * mc-boot/GRTExceptions.cc: New file.
+       * mc-boot/GRTint.cc: New file.
+       * mc-boot/GSArgs.cc: New file.
+       * mc-boot/GSFIO.cc: New file.
+       * mc-boot/GStdIO.cc: New file.
+       * mc-boot/GStorage.cc: New file.
+       * mc-boot/GStrCase.cc: New file.
+       * mc-boot/GStrIO.cc: New file.
+       * mc-boot/GStrLib.cc: New file.
+       * mc-boot/GStringConvert.cc: New file.
+       * mc-boot/GSysStorage.cc: New file.
+       * mc-boot/GTimeString.cc: New file.
+       * mc-boot/Galists.cc: New file.
+       * mc-boot/Gdecl.cc: New file.
+       * mc-boot/Gkeyc.cc: New file.
+       * mc-boot/Glists.cc: New file.
+       * mc-boot/GmcComment.cc: New file.
+       * mc-boot/GmcComp.cc: New file.
+       * mc-boot/GmcDebug.cc: New file.
+       * mc-boot/GmcError.cc: New file.
+       * mc-boot/GmcFileName.cc: New file.
+       * mc-boot/GmcLexBuf.cc: New file.
+       * mc-boot/GmcMetaError.cc: New file.
+       * mc-boot/GmcOptions.cc: New file.
+       * mc-boot/GmcPreprocess.cc: New file.
+       * mc-boot/GmcPretty.cc: New file.
+       * mc-boot/GmcPrintf.cc: New file.
+       * mc-boot/GmcQuiet.cc: New file.
+       * mc-boot/GmcReserved.cc: New file.
+       * mc-boot/GmcSearch.cc: New file.
+       * mc-boot/GmcStack.cc: New file.
+       * mc-boot/GmcStream.cc: New file.
+       * mc-boot/Gmcp1.cc: New file.
+       * mc-boot/Gmcp2.cc: New file.
+       * mc-boot/Gmcp3.cc: New file.
+       * mc-boot/Gmcp4.cc: New file.
+       * mc-boot/Gmcp5.cc: New file.
+       * mc-boot/GnameKey.cc: New file.
+       * mc-boot/GsymbolKey.cc: New file.
+       * mc-boot/Gtop.cc: New file.
+       * mc-boot/Gvarargs.cc: New file.
+       * mc-boot/Gwlists.cc: New file.
+       * pge-boot/GASCII.cc: New file.
+       * pge-boot/GArgs.cc: New file.
+       * pge-boot/GAssertion.cc: New file.
+       * pge-boot/GBuiltins.cc: New file.
+       * pge-boot/GDebug.cc: New file.
+       * pge-boot/GDynamicStrings.cc: New file.
+       * pge-boot/GFIO.cc: New file.
+       * pge-boot/GIO.cc: New file.
+       * pge-boot/GIndexing.cc: New file.
+       * pge-boot/GLists.cc: New file.
+       * pge-boot/GM2Dependent.cc: New file.
+       * pge-boot/GM2EXCEPTION.cc: New file.
+       * pge-boot/GM2LINK.cc: New file.
+       * pge-boot/GM2RTS.cc: New file.
+       * pge-boot/GNameKey.cc: New file.
+       * pge-boot/GNumberIO.cc: New file.
+       * pge-boot/GOutput.cc: New file.
+       * pge-boot/GPushBackInput.cc: New file.
+       * pge-boot/GRTExceptions.cc: New file.
+       * pge-boot/GRTco.cc: New file.
+       * pge-boot/GSFIO.cc: New file.
+       * pge-boot/GSYSTEM.cc: New file.
+       * pge-boot/GSelective.cc: New file.
+       * pge-boot/GStdIO.cc: New file.
+       * pge-boot/GStorage.cc: New file.
+       * pge-boot/GStrCase.cc: New file.
+       * pge-boot/GStrIO.cc: New file.
+       * pge-boot/GStrLib.cc: New file.
+       * pge-boot/GSymbolKey.cc: New file.
+       * pge-boot/GSysExceptions.cc: New file.
+       * pge-boot/GSysStorage.cc: New file.
+       * pge-boot/Gabort.cc: New file.
+       * pge-boot/Gbnflex.cc: New file.
+       * pge-boot/Gcbuiltin.cc: New file.
+       * pge-boot/Gdtoa.cc: New file.
+       * pge-boot/Gerrno.cc: New file.
+       * pge-boot/Gldtoa.cc: New file.
+       * pge-boot/Glibc.cc: New file.
+       * pge-boot/Glibm.cc: New file.
+       * pge-boot/Gmcrts.cc: New file.
+       * pge-boot/Gpge.cc: New file.
+       * pge-boot/Gwrapc.cc: New file.
+       * pge-boot/main.cc: New file.
+       * pge-boot/network.cc: New file.
+
+2023-03-04  Gaius Mulley  <gaiusmod2@gmail.com>
+
+       * Make-lang.in (MC-LIB-BOOT-C): Rename to MC-LIB-BOOT-CC.
+       (MC-BOOT-C): Rename to MC-BOOT-CC.
+       (BUILD-MC-BOOT-C): Rename to BUILD-MC-BOOT-CC.
+       (BUILD-MC-BOOT-AUTO-C): Rename to BUILD-MC-BOOT-AUTO-CC.
+       (m2/mc-boot/$(SRC_PREFIX)%.o): Change source file extension to .cc.
+       (m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto.
+       * Make-maintainer.in (m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Change
+       source file extension to .cc.
+       (m2/gm2-ppg-boot/main.o): Ditto.
+       (m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Ditto.
+       to .cc.
+       (m2/gm2-pg-boot/main.o): Ditto.
+       (m2/gm2-pge-boot/$(SRC_PREFIX)ldtoa.o): Ditto.
+       (m2/gm2-pge-boot/$(SRC_PREFIX)dtoa.o): Ditto.
+       (m2/gm2-pge-boot/$(SRC_PREFIX)errno.o): Ditto.
+       (m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): Ditto.
+       (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto.
+       (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto.
+       (m2/gm2-pge-boot/$(SRC_PREFIX)pge.o): Ditto.
+       (m2/gm2-pge-boot/main.o): Ditto.
+       (mc-push): Ditto.
+       (mc-clean): Ditto.
+       (mc-stage2): Ditto.
+       ((objdir)/m2/mc-boot-gen): Ditto.
+       (m2/mc-boot-gen/$(SRC_PREFIX)decl.c): Ditto.
+       (m2/mc-boot-gen/$(SRC_PREFIX)%.c): Ditto.
+       * mc-boot-ch/GBuiltins.c: Correct comment and rename.
+       * mc-boot-ch/Gdtoa.c: Correct comment and rename.
+       * mc-boot-ch/Gldtoa.c: Correct comment and rename
+       * mc-boot-ch/Gtermios.cc: Rename from Gtermios.c.
+       * mc-boot-ch/Gerrno.c: Rename.
+       * mc-boot-ch/GRTco.c: Removed.
+       * mc-boot/GASCII.c: Rename to mc-boot/GASCII.cc.
+       * mc-boot/GArgs.c: Rename to mc-boot/GArgs.cc.
+       * mc-boot/GAssertion.c: Rename to mc-boot/GAssertion.cc.
+       * mc-boot/GBreak.c: Rename to mc-boot/GBreak.cc.
+       * mc-boot/GCmdArgs.c: Rename to mc-boot/GCmdArgs.cc.
+       * mc-boot/GDebug.c: Rename to mc-boot/GDebug.cc.
+       * mc-boot/GDynamicStrings.c: Rename to mc-boot/GDynamicStrings.cc.
+       * mc-boot/GEnvironment.c: Rename to mc-boot/GEnvironment.cc.
+       * mc-boot/GFIO.c: Rename to mc-boot/GFIO.cc.
+       * mc-boot/GFormatStrings.c: Rename to mc-boot/GFormatStrings.cc.
+       * mc-boot/GFpuIO.c: Rename to mc-boot/GFpuIO.cc.
+       * mc-boot/GIO.c: Rename to mc-boot/GIO.cc.
+       * mc-boot/GIndexing.c: Rename to mc-boot/GIndexing.cc.
+       * mc-boot/GM2Dependent.c: Rename to mc-boot/GM2Dependent.cc.
+       * mc-boot/GM2EXCEPTION.c: Rename to mc-boot/GM2EXCEPTION.cc.
+       * mc-boot/GM2RTS.c: Rename to mc-boot/GM2RTS.cc.
+       * mc-boot/GMemUtils.c: Rename to mc-boot/GMemUtils.cc.
+       * mc-boot/GNumberIO.c: Rename to mc-boot/GNumberIO.cc.
+       * mc-boot/GPushBackInput.c: Rename to mc-boot/GPushBackInput.cc.
+       * mc-boot/GRTExceptions.c: Rename to mc-boot/GRTExceptions.cc.
+       * mc-boot/GRTint.c: Rename to mc-boot/GRTint.cc.
+       * mc-boot/GSArgs.c: Rename to mc-boot/GSArgs.cc.
+       * mc-boot/GSFIO.c: Rename to mc-boot/GSFIO.cc.
+       * mc-boot/GStdIO.c: Rename to mc-boot/GStdIO.cc.
+       * mc-boot/GStorage.c: Rename to mc-boot/GStorage.cc.
+       * mc-boot/GStrCase.c: Rename to mc-boot/GStrCase.cc.
+       * mc-boot/GStrIO.c: Rename to mc-boot/GStrIO.cc.
+       * mc-boot/GStrLib.c: Rename to mc-boot/GStrLib.cc.
+       * mc-boot/GStringConvert.c: Rename to mc-boot/GStringConvert.cc.
+       * mc-boot/GSysStorage.c: Rename to mc-boot/GSysStorage.cc.
+       * mc-boot/GTimeString.c: Rename to mc-boot/GTimeString.cc.
+       * mc-boot/Galists.c: Rename to mc-boot/Galists.cc.
+       * mc-boot/Gdecl.c: Rename to mc-boot/Gdecl.cc.
+       * mc-boot/Gkeyc.c: Rename to mc-boot/Gkeyc.cc.
+       * mc-boot/Glists.c: Rename to mc-boot/Glists.cc.
+       * mc-boot/GmcComment.c: Rename to mc-boot/GmcComment.cc.
+       * mc-boot/GmcComp.c: Rename to mc-boot/GmcComp.cc.
+       * mc-boot/GmcDebug.c: Rename to mc-boot/GmcDebug.cc.
+       * mc-boot/GmcError.c: Rename to mc-boot/GmcError.cc.
+       * mc-boot/GmcFileName.c: Rename to mc-boot/GmcFileName.cc.
+       * mc-boot/GmcLexBuf.c: Rename to mc-boot/GmcLexBuf.cc.
+       * mc-boot/GmcMetaError.c: Rename to mc-boot/GmcMetaError.cc.
+       * mc-boot/GmcOptions.c: Rename to mc-boot/GmcOptions.cc.
+       * mc-boot/GmcPreprocess.c: Rename to mc-boot/GmcPreprocess.cc.
+       * mc-boot/GmcPretty.c: Rename to mc-boot/GmcPretty.cc.
+       * mc-boot/GmcPrintf.c: Rename to mc-boot/GmcPrintf.cc.
+       * mc-boot/GmcQuiet.c: Rename to mc-boot/GmcQuiet.cc.
+       * mc-boot/GmcReserved.c: Rename to mc-boot/GmcReserved.cc.
+       * mc-boot/GmcSearch.c: Rename to mc-boot/GmcSearch.cc.
+       * mc-boot/GmcStack.c: Rename to mc-boot/GmcStack.cc.
+       * mc-boot/GmcStream.c: Rename to mc-boot/GmcStream.cc.
+       * mc-boot/Gmcp1.c: Rename to mc-boot/Gmcp1.cc.
+       * mc-boot/Gmcp2.c: Rename to mc-boot/Gmcp2.cc.
+       * mc-boot/Gmcp3.c: Rename to mc-boot/Gmcp3.cc.
+       * mc-boot/Gmcp4.c: Rename to mc-boot/Gmcp4.cc.
+       * mc-boot/Gmcp5.c: Rename to mc-boot/Gmcp5.cc.
+       * mc-boot/GnameKey.c: Rename to mc-boot/GnameKey.cc.
+       * mc-boot/GsymbolKey.c: Rename to mc-boot/GsymbolKey.cc.
+       * mc-boot/Gtop.c: Rename to mc-boot/Gtop.cc.
+       * mc-boot/Gvarargs.c: Rename to mc-boot/Gvarargs.cc.
+       * mc-boot/Gwlists.c: Rename to mc-boot/Gwlists.cc.
+       * pge-boot/GASCII.c: Rename to pge-boot/GASCII.cc.
+       * pge-boot/GArgs.c: Rename to pge-boot/GArgs.cc.
+       * pge-boot/GAssertion.c: Rename to pge-boot/GAssertion.cc.
+       * pge-boot/GBuiltins.c: Rename to pge-boot/GBuiltins.cc.
+       * pge-boot/GDebug.c: Rename to pge-boot/GDebug.cc.
+       * pge-boot/GDynamicStrings.c: Rename to pge-boot/GDynamicStrings.cc.
+       * pge-boot/GFIO.c: Rename to pge-boot/GFIO.cc.
+       * pge-boot/GIO.c: Rename to pge-boot/GIO.cc.
+       * pge-boot/GIndexing.c: Rename to pge-boot/GIndexing.cc.
+       * pge-boot/GLists.c: Rename to pge-boot/GLists.cc.
+       * pge-boot/GM2Dependent.c: Rename to pge-boot/GM2Dependent.cc.
+       * pge-boot/GM2EXCEPTION.c: Rename to pge-boot/GM2EXCEPTION.cc.
+       * pge-boot/GM2LINK.c: Rename to pge-boot/GM2LINK.cc.
+       * pge-boot/GM2RTS.c: Rename to pge-boot/GM2RTS.cc.
+       * pge-boot/GNameKey.c: Rename to pge-boot/GNameKey.cc.
+       * pge-boot/GNumberIO.c: Rename to pge-boot/GNumberIO.cc.
+       * pge-boot/GOutput.c: Rename to pge-boot/GOutput.cc.
+       * pge-boot/GPushBackInput.c: Rename to pge-boot/GPushBackInput.cc.
+       * pge-boot/GRTExceptions.c: Rename to pge-boot/GRTExceptions.cc.
+       * pge-boot/GRTco.c: Rename to pge-boot/GRTco.cc.
+       * pge-boot/GSFIO.c: Rename to pge-boot/GSFIO.cc.
+       * pge-boot/GSYSTEM.c: Rename to pge-boot/GSYSTEM.cc.
+       * pge-boot/GSelective.c: Rename to pge-boot/GSelective.cc.
+       * pge-boot/GStdIO.c: Rename to pge-boot/GStdIO.cc.
+       * pge-boot/GStorage.c: Rename to pge-boot/GStorage.cc.
+       * pge-boot/GStrCase.c: Rename to pge-boot/GStrCase.cc.
+       * pge-boot/GStrIO.c: Rename to pge-boot/GStrIO.cc.
+       * pge-boot/GStrLib.c: Rename to pge-boot/GStrLib.cc.
+       * pge-boot/GSymbolKey.c: Rename to pge-boot/GSymbolKey.cc.
+       * pge-boot/GSysExceptions.c: Rename to pge-boot/GSysExceptions.cc.
+       * pge-boot/GSysStorage.c: Rename to pge-boot/GSysStorage.cc.
+       * pge-boot/Gabort.c: Rename to pge-boot/Gabort.cc.
+       * pge-boot/Gbnflex.c: Rename to pge-boot/Gbnflex.cc.
+       * pge-boot/Gcbuiltin.c: Rename to pge-boot/Gcbuiltin.cc.
+       * pge-boot/Gdtoa.c: Rename to pge-boot/Gdtoa.cc.
+       * pge-boot/Gerrno.c: Rename to pge-boot/Gerrno.cc.
+       * pge-boot/Gldtoa.c: Rename to pge-boot/Gldtoa.cc.
+       * pge-boot/Glibc.c: Rename to pge-boot/Glibc.cc.
+       * pge-boot/Glibm.c: Rename to pge-boot/Glibm.cc.
+       * pge-boot/Gmcrts.c: Rename to pge-boot/Gmcrts.cc.
+       * pge-boot/Gpge.c: Rename to pge-boot/Gpge.cc.
+       * pge-boot/Gwrapc.c: Rename to pge-boot/Gwrapc.cc.
+       * pge-boot/README: Correct description.
+       * pge-boot/main.c: Rename to pge-boot/main.cc.
+       * pge-boot/network.c: Rename to pge-boot/network.cc.
+
 2023-02-28  Gaius Mulley  <gaiusmod2@gmail.com>
 
        PR modula2/108956
index 63a22d183363fbb7522dc199dd71c1b25158b46d..f3c9836f2691de1b18d9701db11ceb8378370a89 100644 (file)
@@ -1,3 +1,44 @@
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/vect/slp-3.c: Fix up syntax errors in scan-tree-dump-times
+       target selectors.
+       * gcc.dg/vect/slp-multitypes-11.c: Likewise.
+
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/107465
+       * c-c++-common/Wsign-compare-2.c (f18): New test.
+
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/107465
+       * c-c++-common/Wsign-compare-2.c: New test.
+       * c-c++-common/pr107465.c: New test.
+
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/107846
+       * gcc.dg/pr107846.c: New test.
+
+2023-03-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/108702
+       * g++.dg/ext/stmtexpr19.C: Use dg-do link rather than dg-do compile.
+
+2023-03-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * gcc.dg/ipa/pr77653.c: Skip for cris-*-*.
+
+2023-03-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * gcc.dg/ifcvt-4.c: Add cris-*-* to skip list.
+
+2023-03-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * g++.dg/cpp0x/pr84497.C: Handle USER_LABEL_PREFIX == "_" on
+       scan-assembler identifiers.
+       * gcc.dg/debug/btf/btf-enum64-1.c, gcc.dg/ipa/symver1.c: Ditto.
+
 2023-03-03  David Malcolm  <dmalcolm@redhat.com>
 
        PR analyzer/109016