From 0a251e7497647875efce2ce239a2acc72a3fb528 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Thu, 2 Feb 2023 00:17:43 +0000 Subject: Daily bump. --- gcc/ChangeLog | 94 ++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 6 ++ gcc/c-family/ChangeLog | 4 + gcc/cp/ChangeLog | 18 +++++ gcc/fortran/ChangeLog | 11 +++ gcc/m2/ChangeLog | 202 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 99 ++++++++++++++++++++++++ 8 files changed, 435 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 692efe1..11c0f46 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,97 @@ +2023-02-01 Tamar Christina + + * common/config/aarch64/aarch64-common.cc + (struct aarch64_option_extension): Add native_detect and document struct + a bit more. + (all_extensions): Set new field native_detect. + * config/aarch64/aarch64.cc (struct aarch64_option_extension): Delete + unused struct. + +2023-02-01 Martin Liska + + * ipa-devirt.cc (odr_types_equivalent_p): Respect *warned + value if set. + +2023-02-01 Andrew MacLeod + + PR tree-optimization/108356 + * gimple-range-cache.cc (ranger_cache::range_on_edge): Always + do a search of the DOM tree for a range. + +2023-02-01 Martin Liska + + PR ipa/108509 + * cgraphunit.cc (walk_polymorphic_call_targets): Insert + ony non-null values. + * ipa.cc (walk_polymorphic_call_targets): Likewise. + +2023-02-01 Martin Liska + + PR driver/108572 + * gcc.cc (LINK_COMPRESS_DEBUG_SPEC): Report error only for + -gz=zstd. + +2023-02-01 Jakub Jelinek + + PR debug/108573 + * ree.cc (combine_reaching_defs): Don't return false for paradoxical + subregs in DEBUG_INSNs. + +2023-02-01 Richard Sandiford + + * compare-elim.cc (find_flags_uses_in_insn): Guard use of SET_SRC. + +2023-02-01 Andreas Krebbel + + * config/s390/s390.cc (s390_restore_gpr_p): New function. + (s390_preserve_gpr_arg_in_range_p): New function. + (s390_preserve_gpr_arg_p): New function. + (s390_preserve_fpr_arg_p): New function. + (s390_register_info_stdarg_fpr): Rename to ... + (s390_register_info_arg_fpr): ... this. Add -mpreserve-args handling. + (s390_register_info_stdarg_gpr): Rename to ... + (s390_register_info_arg_gpr): ... this. Add -mpreserve-args handling. + (s390_register_info): Use the renamed functions above. + (s390_optimize_register_info): Likewise. + (save_fpr): Generate CFI for -mpreserve-args. + (save_gprs): Generate CFI for -mpreserve-args. Drop return value. + (s390_emit_prologue): Adjust to changed calling convention of save_gprs. + (s390_optimize_prologue): Likewise. + * config/s390/s390.opt: New option -mpreserve-args + +2023-02-01 Andreas Krebbel + + * config/s390/s390.cc (save_gprs): Use gen_frame_mem. + (restore_gprs): Likewise. + (s390_emit_stack_tie): Make the stack_tie to be dependent on the + frame pointer if a frame-pointer is used. + (s390_emit_prologue): Emit stack_tie when frame-pointer is needed. + * config/s390/s390.md (stack_tie): Add a register operand and + rename to ... + (@stack_tie): ... this. + +2023-02-01 Andreas Krebbel + + * dwarf2cfi.cc (dwarf2out_frame_debug_cfa_restore): Add + EMIT_CFI parameter. + (dwarf2out_frame_debug): Add case for REG_CFA_NORESTORE. + * reg-notes.def (REG_CFA_NOTE): New reg note definition. + +2023-02-01 Richard Biener + + PR middle-end/108500 + * dominance.cc (assign_dfs_numbers): Replace recursive DFS + with tree traversal algorithm. + +2023-02-01 Jason Merrill + + * doc/invoke.texi: Document -Wno-changes-meaning. + +2023-02-01 David Malcolm + + * doc/invoke.texi (Static Analyzer Options): Add notes about + limitations of -fanalyzer. + 2023-01-31 Ju-Zhe Zhong * config/riscv/constraints.md (vj): New. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index f295cfe..05457af 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230201 +20230202 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index f8b439e..c0e514a 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,9 @@ +2023-02-01 David Malcolm + + PR analyzer/108616 + * pending-diagnostic.cc (fixup_location_in_macro_p): Add "alloca" + to macros that we shouldn't unwind inside. + 2023-01-26 David Malcolm PR analyzer/108524 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index ba60297..e2ccd67 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2023-02-01 Jason Merrill + + * c.opt: Add -Wno-changes-meaning. + 2023-01-31 Marek Polacek PR c++/107593 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4e97c19..68236b7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,21 @@ +2023-02-01 Marek Polacek + + PR c++/107755 + * call.cc (build_new_op): Don't call warn_logical_operator when + processing a template. + +2023-02-01 Jakub Jelinek + + PR c++/108607 + * constexpr.cc (cxx_eval_constant_expression): Handle OMP_* + and OACC_* constructs as non-constant. + (potential_constant_expression_1): Handle OMP_SCAN and OMP_SCOPE. + +2023-02-01 Jason Merrill + + * class.cc (note_name_declared_in_class): Change from permerror to + -Wchanges-meaning pedwarn, forcing -pedantic-errors for most cases. + 2023-01-31 Jason Merrill PR c++/108559 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index d1a481b..4027057 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,14 @@ +2023-02-01 Harald Anlauf + + PR fortran/108609 + * expr.cc (find_array_section): Add check to prevent interpreting an + mpz non-integer constant as an integer. + +2023-02-01 Tobias Burnus + + * openmp.cc (resolve_omp_clauses): Check also for + power of two. + 2023-01-29 Mikael Morin PR fortran/108450 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index b476c4f..22d4653 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,205 @@ +2023-02-01 Gaius Mulley + + * Make-lang.in (GM2_FLAGS): Add -fno-return -Wreturn-type. + (GM2_ISO_FLAGS): Add -fno-return -Wreturn-type. + * Make-maintainer.in (GM2PATH): Split into separate -I components. + (MC-LIB-DEFS): Add RTentity.def. + (m2/boot-bin/mc-devel$(exeext)): Changed -I$(GM2PATH) to + $(GM2PATH). + (m2/boot-bin/mc-opt$(exeext)): Separate -I paths. + (m2/mc/decl.o): Separate -I paths. + (gm2-bootstrap): Separate -I paths. + (m2/mc-boot-gen/$(SRC_PREFIX)%.h): Separate -I paths. + (m2/mc-boot-gen/$(SRC_PREFIX)decl.c): Separate -I paths. + (m2/mc-boot-gen/$(SRC_PREFIX)%.c): Separate -I paths. + (gm2.verifyparanoid): Separate -I paths. + (gm2.verifystage12): Separate -I paths. + * gm2-compiler/M2ALU.mod (GetConstructorElement): Add default + Return NulSym. Remove return from the error case. + * gm2-compiler/M2Base.mod (ComplexToScalar): Return RType + from the error case. + (MixMetaTypes): Return MakeError as a default. + * gm2-compiler/M2GCCDeclare.mod (GetTypeMin): Return NulSym + from the error case. + (GetTypeMax): Return NulSym from the error case. + * gm2-compiler/M2GenGCC.mod (IsExportedGcc): Replace Assert + by InternalError. + * gm2-compiler/M2Quads.mod (GetItemPointedTo): Add InternalError. + (GetTypeMin): Add InternalError. + (GetTypeMax): Add InternalError. + * gm2-compiler/M2System.mod (InitSystem): Call + PutProcedureNoReturn on Throw. + * gm2-gcc/m2except.cc (m2except_InitExceptions): fn_throw_tree + declare as noreturn. fn_rethrow_tree declare as noreturn. + * gm2-libs-coroutines/Debug.def (Halt): Add noreturn attribute. + * gm2-libs-coroutines/SYSTEM.def (THROW): Add noreturn attribute. + * gm2-libs-iso/ClientSocket.mod (dorbytes): Add return FALSE. + * gm2-libs-iso/EXCEPTIONS.def (RAISE): Add noreturn attribute. + * gm2-libs-iso/IOLink.def (RAISEdevException): Add noreturn attribute. + * gm2-libs-iso/M2RTS.def (HALT): Add noreturn attribute. + (Halt): Ditto. + (HaltC): Ditto. + (ErrorMessage): Ditto. + (AssignmentException): Ditto. + (ReturnException): Ditto. + (IncException): Ditto. + (DecException): Ditto. + (InclException): Ditto. + (ExclException): Ditto. + (ShiftException): Ditto. + (RotateException): Ditto. + (StaticArraySubscriptException): Ditto. + (DynamicArraySubscriptException): Ditto. + (ForLoopBeginException): Ditto. + (ForLoopToException): Ditto. + (ForLoopEndException): Ditto. + (PointerNilException): Ditto. + (NoReturnException): Ditto. + (CaseException): Ditto. + (WholeNonPosDivException): Ditto. + (WholeNonPosModException): Ditto. + (WholeZeroDivException): Ditto. + (WholeZeroRemException): Ditto. + (WholeValueException): Ditto. + (RealValueException): Ditto. + (ParameterException): Ditto. + (NoException): Ditto. + * gm2-libs-iso/SYSTEM.def (THROW): Ditto. + * gm2-libs-iso/TermFile.mod (dorbytes): Add default return FALSE. + * gm2-libs-min/M2RTS.def: Add noreturn attribute. + * gm2-libs/FIO.mod (BufferedRead): Return -1. + (getFileName): Return NIL. + (getFileNameLength): Return 0. + * gm2-libs/M2RTS.def (HaltC): Add noreturn attribute. + (AssignmentException): Ditto. + (ReturnException): Ditto. + (IncException): Ditto. + (DecException): Ditto. + (InclException): Ditto. + (ExclException): Ditto. + (ShiftException): Ditto. + (RotateException): Ditto. + (StaticArraySubscriptException): Ditto. + (DynamicArraySubscriptException): Ditto. + (ForLoopBeginException): Ditto. + (ForLoopToException): Ditto. + (ForLoopEndException): Ditto. + (PointerNilException): Ditto. + (NoReturnException): Ditto. + (CaseException): Ditto. + (WholeNonPosDivException): Ditto. + (WholeNonPosModException): Ditto. + (WholeZeroDivException): Ditto. + (WholeZeroRemException): Ditto. + (WholeValueException): Ditto. + (RealValueException): Ditto. + (ParameterException): Ditto. + (NoException): Ditto. + * gm2-libs/RTExceptions.def (Raise): Ditto. + * gm2-libs/RTExceptions.mod (InvokeHandler): Ditto. + * gm2-libs/SYSTEM.def (THROW): Ditto. + * m2.flex (_M2_m2flex_fini): Remamed to... + (_M2_m2flex_finish): ...here. + * mc-boot-ch/GBuiltins.c (_M2_Builtins_finish): Remamed to... + (_M2_Builtins_fini): ...this. + * mc-boot-ch/GRTco.c (_M2_RTco_finish): Remamed to... + (_M2_RTco_fini): ...this. + * mc-boot-ch/GSYSTEM.c (_M2_SYSTEM_finish): Remamed to... + (_M2_SYSTEM_fini): ...this. + * mc-boot-ch/GSelective.c (_M2_Selective_finish): Remamed to... + (_M2_Selective_fini): ...this. + * mc-boot-ch/GSysExceptions.c (_M2_SysExceptions_init): Add + parameters. + (_M2_SysExceptions_finish): Remamed to... + (_M2_SysExceptions_fini): ...this. + * mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_finish): Remamed to... + (_M2_UnixArgs_fini): ...this. + (_M2_UnixArgs_ctor::_M2_UnixArgs_ctor): Change parameter + to _M2_UnixArgs_fini. + * mc-boot-ch/Gdtoa.c (_M2_dtoa_finish): Remamed to... + (_M2_dtoa_fini): ...this. + * mc-boot-ch/Gerrno.c (_M2_errno_finish): Remamed to... + (_M2_errno_fini): ...this. + * mc-boot-ch/Gldtoa.c (_M2_ldtoa_finish): Remamed to... + (_M2_ldtoa_fini): ...this. + * mc-boot-ch/Gtermios.cc (_M2_termios_init): Add parameters. + (_M2_termios_finish): Remamed to... + (_M2_termios_fini): ...this. + * mc-boot-ch/Gwrapc.c (_M2_wrapc_init): Add parameters. + (_M2_wrapc_finish): Remamed to... + (_M2_wrapc_fini): ...this. + * mc-boot/GASCII.c: Rebuild. + * mc-boot/GArgs.c: Rebuild. + * mc-boot/GAssertion.c: Rebuild. + * mc-boot/GBreak.c: Rebuild. + * mc-boot/GCmdArgs.c: Rebuild. + * mc-boot/GDebug.c: Rebuild. + * mc-boot/GDynamicStrings.c: Rebuild. + * mc-boot/GEnvironment.c: Rebuild. + * mc-boot/GFIO.c: Rebuild. + * mc-boot/GFormatStrings.c: Rebuild. + * mc-boot/GFpuIO.c: Rebuild. + * mc-boot/GIO.c: Rebuild. + * mc-boot/GIndexing.c: Rebuild. + * mc-boot/GM2Dependent.c: Rebuild. + * mc-boot/GM2EXCEPTION.c: Rebuild. + * mc-boot/GM2RTS.c: Rebuild. + * mc-boot/GM2RTS.h: Rebuild. + * mc-boot/GMemUtils.c: Rebuild. + * mc-boot/GNumberIO.c: Rebuild. + * mc-boot/GPushBackInput.c: Rebuild. + * mc-boot/GRTExceptions.c: Rebuild. + * mc-boot/GRTExceptions.h: Rebuild. + * mc-boot/GRTco.h: Rebuild. + * mc-boot/GRTint.c: Rebuild. + * mc-boot/GSArgs.c: Rebuild. + * mc-boot/GSFIO.c: Rebuild. + * mc-boot/GStdIO.c: Rebuild. + * mc-boot/GStorage.c: Rebuild. + * mc-boot/GStrCase.c: Rebuild. + * mc-boot/GStrIO.c: Rebuild. + * mc-boot/GStrLib.c: Rebuild. + * mc-boot/GStringConvert.c: Rebuild. + * mc-boot/GSysStorage.c: Rebuild. + * mc-boot/GTimeString.c: Rebuild. + * mc-boot/Galists.c: Rebuild. + * mc-boot/Gdecl.c: Rebuild. + * mc-boot/Gkeyc.c: Rebuild. + * mc-boot/Glists.c: Rebuild. + * mc-boot/GmcComment.c: Rebuild. + * mc-boot/GmcComp.c: Rebuild. + * mc-boot/GmcDebug.c: Rebuild. + * mc-boot/GmcError.c: Rebuild. + * mc-boot/GmcFileName.c: Rebuild. + * mc-boot/GmcLexBuf.c: Rebuild. + * mc-boot/GmcMetaError.c: Rebuild. + * mc-boot/GmcOptions.c: Rebuild. + * mc-boot/GmcPreprocess.c: Rebuild. + * mc-boot/GmcPretty.c: Rebuild. + * mc-boot/GmcPrintf.c: Rebuild. + * mc-boot/GmcQuiet.c: Rebuild. + * mc-boot/GmcReserved.c: Rebuild. + * mc-boot/GmcSearch.c: Rebuild. + * mc-boot/GmcStack.c: Rebuild. + * mc-boot/GmcStream.c: Rebuild. + * mc-boot/Gmcp1.c: Rebuild. + * mc-boot/Gmcp2.c: Rebuild. + * mc-boot/Gmcp3.c: Rebuild. + * mc-boot/Gmcp4.c: Rebuild. + * mc-boot/Gmcp5.c: Rebuild. + * mc-boot/GnameKey.c: Rebuild. + * mc-boot/GsymbolKey.c: Rebuild. + * mc-boot/Gtop.c: Rebuild. + * mc-boot/Gvarargs.c: Rebuild. + * mc-boot/Gwlists.c: Rebuild. + * mc-boot/GRTentity.h: New file. + * mc/decl.mod (scaffoldStatic): Change _finish to _fini. + * mc/mc.flex (_M2_mcflex_fini): New function. + (_M2_mcflex_finish): Remove function. + * tools-src/mklink.c (GenerateFinishCalls): Change + _finish to _fini. + (GeneratePrototypes): Change _finish to _fini. + 2023-01-31 Gaius Mulley * Make-lang.in (gm2-libs.texi-check): Rename diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 30eb68a..19e289b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,102 @@ +2023-02-01 Harald Anlauf + + PR fortran/108609 + * gfortran.dg/pr108527.f90: Adjust test pattern. + +2023-02-01 Tamar Christina + + * gcc.target/aarch64/cpunative/info_19: New test. + * gcc.target/aarch64/cpunative/info_20: New test. + * gcc.target/aarch64/cpunative/info_21: New test. + * gcc.target/aarch64/cpunative/info_22: New test. + * gcc.target/aarch64/cpunative/native_cpu_19.c: New test. + * gcc.target/aarch64/cpunative/native_cpu_20.c: New test. + * gcc.target/aarch64/cpunative/native_cpu_21.c: New test. + * gcc.target/aarch64/cpunative/native_cpu_22.c: New test. + +2023-02-01 Siddhesh Poyarekar + + * gcc.dg/builtin-dynamic-object-size-0.c: Move FAIL and nfail + into... + * gcc.dg/builtin-object-size-common.h: ... new file. + * g++.dg/ext/builtin-object-size1.C: Include + builtin-object-size-common.h. Replace all abort with FAIL. + (main): Call DONE. + * g++.dg/ext/builtin-object-size2.C: Likewise. + * gcc.dg/builtin-object-size-1.c: Likewise. + * gcc.dg/builtin-object-size-12.c: Likewise. + * gcc.dg/builtin-object-size-13.c: Likewise. + * gcc.dg/builtin-object-size-15.c: Likewise. + * gcc.dg/builtin-object-size-2.c: Likewise. + * gcc.dg/builtin-object-size-3.c: Likewise. + * gcc.dg/builtin-object-size-4.c: Likewise. + * gcc.dg/builtin-object-size-6.c: Likewise. + * gcc.dg/builtin-object-size-7.c: Likewise. + * gcc.dg/builtin-object-size-8.c: Likewise. + * gcc.dg/pr101836.c: Likewise. + * gcc.dg/strict-flex-array-3.c: Likewise. + +2023-02-01 Andrew MacLeod + + PR tree-optimization/108356 + * gcc.dg/pr108356.c: New. + +2023-02-01 Martin Liska + + PR ipa/108509 + * g++.dg/ipa/pr108509.C: New test. + +2023-02-01 Marek Polacek + + PR c++/107755 + * g++.dg/warn/Wlogical-op-4.C: New test. + +2023-02-01 Jakub Jelinek + + PR debug/108573 + * gcc.dg/pr108573.c: New test. + +2023-02-01 Richard Sandiford + + * g++.dg/gomp/attrs-10.C: Update warning strings for aarch64. + * g++.dg/gomp/declare-simd-8.C: Add expected warning for aarch64. + +2023-02-01 Jakub Jelinek + + PR c++/108607 + * g++.dg/gomp/pr108607.C: New test. + +2023-02-01 Andreas Krebbel + + * gcc.target/s390/preserve-args-1.c: New test. + * gcc.target/s390/preserve-args-2.c: New test. + * gcc.target/s390/preserve-args-3.c: New file. + +2023-02-01 Jason Merrill + + * g++.dg/warn/changes-meaning2.C: New test. + * g++.dg/warn/changes-meaning3.C: New test. + +2023-02-01 David Malcolm + + * gcc.dg/analyzer/call-summaries-2.c: Add + dg-require-effective-target alloca. + * gcc.dg/analyzer/imprecise-floating-point-1.c: Likewise. + * gcc.dg/analyzer/infinite-recursion-alloca.c: Likewise. + * gcc.dg/analyzer/malloc-callbacks.c: Likewise. + * gcc.dg/analyzer/out-of-bounds-5.c: Likewise. Remove includes + of and . Use "__builtin_free" rather than + "free", to match uses of "__builtin_malloc". + * gcc.dg/analyzer/putenv-1.c: Add dg-require-effective-target + alloca. + * gcc.dg/analyzer/write-to-string-literal-5.c: Likewise. + +2023-02-01 David Malcolm + + PR analyzer/108616 + * gcc.dg/analyzer/allocation-size-multiline-3.c: New test. + * gcc.dg/analyzer/test-alloca.h: New test. + 2023-01-31 Jason Merrill PR c++/108559 -- cgit v1.1