aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog17
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog43
-rw-r--r--gcc/fortran/ChangeLog10
-rw-r--r--gcc/m2/ChangeLog182
-rw-r--r--gcc/testsuite/ChangeLog44
7 files changed, 303 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 90111bb..444716b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,20 @@
+2025-01-25 Andi Kleen <ak@gcc.gnu.org>
+
+ PR preprocessor/118168
+ * input.cc (file_cache_slot::m_error): New field.
+ (file_cache_slot::create): Clear m_error.
+ (file_cache_slot::file_cache_slot): Clear m_error.
+ (file_cache_slot::read_data): Set m_error on error.
+ (file_cache_slot::get_next_line): Use m_error instead of ferror.
+
+2025-01-25 Jeff Law <jlaw@ventanamicro.com>
+
+ PR target/116256
+ * config/riscv/riscv.md (mvconst_internal): Reject single bit
+ constants.
+ * config/riscv/riscv.cc (riscv_gen_zero_extend_rtx): Improve
+ handling constants.
+
2025-01-24 Andrew Carlotti <andrew.carlotti@arm.com>
* config/aarch64/aarch64-arches.def (V9_5A): Add CPA.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index da8bd40..1e4e11a 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250125
+20250126
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 50b2b1f..b962ba2 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2025-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/118639
+ * c-parser.cc (c_parser_omp_variable_list): Remove first variable
+ and emit "expected identifier" error regardless of it.
+
2025-01-23 Jakub Jelinek <jakub@redhat.com>
PR c++/118604
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 9b64c0d..648abcc 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,46 @@
+2025-01-25 Simon Martin <simon@nasilyan.com>
+
+ PR c++/118239
+ * constexpr.cc (cx_check_missing_mem_inits): Don't skip fields
+ with DECL_FIELD_IS_BASE.
+
+2025-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/117827
+ * init.cc (build_new_1): Pass address of a make_tree_vector ()
+ initialized gc tree vector to build_vec_init and append
+ build_disable_temp_cleanup to init_expr from it.
+
+2025-01-25 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116568
+ * module.cc (trees_out::get_merge_kind): Treat all lambdas
+ without a mangling scope as un-mergeable.
+
+2025-01-25 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116568
+ * cp-tree.h (finish_concept_definition): Adjust parameters.
+ (start_concept_definition): Declare.
+ * module.cc (depset::hash::is_tu_local_entity): Use
+ LAMBDA_EXPR_EXTRA_SCOPE to detect TU-local lambdas.
+ * parser.cc (cp_parser_concept_definition): Start a lambda scope
+ for concept definitions.
+ * pt.cc (tsubst_lambda_expr): Namespace-scope lambdas may now
+ have extra scope.
+ (finish_concept_definition): Split into...
+ (start_concept_definition): ...this new function.
+
+2025-01-25 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/118245
+ * cp-tree.h (LAMBDA_EXPR_EXTRA_SCOPE): Adjust comment.
+ * parser.cc (cp_parser_class_head): Start (and do not finish)
+ lambda scope for all valid types.
+ (cp_parser_class_specifier): Finish lambda scope after parsing
+ members instead.
+ * pt.cc (instantiate_class_template): Add lambda scoping.
+
2025-01-24 Marek Polacek <polacek@redhat.com>
PR c++/117153
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d7f6603..07fcffc 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,13 @@
+2025-01-25 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/58857
+ * class.cc (gfc_find_derived_vtab): Declare some frontend generated
+ variables and procedures (_vtab, _copy, _deallocate) as artificial.
+ (find_intrinsic_vtab): Likewise.
+ * trans-decl.cc (check_block_data_decls): New helper function.
+ (gfc_generate_block_data): Use it to emit warnings for variables
+ declared in a BLOCK DATA program unit but not in a COMMON block.
+
2025-01-23 Harald Anlauf <anlauf@gmx.de>
PR fortran/118613
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index b6b35a7..aeeaca1 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,5 +1,187 @@
2025-01-25 Gaius Mulley <gaiusmod2@gmail.com>
+ PR modula2/117737
+ PR modula2/118010
+ * Make-maintainer.in (PGE-MC-OPTIONS): New macro.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): Use $(PGE-MC-OPTIONS).
+ (m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.o): Ditto.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.o): Ditto.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)Lists.o): Ditto.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)Output.o): Ditto.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.o): Ditto.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.o): Ditto.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)pge.o): Ditto.
+ (m2/gm2-auto/pg.o): Ditto.
+ (m2/gm2-auto/pge.o): Ditto.
+ (mc-autogen): Add include directory $(GMPINC) to $(CXX).
+ * mc/keyc.mod (checkGccConfigSystem): Remove
+ INCLUDE_MEMORY define.
+ * mc-boot/GASCII.cc (INCLUDE_MEMORY): Removed during rebuild.
+ * mc-boot/GASCII.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GArgs.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GArgs.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GAssertion.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GAssertion.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GBreak.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GBreak.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GCOROUTINES.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GCmdArgs.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GCmdArgs.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GDebug.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GDebug.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GDynamicStrings.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GDynamicStrings.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GEnvironment.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GEnvironment.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GFIO.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GFIO.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GFormatStrings.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GFormatStrings.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GFpuIO.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GFpuIO.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GIO.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GIO.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GIndexing.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GIndexing.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GM2Dependent.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GM2Dependent.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GM2EXCEPTION.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GM2EXCEPTION.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GM2RTS.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GM2RTS.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GMemUtils.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GMemUtils.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GNumberIO.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GNumberIO.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GPushBackInput.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GPushBackInput.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GRTExceptions.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GRTExceptions.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GRTco.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GRTentity.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GRTint.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GRTint.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSArgs.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSArgs.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSFIO.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSFIO.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSYSTEM.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSelective.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStdIO.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStdIO.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStorage.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStorage.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStrCase.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStrCase.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStrIO.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStrIO.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStrLib.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStrLib.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStringConvert.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GStringConvert.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSysExceptions.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSysStorage.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GSysStorage.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GTimeString.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GTimeString.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GUnixArgs.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Galists.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Galists.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gdecl.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gdecl.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gdtoa.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gerrno.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gkeyc.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gkeyc.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gldtoa.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Glibc.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Glibm.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Glists.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Glists.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcComment.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcComment.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcComp.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcComp.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcDebug.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcDebug.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcError.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcError.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcFileName.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcFileName.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcLexBuf.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcLexBuf.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcMetaError.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcMetaError.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcOptions.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcOptions.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcPreprocess.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcPreprocess.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcPretty.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcPretty.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcPrintf.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcPrintf.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcQuiet.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcQuiet.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcReserved.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcReserved.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcSearch.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcSearch.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcStack.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcStack.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcStream.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GmcStream.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcflex.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp1.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp1.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp2.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp2.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp3.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp3.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp4.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp4.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp5.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gmcp5.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GnameKey.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GnameKey.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GsymbolKey.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/GsymbolKey.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gtermios.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gtop.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gvarargs.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gvarargs.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gwlists.cc (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gwlists.h (INCLUDE_MEMORY): Ditto.
+ * mc-boot/Gwrapc.h (INCLUDE_MEMORY): Ditto.
+ * pge-boot/GIndexing.h (INCLUDE_MEMORY): Ditto.
+ * pge-boot/GSEnvironment.h (INCLUDE_MEMORY): Ditto.
+ * pge-boot/GScan.h (INCLUDE_MEMORY): Ditto.
+
+2025-01-25 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/118010
+ * gm2-libs-log/FileSystem.mod (doModeChange): Replace
+ LONGINT with COFF_T.
+ (SetPos): Use COFF_T for the return value and offset type
+ when calling lseek.
+ * gm2-libs/FIO.mod (SetPositionFromBeginning): Convert pos
+ to COFF_T.
+ (SetPositionFromEnd): Ditto.
+ * mc-boot/GFIO.cc: Rebuild.
+ * mc-boot/Glibc.h: Ditto.
+ * pge-boot/GFIO.cc: Ditto.
+ * pge-boot/Glibc.h: Ditto.
+
+2025-01-25 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/118010
+ * gm2-compiler/P2SymBuild.mod (Debug): Comment out unused
+ procedure.
+ * gm2-libs/libc.def (lseek): Declare second parameter offset
+ as COFF_T.
+
+2025-01-25 Gaius Mulley <gaiusmod2@gmail.com>
+
PR modula2/118589
* gm2-compiler/M2MetaError.mod (symDesc): Add opaque type
description.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a6eaf21..7689a8a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,47 @@
+2025-01-25 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/58857
+ * gfortran.dg/uncommon_block_data_2.f90: New test.
+
+2025-01-25 Simon Martin <simon@nasilyan.com>
+
+ PR c++/118239
+ * g++.dg/cpp0x/constexpr-base8.C: New test.
+
+2025-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/118639
+ * c-c++-common/gomp/pr118639.c: New test.
+ * c-c++-common/goacc/cache-2.c: Remove one xfail for c.
+
+2025-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/117827
+ * g++.dg/init/array66.C: New test.
+
+2025-01-25 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116568
+ * g++.dg/modules/lambda-8.h: New test.
+ * g++.dg/modules/lambda-8_a.H: New test.
+ * g++.dg/modules/lambda-8_b.C: New test.
+
+2025-01-25 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116568
+ * g++.dg/modules/internal-4_b.C: Remove XFAIL, add lambda alias
+ testcase.
+ * g++.dg/modules/lambda-9.h: New test.
+ * g++.dg/modules/lambda-9_a.H: New test.
+ * g++.dg/modules/lambda-9_b.C: New test.
+
+2025-01-25 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/118245
+ * g++.dg/abi/lambda-ctx3.C: New test.
+ * g++.dg/cpp2a/lambda-uneval22.C: New test.
+ * g++.dg/cpp2a/lambda-uneval23.C: New test.
+
2025-01-25 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/118589