Re: [RFC/PATCH] IFN: Fix mask_{load,store} optab support macros

2020-06-24 Thread Jim Wilson
On Wed, Jun 24, 2020 at 1:35 AM Richard Sandiford wrote: > Richard Biener writes: > > AVX512 would have V16SImode and SImode because the mask would have > > an integer mode? Likewise I could imagine RISC-V using V4SImode and > > V4QImode > > or however their mask registers look like. RISC-V ha

[PATCH] libgomp: added simple functions and tests for OMPD

2020-06-24 Thread y2s1982 via Gcc-patches
This patch adds some unit tests for omp-tools.h header. It also adds some simple functions related to OMPD API versions. It also partially defines the OMPD initialization function. More OMPD configuration is also added into Makefile.am. 2020-06-24 Tony Sim libgomp/ChangeLog: * Makefil

Re: [RFC/PATCH] IFN: Fix mask_{load,store} optab support macros

2020-06-24 Thread Andrew Waterman
On Wed, Jun 24, 2020 at 5:56 PM Jim Wilson wrote: > > On Wed, Jun 24, 2020 at 1:35 AM Richard Sandiford > wrote: > > Richard Biener writes: > > > AVX512 would have V16SImode and SImode because the mask would have > > > an integer mode? Likewise I could imagine RISC-V using V4SImode and > > > V

Re: [PATCH] PR fortran/95826 - Buffer overflows with PDTs and long symbols

2020-06-24 Thread Thomas Koenig via Gcc-patches
Hi Harald, Is the memory you allocate freed anywhere? We have a large number of memory leaks in the front end, but maybe we shouldn't add another one :-) my reading of the definition of XALLOCAVEC include/libiberty.h:#define XALLOCAVEC(T, N)((T *) alloca (sizeof (T) * (N))) and alloca(

Re: [PATCH] PR fortran/95828 - Buffer overflows with SELECT RANK

2020-06-24 Thread Thomas Koenig via Gcc-patches
Hi Harald, Another case of buffer overflow, this time coming in pairs. Regtested on x86_64-pc-linux-gnu. OK for master? OK. Thanks for tackling this! I haven't checked, but you are probably setting a new record for bug fixes per second now :-) Best regards Thomas

Fortran : Fortran translation issues PR52279

2020-06-24 Thread Mark Eggleston
Patch to fix PR52279.  Marked strings that are indirectly used in error and warning messages so that they are marked for translation. OK to commit? Commit message: Fortran  : Fortran translation issues PR52279 Mark strings for translation by enclosing in G_() and _(). 2020-06-24  Mark Eggles

Fortran : ICE in generic_correspondence PR95584

2020-06-24 Thread Mark Eggleston
Please find attached fix for PR95584.  Original patch by Steve Kargl. OK to commit and backport? Commit message: Fortran  : ICE in generic_correspondence PR95584 Output an error for ambiguous interfaces in generic interface instead of ICE. 2020-06-25  Steven G. Kargl  gcc/fortran/     PR f

<    1   2