Re: [Patch] tree-nested: Update assert for Fortran module vars [PR97927]

2021-03-07 Thread Richard Biener
On Fri, 5 Mar 2021, Tobias Burnus wrote: > Nested functions are permitted for C but not C++ as extension. > They are also permitted for Fortran, which generates DECL_CONTEXT > == NAMESPACE_DECL for module variables. > > That causes the gcc_assert (decl_function_context (decl) == info->context) >

Re: [PATCH v3] IBM Z: Fix usage of "f" constraint with long doubles

2021-03-07 Thread Andreas Krebbel via Gcc-patches
On 3/4/21 3:08 PM, Ilya Leoshkevich wrote: > v1: https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563799.html > v1 -> v2: > - Handle constraint modifiers, use AR constraint instead of R, add > testcases for & and %. > > v2: https://gcc.gnu.org/pipermail/gcc-patches/2021-January/564380.html

Re: [PATCH] skip testing time before epoch on mips

2021-03-07 Thread YunQiang Su via Gcc-patches
Chen Li 于2021年3月8日周一 下午2:35写道: > > > When execute libstdc++ testcases on mips, I notice that last_write_time > alawys failed, and the failed VERIFY is "VERIFY( > approx_equal(last_write_time(f.path), time) );" where testing time before > than epoch. > > Below is the minimal case: > > ``` > // gcc

[PATCH] skip testing time before epoch on mips

2021-03-07 Thread Chen Li
When execute libstdc++ testcases on mips, I notice that last_write_time alawys failed, and the failed VERIFY is "VERIFY( approx_equal(last_write_time(f.path), time) );" where testing time before than epoch. Below is the minimal case: ``` // gcc a.c int main() { struct timespec times[2]

[PATCH] Fix typo in gcc/asan.c comment

2021-03-07 Thread Ahamed Husni via Gcc-patches
Hi all, This is my first contribution for an open source project. Please guide me if anything is missing. diff --git a/gcc/gcc/asan.c b/gcc/gcc/asan.c index 89ecd99b182..836f50bd44a 100755 --- a/gcc/gcc/asan.c +++ b/gcc/gcc/asan.c @@ -105,7 +105,7 @@ along with GCC; see the file COPYING3. If

Re: [Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-07 Thread François Dumont via Gcc-patches
Here is the patch to correctly deal with the new __dp_sign_max_size. I prefer to introduce new __can_advance overloads for this to correctly deal with the _Distance_precision in it. _M_valid_range was also ignoring __dp_sign_max_size.     libstdc++: [_GLIBCXX_DEBUG] Fix management of __dp_sig

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

2021-03-07 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 Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file, 'gcc-11.1-b20210207.sv.po'

Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)

2021-03-07 Thread Arnaud Charlet
> > > > This fixes a compilation error preventing bootstrap with Ada on > > > > x86_64-pc-cygwin. See PR bootstrap/94918 for details. > > > > > > > > Compared to the initial patch sent in May 2020, this v2 patch places > > > > the fix in Ada's raise-gcc.c instead of the shared unwind-generic.h, > >

Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)

2021-03-07 Thread Mikael Pettersson via Gcc-patches
On Sun, Jan 10, 2021 at 2:04 PM Mikael Pettersson wrote: > > On Sun, Jan 10, 2021 at 11:57 AM Arnaud Charlet wrote: > > > > > This fixes a compilation error preventing bootstrap with Ada on > > > x86_64-pc-cygwin. See PR bootstrap/94918 for details. > > > > > > Compared to the initial patch sent

Contents of PO file 'cpplib-11.1-b20210207.eo.po'

2021-03-07 Thread Translation Project Robot
cpplib-11.1-b20210207.eo.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

New Esperanto PO file for 'cpplib' (version 11.1-b20210207)

2021-03-07 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 Esperanto team of translators. The file is available at: https://translationproject.org/latest/cpplib/eo.po (This file, 'cpplib-11.1-b2021

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

2021-03-07 Thread Uros Bizjak via Gcc-patches
On Sun, Mar 7, 2021 at 9:41 AM Jakub Jelinek wrote: > > On Sat, Mar 06, 2021 at 01:39:23PM +0100, Uros Bizjak via Gcc-patches wrote: > > > One possibility would be to change the meaning of Yw, because it > > > is an internal undocumented constraint and all uses in GCC currently use > > > it > > >

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

2021-03-07 Thread Jakub Jelinek via Gcc-patches
On Sat, Mar 06, 2021 at 01:39:23PM +0100, Uros Bizjak via Gcc-patches wrote: > > One possibility would be to change the meaning of Yw, because it > > is an internal undocumented constraint and all uses in GCC currently use it > > as xYw: > > constraints.md:(define_register_constraint "Yw" > > mmx.m