mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
Daily bump.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2024-06-11 Arthur Cohen <arthur.cohen@embecosm.com>
|
||||
|
||||
* Makefile.tpl: Add CRAB1_LIBS variable.
|
||||
* Makefile.in: Regenerate.
|
||||
* configure: Regenerate.
|
||||
* configure.ac: Check if -ldl and -lpthread are needed, and if so, add
|
||||
them to CRAB1_LIBS.
|
||||
|
||||
2024-05-31 Pengxuan Zheng <quic_pzheng@quicinc.com>
|
||||
|
||||
* MAINTAINERS: Add myself to Write After Approval and DCO.
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2024-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
||||
|
||||
* fixincl.x: Regenerate.
|
||||
* inclhack.def (math_exception): Bypass on __cplusplus.
|
||||
* tests/base/math.h: Regenerate.
|
||||
|
||||
2024-06-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
||||
|
||||
* fixincl.x: Regenerate.
|
||||
|
||||
103
gcc/ChangeLog
103
gcc/ChangeLog
@@ -1,3 +1,106 @@
|
||||
2024-06-12 liuhongt <hongtao.liu@intel.com>
|
||||
|
||||
PR target/115384
|
||||
* simplify-rtx.cc (simplify_context::simplify_binary_operation_1):
|
||||
Only do the simplification of (AND (ASHIFTRT A imm) mask)
|
||||
to (LSHIFTRT A imm) when the component of const_vector is
|
||||
CONST_INT_P.
|
||||
|
||||
2024-06-11 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* doc/cpp.texi (__STDC_VERSION__): Document C2Y handling.
|
||||
* doc/invoke.texi (-Wc23-c2y-compat, -std=c2y, -std=gnu2y):
|
||||
Document options.
|
||||
(-std=gnu23): Update documentation.
|
||||
* doc/standards.texi (C Language): Document C2Y. Update C23
|
||||
description.
|
||||
* config/rl78/rl78.cc (rl78_option_override): Handle "GNU C2Y"
|
||||
language name.
|
||||
* dwarf2out.cc (highest_c_language, gen_compile_unit_die):
|
||||
Likewise.
|
||||
|
||||
2024-06-11 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
PR target/69374
|
||||
* doc/install.texi (Specific) <x86_64-*-solaris2*>: Remove
|
||||
redundant introduction of x86-64.
|
||||
|
||||
2024-06-11 Robin Dapp <rdapp@ventanamicro.com>
|
||||
|
||||
PR tree-optimization/115382
|
||||
* tree-vect-loop.cc (vectorize_fold_left_reduction): Use
|
||||
prepare_vec_mask.
|
||||
* tree-vect-stmts.cc (check_load_store_for_partial_vectors):
|
||||
Remove static of prepare_vec_mask.
|
||||
* tree-vectorizer.h (prepare_vec_mask): Export.
|
||||
|
||||
2024-06-11 Patrick O'Neill <patrick@rivosinc.com>
|
||||
|
||||
* config/riscv/sync.md (atomic_<atomic_optab><mode>): New expand pattern.
|
||||
(amo_atomic_<atomic_optab><mode>): Rename amo pattern.
|
||||
(atomic_fetch_<atomic_optab><mode>): New lrsc sequence pattern.
|
||||
(lrsc_atomic_<atomic_optab><mode>): New expand pattern.
|
||||
(amo_atomic_fetch_<atomic_optab><mode>): Rename amo pattern.
|
||||
(lrsc_atomic_fetch_<atomic_optab><mode>): New lrsc sequence pattern.
|
||||
(atomic_exchange<mode>): New expand pattern.
|
||||
(amo_atomic_exchange<mode>): Rename amo pattern.
|
||||
(lrsc_atomic_exchange<mode>): New lrsc sequence pattern.
|
||||
|
||||
2024-06-11 Patrick O'Neill <patrick@rivosinc.com>
|
||||
|
||||
* doc/sourcebuild.texi: Add docs for atomic extension testsuite infra.
|
||||
|
||||
2024-06-11 Edwin Lu <ewlu@rivosinc.com>
|
||||
Patrick O'Neill <patrick@rivosinc.com>
|
||||
|
||||
* common/config/riscv/riscv-common.cc: Add Zaamo and Zalrsc.
|
||||
* config/riscv/arch-canonicalize: Make A imply Zaamo and Zalrsc.
|
||||
* config/riscv/riscv.opt: Add Zaamo and Zalrsc
|
||||
* config/riscv/sync.md: Convert TARGET_ATOMIC to TARGET_ZAAMO and
|
||||
TARGET_ZALRSC.
|
||||
|
||||
2024-06-11 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/112600
|
||||
* config/i386/i386.md (usadd<mode>3): Emit insn sequence
|
||||
involving conditional move for TARGET_CMOVE targets.
|
||||
(ussub<mode>3): Ditto.
|
||||
|
||||
2024-06-11 Pengxuan Zheng <quic_pzheng@quicinc.com>
|
||||
|
||||
* config/aarch64/aarch64-builtins.cc (VAR1): Remap float_truncate_lo_
|
||||
builtin codes to standard optab ones.
|
||||
* config/aarch64/aarch64-simd.md (aarch64_float_truncate_lo_<mode><vczle><vczbe>):
|
||||
Rename to...
|
||||
(trunc<Vwide><mode>2<vczle><vczbe>): ... This.
|
||||
|
||||
2024-06-11 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* doc/extend.texi: Document constexpr asm.
|
||||
|
||||
2024-06-11 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gimple-range-fold.cc (range_of_ssa_name_with_loop_info): Issue a
|
||||
message if SCEV is not invoked due to a mismatch.
|
||||
|
||||
2024-06-11 Roger Sayle <roger@nextmovesoftware.com>
|
||||
|
||||
PR target/115397
|
||||
* config/i386/i386-expand.cc (ix86_expand_ternlog): Move call to
|
||||
ix86_broadcast_from_constant before call to validize_mem, but after
|
||||
call to force_const_mem.
|
||||
|
||||
2024-06-11 Pan Li <pan2.li@intel.com>
|
||||
|
||||
* config/riscv/autovec.md (ussub<mode>3): Add new pattern impl
|
||||
for the unsigned vector modes.
|
||||
* config/riscv/riscv-protos.h (expand_vec_ussub): Add new func
|
||||
decl to expand .SAT_SUB for vector mode.
|
||||
* config/riscv/riscv-v.cc (emit_vec_saddu): Add new func impl
|
||||
to expand .SAT_SUB for vector mode.
|
||||
(emit_vec_binary_alu): Add new helper func to emit binary alu.
|
||||
(expand_vec_ussub): Leverage above helper func.
|
||||
|
||||
2024-06-10 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* doc/gm2.texi (Documentation): Fix typos, grammar, and a link.
|
||||
|
||||
@@ -1 +1 @@
|
||||
20240611
|
||||
20240612
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
2024-06-11 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* c-common.cc (flag_isoc2y): New.
|
||||
(flag_isoc99, flag_isoc11, flag_isoc23): Update comments.
|
||||
* c-common.h (flag_isoc2y): New.
|
||||
(clk_c, flag_isoc23): Update comments.
|
||||
* c-opts.cc (set_std_c2y): New.
|
||||
(c_common_handle_option): Handle OPT_std_c2y and OPT_std_gnu2y.
|
||||
(set_std_c89, set_std_c99, set_std_c11, set_std_c17, set_std_c23):
|
||||
Set flag_isoc2y.
|
||||
(set_std_c23): Update comment.
|
||||
* c.opt (Wc23-c2y-compat, std=c2y, std=gnu2y): New.
|
||||
* c.opt.urls: Regenerate.
|
||||
|
||||
2024-06-11 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* c-cppbuiltin.cc (c_cpp_builtins): Define __GXX_CONSTEXPR_ASM__
|
||||
|
||||
2024-06-05 Jakub Jelinek <jakub@redhat.com>
|
||||
Frederik Harwath <frederik@codesourcery.com>
|
||||
Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
2024-06-11 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* c-errors.cc (pedwarn_c23): New.
|
||||
* c-parser.cc (disable_extension_diagnostics)
|
||||
(restore_extension_diagnostics): Save and restore
|
||||
warn_c23_c2y_compat.
|
||||
(c_parser_generic_selection): Handle type name as controlling
|
||||
operand. Allow incomplete and function types subject to
|
||||
pedwarn_c23 calls.
|
||||
* c-tree.h (pedwarn_c23): New.
|
||||
|
||||
2024-06-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c/114493
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
2024-06-11 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* parser.cc (cp_parser_asm_string_expression): New function
|
||||
to handle constexpr strings for asm.
|
||||
(cp_parser_asm_definition): Use cp_parser_asm_string_expression.
|
||||
(cp_parser_yield_expression): Dito.
|
||||
(cp_parser_asm_specification_opt): Dito.
|
||||
(cp_parser_asm_operand_list): Dito.
|
||||
(cp_parser_asm_clobber_list): Dito.
|
||||
|
||||
2024-06-11 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* cp-tree.h (class cexpr_str): Add.
|
||||
* semantics.cc (finish_static_assert): Convert to use cexpr_str.
|
||||
(cexpr_str::type_check): Extract constexpr string code to here.
|
||||
(cexpr_str::extract): ... and here.
|
||||
|
||||
2024-06-08 Simon Martin <simon@nasilyan.com>
|
||||
|
||||
PR c++/108438
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2024-06-11 Andrew Pinski <quic_apinski@quicinc.com>
|
||||
|
||||
PR jit/115442
|
||||
* jit-recording.cc: Define INCLUDE_SSTREAM before including
|
||||
system.h and don't directly incldue sstream.
|
||||
|
||||
2024-04-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* docs/topics/expressions.rst (Constructor expressions): Fix
|
||||
|
||||
267
gcc/m2/ChangeLog
267
gcc/m2/ChangeLog
@@ -1,3 +1,270 @@
|
||||
2024-06-11 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
|
||||
PR modula2/114529
|
||||
* Make-lang.in (MC_EXTENDED_OPAQUE): Assign to nothing.
|
||||
* Make-maintainer.in (mc-basetest): New rule.
|
||||
(mc-devel-basetest): New rule.
|
||||
(mc-clean): Remove mc.
|
||||
(m2/mc-boot-gen/$(SRC_PREFIX)decl.cc): Replace --extended-opaque
|
||||
with $(EXTENDED_OPAQUE).
|
||||
(PG-SRC): Move define before generic rules.
|
||||
(PGE-DEF): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)%.h): New rule.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)libc.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)mcrts.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)UnixArgs.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)Selective.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)termios.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)SysExceptions.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)ldtoa.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)wrapc.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)SYSTEM.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)errno.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)M2RTS.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)SymbolKey.h): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)SymbolKey.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)NameKey.h): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)NameKey.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)Lists.h): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)Lists.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)Output.h): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)bnflex.h): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)bnflex.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTco.h): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTentity.h): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTco.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTentity.o): Ditto.
|
||||
(m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Ditto.
|
||||
(m2/ppg$(exeext)): Ditto.
|
||||
(m2/gm2-ppg-boot/main.o): Ditto.
|
||||
(m2/gm2-auto): Ditto.
|
||||
(c-family/m2pp.o): Ditto.
|
||||
(BUILD-BOOT-PG-H): Correct macro definition.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)%.h): New rule.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)NameKey.h): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)NameKey.o): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)Lists.h): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)Lists.o): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)Output.h): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)Output.o): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)bnflex.h): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)bnflex.o): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)RTco.h): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)RTentity.h): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)RTco.o): Ditto.
|
||||
(m2/gm2-pg-boot/$(SRC_PREFIX)RTentity.o): Ditto.
|
||||
(BUILD-BOOT-PGE-H): Correct macro definition.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.h): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.o): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.h): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.o): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)Lists.h): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)Lists.o): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)Output.h): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)Output.o): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.h): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.o): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)RTco.h): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.h): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)RTco.o): Ditto.
|
||||
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.o): Ditto.
|
||||
(mc-basetest): Ditto.
|
||||
(mc-devel-basetest): Ditto.
|
||||
* gm2-compiler/M2Options.def (SetM2Dump): Add BOOLEAN return.
|
||||
* gm2-compiler/M2Quads.def (BuildAlignment): Add tokno parameter.
|
||||
(BuildBitLength): Ditto.
|
||||
* gm2-compiler/P3Build.bnf (ByteAlignment): Move tokpos assignment
|
||||
to the start of the block.
|
||||
* gm2-compiler/PCBuild.bnf (ConstSetOrQualidentOrFunction): Ditto.
|
||||
(SetOrDesignatorOrFunction): Ditto.
|
||||
* gm2-compiler/PHBuild.bnf (ConstSetOrQualidentOrFunction): Ditto.
|
||||
(SetOrDesignatorOrFunction): Ditto.
|
||||
(ByteAlignment): Ditto.
|
||||
* gm2-libs/dtoa.def (dtoa): Change mode to INTEGER.
|
||||
* gm2-libs/ldtoa.def (ldtoa): Ditto.
|
||||
* mc-boot-ch/GSYSTEM.c (_M2_SYSTEM_init): Correct parameter list.
|
||||
(_M2_SYSTEM_fini): Ditto.
|
||||
* mc-boot-ch/Gdtoa.cc (dtoa_calcsign): Return bool.
|
||||
(dtoa_dtoa): Return void * and use bool in the fifth parameter.
|
||||
(_M2_dtoa_init): Correct parameter list.
|
||||
(_M2_dtoa_fini): Ditto.
|
||||
* mc-boot-ch/Gerrno.cc (_M2_errno_init): Ditto.
|
||||
(_M2_errno_fini): Ditto.
|
||||
* mc-boot-ch/Gldtoa.cc (dtoa_calcsign): Return bool.
|
||||
(ldtoa_ldtoa): Return void * and use bool in the fifth parameter.
|
||||
(_M2_ldtoa_init): Correct parameter list.
|
||||
(_M2_ldtoa_fini): Ditto.
|
||||
* mc-boot-ch/Glibc.c (tracedb_zresult): New function.
|
||||
(libc_read): Return size_t and use size_t in parameter three.
|
||||
(libc_write): Return size_t and use size_t in parameter three.
|
||||
(libc_printf): Add const to the format specifier.
|
||||
Change declaration of c to use const.
|
||||
(libc_snprintf): Add const to the format specifier.
|
||||
Change declaration of c to use const.
|
||||
(libc_malloc): Use size_t.
|
||||
(libc_memcpy): Ditto.
|
||||
* mc-boot/GASCII.cc: Regenerate.
|
||||
* mc-boot/GArgs.cc: Ditto.
|
||||
* mc-boot/GAssertion.cc: Ditto.
|
||||
* mc-boot/GBreak.cc: Ditto.
|
||||
* mc-boot/GCmdArgs.cc: Ditto.
|
||||
* mc-boot/GDebug.cc: Ditto.
|
||||
* mc-boot/GDynamicStrings.cc: Ditto.
|
||||
* mc-boot/GEnvironment.cc: Ditto.
|
||||
* mc-boot/GFIO.cc: Ditto.
|
||||
* mc-boot/GFormatStrings.cc: Ditto.
|
||||
* mc-boot/GFpuIO.cc: Ditto.
|
||||
* mc-boot/GIO.cc: Ditto.
|
||||
* mc-boot/GIndexing.cc: Ditto.
|
||||
* mc-boot/GM2Dependent.cc: Ditto.
|
||||
* mc-boot/GM2EXCEPTION.cc: Ditto.
|
||||
* mc-boot/GM2RTS.cc: Ditto.
|
||||
* mc-boot/GMemUtils.cc: Ditto.
|
||||
* mc-boot/GNumberIO.cc: Ditto.
|
||||
* mc-boot/GPushBackInput.cc: Ditto.
|
||||
* mc-boot/GRTExceptions.cc: Ditto.
|
||||
* mc-boot/GRTint.cc: Ditto.
|
||||
* mc-boot/GSArgs.cc: Ditto.
|
||||
* mc-boot/GSFIO.cc: Ditto.
|
||||
* mc-boot/GStdIO.cc: Ditto.
|
||||
* mc-boot/GStorage.cc: Ditto.
|
||||
* mc-boot/GStrCase.cc: Ditto.
|
||||
* mc-boot/GStrIO.cc: Ditto.
|
||||
* mc-boot/GStrLib.cc: Ditto.
|
||||
* mc-boot/GStringConvert.cc: Ditto.
|
||||
* mc-boot/GSysStorage.cc: Ditto.
|
||||
* mc-boot/GTimeString.cc: Ditto.
|
||||
* mc-boot/Galists.cc: Ditto.
|
||||
* mc-boot/Gdecl.cc: Ditto.
|
||||
* mc-boot/Gkeyc.cc: Ditto.
|
||||
* mc-boot/Glists.cc: Ditto.
|
||||
* mc-boot/GmcComment.cc: Ditto.
|
||||
* mc-boot/GmcComp.cc: Ditto.
|
||||
* mc-boot/GmcDebug.cc: Ditto.
|
||||
* mc-boot/GmcError.cc: Ditto.
|
||||
* mc-boot/GmcFileName.cc: Ditto.
|
||||
* mc-boot/GmcLexBuf.cc: Ditto.
|
||||
* mc-boot/GmcMetaError.cc: Ditto.
|
||||
* mc-boot/GmcOptions.cc: Ditto.
|
||||
* mc-boot/GmcPreprocess.cc: Ditto.
|
||||
* mc-boot/GmcPretty.cc: Ditto.
|
||||
* mc-boot/GmcPrintf.cc: Ditto.
|
||||
* mc-boot/GmcQuiet.cc: Ditto.
|
||||
* mc-boot/GmcReserved.cc: Ditto.
|
||||
* mc-boot/GmcSearch.cc: Ditto.
|
||||
* mc-boot/GmcStack.cc: Ditto.
|
||||
* mc-boot/GmcStream.cc: Ditto.
|
||||
* mc-boot/Gmcp1.cc: Ditto.
|
||||
* mc-boot/Gmcp2.cc: Ditto.
|
||||
* mc-boot/Gmcp3.cc: Ditto.
|
||||
* mc-boot/Gmcp4.cc: Ditto.
|
||||
* mc-boot/Gmcp5.cc: Ditto.
|
||||
* mc-boot/GnameKey.cc: Ditto.
|
||||
* mc-boot/GsymbolKey.cc: Ditto.
|
||||
* mc-boot/Gvarargs.cc: Ditto.
|
||||
* mc-boot/Gwlists.cc: Ditto.
|
||||
* mc-boot/Gdecl.h: Ditto.
|
||||
* mc-boot/Gldtoa.h: Ditto.
|
||||
* mc-boot/Glibc.h: Ditto.
|
||||
* mc/decl.def (putTypeOpaque): New procedure.
|
||||
(isTypeOpaque): New procedure function.
|
||||
* mc/decl.mod (debugOpaque): New constant.
|
||||
(nodeT): New enumeration field opaquecast.
|
||||
(node): New record field opaquecastF.
|
||||
(opaqueCastState): New record.
|
||||
(opaquecastT): New record.
|
||||
(typeT): New field isOpaque.
|
||||
(varT): New field opaqueState.
|
||||
(arrayT): Ditto.
|
||||
(varparamT): Ditto.
|
||||
(paramT): Ditto.
|
||||
(pointerT): Ditto.
|
||||
(recordfieldT): Ditto.
|
||||
(componentrefT): Ditto.
|
||||
(pointerrefT): Ditto.
|
||||
(arrayrefT): Ditto.
|
||||
(procedureT): Ditto.
|
||||
(proctypeT): Ditto.
|
||||
(makeType): Initialize field isOpaque.
|
||||
(makeTypeImp): Initialize field isOpaque.
|
||||
(putVar): Call initNodeOpaqueCastState.
|
||||
(putReturnType): Ditto.
|
||||
(makeProcType): Ditto.
|
||||
(putProcTypeReturn): Ditto.
|
||||
(makeVarParameter): Ditto.
|
||||
(makeNonVarParameter): Ditto.
|
||||
(makeFuncCall): Ditto.
|
||||
(putTypeOpaque): New procedure.
|
||||
(isTypeOpaque): New procedure function.
|
||||
(doMakeComponentRef): Call initNodeOpaqueCastState.
|
||||
(makePointerRef): Call initNodeOpaqueCastState.
|
||||
(doGetFuncType): Call initNodeOpaqueCastState.
|
||||
(doBinary): Add FALSE parameter to doExprCup.
|
||||
(doDeRefC): Rewrite.
|
||||
(doComponentRefC): Call flushOpaque.
|
||||
(doPointerRefC): Call flushOpaque.
|
||||
(doArrayRefC): Add const_cast for unbounded array.
|
||||
(doExprCup): Rewrite.
|
||||
(doTypeAliasC): Remove.
|
||||
(isDeclType): New procedure function.
|
||||
(doEnumerationC): New procedure function.
|
||||
(doParamTypeEmit): Ditto.
|
||||
(doParamTypeNameModifier): Ditto.
|
||||
(initOpaqueCastState): Ditto.
|
||||
(initNodeOpaqueCastState): Ditto.
|
||||
(setOpaqueCastState): Ditto.
|
||||
(setNodeOpaqueVoidStar): Ditto.
|
||||
(nodeUsesOpaque): Ditto.
|
||||
(getNodeOpaqueVoidStar): Ditto.
|
||||
(getOpaqueFlushNecessary): Ditto.
|
||||
(makeOpaqueCast): Ditto.
|
||||
(flushOpaque): Ditto.
|
||||
(castOpaque): Ditto.
|
||||
(isTypeOpaqueDefImp): Ditto.
|
||||
(isParamVoidStar): Ditto.
|
||||
(isRefVoidStar): Ditto.
|
||||
(isReturnVoidStar): Ditto.
|
||||
(isVarVoidStar): Ditto.
|
||||
(initNodeOpaqueState): Ditto.
|
||||
(assignNodeOpaqueCastState): Ditto.
|
||||
(assignNodeOpaqueCastFalse): Ditto.
|
||||
(dumpOpaqueState): Ditto.
|
||||
(doProcTypeC): Rewrite.
|
||||
(isDeclInImp): New procedure function.
|
||||
(doTypeNameModifier): Ditto.
|
||||
(doTypeC): Emit typedef if enum is declared in this module.
|
||||
(doCompletePartialProcType): Rewrite.
|
||||
(outputCompletePartialProcType): New procedure.
|
||||
(doOpaqueModifier): Ditto.
|
||||
(doVarC): Ditto.
|
||||
(doProcedureHeadingC): Add opaque modifier to return type if
|
||||
necessary.
|
||||
(doReturnC): Cast opaque type for return if necessary.
|
||||
(forceCastOpaque): New procedure.
|
||||
(forceReintCastOpaque): New procedure.
|
||||
(doUnConstCastUnbounded): New procedure.
|
||||
(doAssignmentC): Cast opaque for both des and expr if necessary.
|
||||
(doAdrExprC): Use static_cast for void * casting.
|
||||
(doFuncVarParam): New procedure.
|
||||
(doFuncParamC): Rewrite.
|
||||
(doAdrArgC): Rewrite.
|
||||
(getFunction): New procedure function.
|
||||
(stop): Rename to ...
|
||||
(localstop): ... this.
|
||||
(dupFunccall): Call assignNodeOpaqueCastState.
|
||||
(dbg): Rewrite.
|
||||
(addDone): Rewrite.
|
||||
(addDoneDef): Do not add opaque types to the doneQ when declared in
|
||||
the definition module.
|
||||
* mc/mc.flex (openSource): Return bool.
|
||||
(_M2_mcflex_init): Correct parameter list.
|
||||
(_M2_mcflex_fini): Ditto.
|
||||
* mc/mcComment.h (stdbool.h): Include.
|
||||
(mcComment_initComment): Change unsigned int to bool.
|
||||
* mc/mcOptions.mod (handleOption): Disable --extended-opaque
|
||||
and issue warning.
|
||||
* mc/mcp1.bnf (DefTypeDeclaration): Call putTypeOpaque.
|
||||
|
||||
2024-06-06 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
Kewen.Lin <linkw@linux.ibm.com>
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2024-06-11 Arthur Cohen <arthur.cohen@embecosm.com>
|
||||
|
||||
* Make-lang.in: Remove overazealous LIBS = -ldl -lpthread line, link
|
||||
crab1 against CRAB1_LIBS.
|
||||
|
||||
2024-04-15 Thomas Schwinge <tschwinge@baylibre.com>
|
||||
|
||||
* Make-lang.in (RUST_LIBDEPS): Inline into single user.
|
||||
|
||||
@@ -1,3 +1,169 @@
|
||||
2024-06-12 liuhongt <hongtao.liu@intel.com>
|
||||
|
||||
* gcc.target/i386/pr115384.c: New test.
|
||||
|
||||
2024-06-11 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* gcc.dg/c23-generic-1.c, gcc.dg/c23-generic-2.c,
|
||||
gcc.dg/c23-generic-3.c, gcc.dg/c23-generic-4.c,
|
||||
gcc.dg/c2y-generic-1.c, gcc.dg/c2y-generic-2.c,
|
||||
gcc.dg/c2y-generic-3.c, gcc.dg/gnu2y-generic-1.c: New tests.
|
||||
* gcc.dg/c23-tag-6.c: Use -pedantic-errors.
|
||||
|
||||
2024-06-11 Patrick O'Neill <patrick@rivosinc.com>
|
||||
|
||||
* gcc.target/riscv/amo-zaamo-preferred-over-zalrsc.c: New test.
|
||||
* gcc.target/riscv/amo-zalrsc-amo-add-1.c: New test.
|
||||
* gcc.target/riscv/amo-zalrsc-amo-add-2.c: New test.
|
||||
* gcc.target/riscv/amo-zalrsc-amo-add-3.c: New test.
|
||||
* gcc.target/riscv/amo-zalrsc-amo-add-4.c: New test.
|
||||
* gcc.target/riscv/amo-zalrsc-amo-add-5.c: New test.
|
||||
|
||||
2024-06-11 Patrick O'Neill <patrick@rivosinc.com>
|
||||
|
||||
* gcc.target/riscv/amo-table-a-6-amo-add-1.c: Use Zaamo rather than A.
|
||||
* gcc.target/riscv/amo-table-a-6-amo-add-2.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-amo-add-3.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-amo-add-4.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-amo-add-5.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-compare-exchange-1.c: Use Zalrsc rather
|
||||
than A.
|
||||
* gcc.target/riscv/amo-table-a-6-compare-exchange-2.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-compare-exchange-3.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-compare-exchange-4.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-compare-exchange-5.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-compare-exchange-6.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-compare-exchange-7.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-subword-amo-add-1.c: Use Zaamo rather
|
||||
than A.
|
||||
* gcc.target/riscv/amo-table-a-6-subword-amo-add-2.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-subword-amo-add-3.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-subword-amo-add-4.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-a-6-subword-amo-add-5.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-amo-add-1.c: Add Zaamo option.
|
||||
* gcc.target/riscv/amo-table-ztso-amo-add-2.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-amo-add-3.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-amo-add-4.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-amo-add-5.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-compare-exchange-1.c: Use Zalrsc rather
|
||||
than A.
|
||||
* gcc.target/riscv/amo-table-ztso-compare-exchange-2.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-compare-exchange-3.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-compare-exchange-4.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-compare-exchange-5.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-compare-exchange-6.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-compare-exchange-7.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-subword-amo-add-1.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-subword-amo-add-2.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-subword-amo-add-3.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-subword-amo-add-4.c: Ditto.
|
||||
* gcc.target/riscv/amo-table-ztso-subword-amo-add-5.c: Ditto.
|
||||
* lib/target-supports.exp: Add testsuite infrastructure support for
|
||||
Zaamo and Zalrsc.
|
||||
|
||||
2024-06-11 Edwin Lu <ewlu@rivosinc.com>
|
||||
Patrick O'Neill <patrick@rivosinc.com>
|
||||
|
||||
* gcc.target/riscv/attribute-15.c: Adjust expected arch string.
|
||||
* gcc.target/riscv/attribute-16.c: Ditto.
|
||||
* gcc.target/riscv/attribute-17.c: Ditto.
|
||||
* gcc.target/riscv/attribute-18.c: Ditto.
|
||||
* gcc.target/riscv/pr110696.c: Ditto.
|
||||
* gcc.target/riscv/rvv/base/pr114352-1.c: Ditto.
|
||||
* gcc.target/riscv/rvv/base/pr114352-3.c: Ditto.
|
||||
|
||||
2024-06-11 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/112600
|
||||
* gcc.target/i386/pr112600-a.c: Also scan for cmov.
|
||||
* gcc.target/i386/pr112600-b.c: Ditto.
|
||||
|
||||
2024-06-11 Pengxuan Zheng <quic_pzheng@quicinc.com>
|
||||
|
||||
* gcc.target/aarch64/trunc-vec.c: New test.
|
||||
|
||||
2024-06-11 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* g++.dg/ext/asm11.C: Adjust to new error message.
|
||||
* g++.dg/ext/asm9.C: Dito.
|
||||
* g++.dg/parse/asm1.C: Dito.
|
||||
* g++.dg/parse/asm2.C: Dito.
|
||||
* g++.dg/parse/asm3.C: Dito.
|
||||
* g++.dg/cpp1z/constexpr-asm-1.C: New test.
|
||||
* g++.dg/cpp1z/constexpr-asm-2.C: New test.
|
||||
* g++.dg/cpp1z/constexpr-asm-3.C: New test.
|
||||
|
||||
2024-06-11 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* g++.dg/cpp26/static_assert1.C: Update to new error message.
|
||||
* g++.dg/cpp0x/udlit-error1.C: Dito.
|
||||
|
||||
2024-06-11 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
|
||||
PR modula2/114529
|
||||
* gm2/base-lang/pass/SYSTEM.def: New test.
|
||||
* gm2/base-lang/pass/base-lang-test.sh: New test.
|
||||
* gm2/base-lang/pass/globalproctype.def: New test.
|
||||
* gm2/base-lang/pass/globalproctype.mod: New test.
|
||||
* gm2/base-lang/pass/globalvar.def: New test.
|
||||
* gm2/base-lang/pass/globalvar.mod: New test.
|
||||
* gm2/base-lang/pass/globalvarassign.def: New test.
|
||||
* gm2/base-lang/pass/globalvarassign.mod: New test.
|
||||
* gm2/base-lang/pass/localproctype.def: New test.
|
||||
* gm2/base-lang/pass/localproctype.mod: New test.
|
||||
* gm2/base-lang/pass/localvar.def: New test.
|
||||
* gm2/base-lang/pass/localvar.mod: New test.
|
||||
* gm2/base-lang/pass/localvarassign.def: New test.
|
||||
* gm2/base-lang/pass/localvarassign.mod: New test.
|
||||
* gm2/base-lang/pass/opaquefield.def: New test.
|
||||
* gm2/base-lang/pass/opaquefield.mod: New test.
|
||||
* gm2/base-lang/pass/opaquenew.def: New test.
|
||||
* gm2/base-lang/pass/opaquenew.mod: New test.
|
||||
* gm2/base-lang/pass/opaqueparam.def: New test.
|
||||
* gm2/base-lang/pass/opaqueparam.mod: New test.
|
||||
* gm2/base-lang/pass/opaquestr.def: New test.
|
||||
* gm2/base-lang/pass/opaqueuse.def: New test.
|
||||
* gm2/base-lang/pass/opaqueuse.mod: New test.
|
||||
* gm2/base-lang/pass/opaqueusestr.def: New test.
|
||||
* gm2/base-lang/pass/opaqueusestr.mod: New test.
|
||||
* gm2/base-lang/pass/opaquevariant.def: New test.
|
||||
* gm2/base-lang/pass/opaquevariant.mod: New test.
|
||||
* gm2/base-lang/pass/opaquevarparam.def: New test.
|
||||
* gm2/base-lang/pass/opaquevarparam.mod: New test.
|
||||
* gm2/base-lang/pass/simplelist.def: New test.
|
||||
* gm2/base-lang/pass/simplelist.mod: New test.
|
||||
* gm2/base-lang/pass/simplelistiter.def: New test.
|
||||
* gm2/base-lang/pass/simplelistiter.mod: New test.
|
||||
* gm2/base-lang/pass/simpleopaque.def: New test.
|
||||
* gm2/base-lang/pass/simpleopaque.mod: New test.
|
||||
* gm2/base-lang/pass/straddress.def: New test.
|
||||
* gm2/base-lang/pass/straddress.mod: New test.
|
||||
* gm2/base-lang/pass/straddressexport.def: New test.
|
||||
* gm2/base-lang/pass/straddressexport.mod: New test.
|
||||
* gm2/base-lang/pass/unboundedarray.def: New test.
|
||||
* gm2/base-lang/pass/unboundedarray.mod: New test.
|
||||
|
||||
2024-06-11 Roger Sayle <roger@nextmovesoftware.com>
|
||||
|
||||
PR target/115397
|
||||
* gcc.target/i386/pr115397.c: New test case.
|
||||
|
||||
2024-06-11 Pan Li <pan2.li@intel.com>
|
||||
|
||||
* gcc.target/riscv/sat_arith.h: Add helper macros for test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-1.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-2.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-3.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-4.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-run-1.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-run-2.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-run-3.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub-run-4.c: New test.
|
||||
|
||||
2024-06-11 Jeff Law <jlaw@ventanamicro.com>
|
||||
|
||||
* gcc.target/riscv/round_32.c: Delete.
|
||||
|
||||
2024-06-10 Raphael Zinsly <rzinsly@ventanamicro.com>
|
||||
|
||||
* gcc.target/riscv/zbs-ext.c: New test.
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2024-06-11 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* include/cpplib.h (CLK_GNUC2Y, CLK_STDC2Y): New.
|
||||
* init.cc (lang_defaults): Add GNUC2Y and STDC2Y entries.
|
||||
(cpp_init_builtins): Define __STDC_VERSION__ to 202500L for GNUC2Y
|
||||
and STDC2Y.
|
||||
|
||||
2024-06-07 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* files.cc (_cpp_stack_file): LC_ENTER for -include header unit.
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2024-06-11 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/std/chrono (leap_seconds): Add comment.
|
||||
* testsuite/std/time/leap_seconds/io.cc: New test.
|
||||
|
||||
2024-06-10 François Dumont <fdumont@gcc.gnu.org>
|
||||
|
||||
* include/bits/hashtable.h (~_Hashtable()): Replace clear call with
|
||||
|
||||
Reference in New Issue
Block a user