Re: [patch, libgfortran] Initailize some variable to get rid of nuisance warnings.

2023-02-26 Thread Tobias Burnus
Just side remarks, the 0 init in the patch is fine. On 27.02.23 03:53, Jerry D via Gcc-patches wrote: regarding PACK: since this is a bogus warning as the compiler does not realize that dim >= 1, wouldn't a gcc_assert (dim >= 1); Note: gcc_assert only exists in the compiler itself; in libgfo

Re: [PATCH] testsuite: Add -fno-ivopts to gcc.dg/Wuse-after-free-2.c, PR108828

2023-02-26 Thread Richard Biener via Gcc-patches
On Fri, Feb 24, 2023 at 5:38 PM Hans-Peter Nilsson via Gcc-patches wrote: > > Ok to commit? > > I suggest that when committed I'll also set the bugzilla > entry in SUSPENDED mode, as opposed to RESOLVED. I mean, > the issue isn't really solved; that'd be a patch improving > pointer tracking acros

Re: [patch, libgfortran] Initailize some variable to get rid of nuisance warnings.

2023-02-26 Thread Thomas Koenig via Gcc-patches
Hi Jerry, I should have clarified in my posts that the warnings are on the use of sstride[0], mstride[0] or both. In a sense it is a regression. It showed up when builds started to use -Wmaybe-unitialized. I think this is OK for trunk now, and backport for up to whenever -Wmaybe-uninitial

Re: [PATCH] Fix std::unordered_map key range insertion

2023-02-26 Thread François Dumont via Gcc-patches
Replying to my own questions. This use case is not valid from a Standard point of view. So not a bug and no need to deal with that before next stage 1. The question left is either we want to support it ? François On 23/02/23 22:14, François Dumont wrote: Hi Based on my work on PR 96088 for

RE: Re: [PATCH] RISC-V: Bugfix for rvv bool mode precision adjustment

2023-02-26 Thread Li, Pan2 via Gcc-patches
Hi there, Just FYI that there is no obvious errors of this patch by running the GCC bootstrap making. Pan From: Li, Pan2 Sent: Friday, February 24, 2023 3:21 PM To: juzhe.zh...@rivai.ai; kito.cheng ; richard.sandiford Cc: incarnation.p.lee ; gcc-patches ; Kito.cheng ; rguenther ; jeffreyala

[PATCH] MIPS: Add buildtime option to set msa default

2023-02-26 Thread Junxian Zhu
From: Junxian Zhu Add buildtime option to decide whether will compiler build with `-mmsa` option default. gcc/ChangeLog: * config.gcc: add -with-{no-}msa build option. * config/mips/mips.h: Likewise. * doc/install.texi: Likewise. Signed-off-by: Junxian Zhu --- gcc/con

Re: [patch, libgfortran] Initailize some variable to get rid of nuisance warnings.

2023-02-26 Thread Jerry D via Gcc-patches
On 2/26/23 12:59 PM, Harald Anlauf wrote: Hi Jerry, regarding PACK: since this is a bogus warning as the compiler does not realize that dim >= 1, wouldn't a gcc_assert (dim >= 1); in the right place achieve the same effect, since the first argument must be an array? (It's different for SPREAD

Re: [pushed][PATCH v2] LoongArch: Change the value of macro TRY_EMPTY_VM_SPACE from 0x8000000000 to 0x1000000000.

2023-02-26 Thread Lulu Cheng
Pushed to r13-6353. 在 2023/2/23 下午5:29, Lulu Cheng 写道: The PCH mechanism first tries to map the .gch file to the virtual memory space pointed to by TRY_EMPTY_VM_SPACE during the compilation process. The original value of TRY_EMPTY_VM_SPACE macro is 0x80, but like la464 only has 40 bits

Re: [PATCH] xtensa: Make use of CLAMPS instruction if configured

2023-02-26 Thread Max Filippov via Gcc-patches
On Sun, Feb 26, 2023 at 9:27 AM Takayuki 'January June' Suwa wrote: > This patch introduces the use of CLAMPS instruction when the instruction > is configured. Testing. > (Totally off-topic, but do you know anything about the SALT/SALTU > instructions? > I see them in the "Core Architecture Ins

Re: [patch, libgfortran] Initailize some variable to get rid of nuisance warnings.

2023-02-26 Thread Harald Anlauf via Gcc-patches
Hi Jerry, regarding PACK: since this is a bogus warning as the compiler does not realize that dim >= 1, wouldn't a gcc_assert (dim >= 1); in the right place achieve the same effect, since the first argument must be an array? (It's different for SPREAD, though, where SOURCE may be scalar). Che

[patch, libgfortran] Initailize some variable to get rid of nuisance warnings.

2023-02-26 Thread Jerry D via Gcc-patches
The attached patch is minor and self explanatory. I assume this should wait for gfortran 14 since no regression involved. Please advise otherwise. Regression tested on x86-64. OK for trunk when the time is right? Regards, Jerry Author: Jerry DeLisle Date: Sat Feb 25 20:30:35 2023 -0800

Ping^5: [PATCH] jit: Install jit headers in $(libsubincludedir) [PR 101491]

2023-02-26 Thread Lorenzo Salvadore via Gcc-patches
Hello, Ping https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606450.html Thanks, Lorenzo Salvadore > From f8e2c2ee89a7d8741bb65163d1f1c20edcd546ac Mon Sep 17 00:00:00 2001 > From: Lorenzo Salvadore develo...@lorenzosalvadore.it > > Date: Wed, 16 Nov 2022 11:27:38 +0100 > Subject: [PATCH

[PATCH] xtensa: Make use of CLAMPS instruction if configured

2023-02-26 Thread Takayuki 'January June' Suwa via Gcc-patches
This patch introduces the use of CLAMPS instruction when the instruction is configured. /* example */ int test(int a) { if (a < -512) return -512; if (a > 511) return 511; return a; } ;; prereq: TARGET_CLAMPS test: clamps a2, a2, 9

New Swedish PO file for 'cpplib' (version 13.1-b20230212)

2023-02-26 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Swedish team of translators. The file is available at: https://translationproject.org/latest/cpplib/sv.po (This file, 'cpplib-13.1-b202302

Contents of PO file 'cpplib-13.1-b20230212.sv.po'

2023-02-26 Thread Translation Project Robot
cpplib-13.1-b20230212.sv.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

Re: [PATCH v2 0/5] A small Texinfo refinement

2023-02-26 Thread Arsen Arsenović via Gcc-patches
Hi Thomas, Thomas Schwinge writes: > Hi Arsen! > > Thanks for caring about the documentation infrastructure! > > On 2023-02-23T11:27:09+0100, Arsen Arsenović via Gcc-patches > wrote: >> The commit "docs: Reorder @opindex to be before corresponding options" > >> https://gcc.gnu.org/pipermai

RE: [PATCH] Fix RTL simplifications of FFS, POPCOUNT and PARITY.

2023-02-26 Thread Roger Sayle
To assist Jakub's request for progress on this, I've re-tested this patch (which still applies cleanly) on x86_64-pc-linux-gnu, again without any regressions. This is a middle-end piece of my preferred solution to PR106594, which is a P1 regression affecting aarch64. This patch teaches simplify-