Re: [commited] [PR99378] LRA: Skip decomposing address for asm insn operand with unknown constraint

2021-03-06 Thread Gerald Pfeifer
On Fri, 5 Mar 2021, Vladimir Makarov via Gcc-patches wrote: >   The following patch fixes > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378 > >   The patch was successfully bootstrapped and tested on x86-64. Is it possible this breaks bootstrap on i586? See

New German PO file for 'gcc' (version 11.1-b20210207)

2021-03-06 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the German team of translators. The file is available at: https://translationproject.org/latest/gcc/de.po (This file,

Re: [PATCH] c++: Fix constexpr evaluation of pre-increment when !lval [PR99287]

2021-03-06 Thread Jason Merrill via Gcc-patches
On 3/5/21 5:18 PM, Patrick Palka wrote: On Fri, 5 Mar 2021, Jason Merrill wrote: On 3/5/21 1:05 PM, Patrick Palka wrote: Here, during cxx_eval_increment_expression (with lval=false) of ++__first where __first is &"mystr"[0], we correctly update __first to &"mystr"[1] but we end up returning

[committed] d: Don't set default flag_complex_method.

2021-03-06 Thread Iain Buclaw via Gcc-patches
Hi, This patch removes the default initializing of flag_complex_method in the D front-end. D doesn't need C99-like requirements for complex multiply and divide, the default set by common.opt is sufficient enough. Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and committed

[PATCH] [AARCH64] Modify __ARM_ARCH as per latest ACLE

2021-03-06 Thread Naveen Hurugalawadi via Gcc-patches
--_002_DM6PR18MB27780C281E55729A473FF172A7969DM6PR18MB2778namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Please find attached the patch that modifies "__ARM_ARCH" as per latest ACL= E. Built and tested the patch on aarch64-marvell-linux-gnu.

[committed][OG10] amdgcn: Fix early-debug relocations

2021-03-06 Thread Andrew Stubbs
This patch is now backported to devel/omp/gcc-10. Andrew On 26/11/2020 14:41, Andrew Stubbs wrote: This patch fixes an error in GCN mkoffload that corrupted relocations in the early-debug info. The code now updates the relocation code without zeroing the symbol index. Andrew

[committed][OG10] DWARF: late code range fixup

2021-03-06 Thread Andrew Stubbs
This patch fixes up the DWARF code ranges for offload debugging, again. This time it defers the changes until most other DWARF generation has occurred, because the previous method was causing ICEs on some testcases. This patch will be proposed for mainline in stage 1. Andrew DWARF: late

Re: [PATCH] libgcov: Fix build on Darwin [PR99406]

2021-03-06 Thread Jeff Law via Gcc-patches
On 3/5/21 1:41 PM, Jakub Jelinek via Gcc-patches wrote: > On Fri, Mar 05, 2021 at 04:19:47PM +, Iain Sandoe wrote: >> Jakub Jelinek via Gcc-patches wrote: >> >>> As reported, bootstrap currently fails on older Darwin because >>> MAP_ANONYMOUS >>> is not defined. >>> >>> The following is

Re: [PATCH] i386: Fix some -mavx512vl -mno-avx512bw bugs [PR99321]

2021-03-06 Thread Uros Bizjak via Gcc-patches
On Sat, Mar 6, 2021 at 11:34 AM Jakub Jelinek wrote: > > On Sat, Mar 06, 2021 at 11:19:15AM +0100, Uros Bizjak wrote: > > > We already have Yw constraint which is equivalent to v for > > > -mavx512bw -mavx512vl and to nothing otherwise, so for > > > the instructions that need both we need to use

Re: [pushed] c++: Fix class NTTP constness handling [PR98810]

2021-03-06 Thread Eric Botcazou
> GCC 9 doesn't have the "c++20" target yet. > > * g++.dg/cpp2a/nontype-class-defarg1.C: Use target c++2a. Thanks! -- Eric Botcazou

Re: [PATCH] i386: Fix some -mavx512vl -mno-avx512bw bugs [PR99321]

2021-03-06 Thread Jakub Jelinek via Gcc-patches
On Sat, Mar 06, 2021 at 11:19:15AM +0100, Uros Bizjak wrote: > > We already have Yw constraint which is equivalent to v for > > -mavx512bw -mavx512vl and to nothing otherwise, so for > > the instructions that need both we need to use xYw and > > v for modes that don't need that. > > Perhaps we

Re: [PATCH] i386: Fix some -mavx512vl -mno-avx512bw bugs [PR99321]

2021-03-06 Thread Uros Bizjak via Gcc-patches
On Fri, Mar 5, 2021 at 9:51 PM Jakub Jelinek wrote: > > Hi! > > As I wrote in the mail with the previous PR99321 fix, we have various > bugs where we emit instructions that need avx512bw and avx512vl > ISAs when compiling with -mavx512vl -mno-avx512bw. > > Without the following patch, > /* PR

Re: [PATCH] libstdc++: Improve std::rot[lr] [PR99396]

2021-03-06 Thread Jonathan Wakely via Gcc-patches
On Fri, 5 Mar 2021, 22:32 Jakub Jelinek via Libstdc++, < libstd...@gcc.gnu.org> wrote: > Hi! > > As can be seen on: > #include > > unsigned char f1 (unsigned char x, int y) { return std::rotl (x, y); } > unsigned char f2 (unsigned char x, int y) { return std::rotr (x, y); } > unsigned short f3

Re: [PATCH] i386: Improve [QH]Imode rotates with masked shift count [PR99405]

2021-03-06 Thread Uros Bizjak via Gcc-patches
On Fri, Mar 5, 2021 at 9:40 PM Jakub Jelinek wrote: > > Hi! > > The following testcase shows that while we nicely optimize away the > useless and? of shift count before rotation for [SD]Imode rotates, > we don't do that for [QH]Imode. > > The following patch optimizes that by using the right