Re: [PATCH 0/11] warning control by group and location (PR 74765)

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/24/2021 4:02 PM, Martin Sebor via Gcc-patches wrote: Having just one bit control whether an expression or statement should be allowed to trigger warnings has been a source of bug reports about false negatives for years.  PR 74765 has a representative test case that shows how by setting th

Re: [PATCH] PR testsuite/100749 - gcc.dg/pch/valid-1.c fails after r12-949

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/29/2021 12:02 AM, Indu Bhagat via Gcc-patches wrote: Hi, This patch fixes the failing pch testcases as observed in PR testsuite/100749. Although the PR mentions powerpc64, the issue exists on other arches but appears to be latent. The issue causing the failure was that the underlying ch

[committed] wwwdocs: mirrors.html: Move gwdg.de from ftp to https

2021-05-29 Thread Gerald Pfeifer
I commit this change which moves from ftp to https. Eberhard, is there maybe a different/better URL to use, that does not feature "ftp" in the hostname? Gerald --- htdocs/mirrors.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/mirrors.html b/htdocs/mirrors.html in

Re: [PATCH] diagnostics: Fix sporadic test failure

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/29/2021 1:55 PM, Bernd Edlinger wrote: On 5/29/21 9:31 PM, Jeff Law wrote: On 5/28/2021 6:38 AM, Bernd Edlinger wrote: Hi, it turns out to be reproducible this way: COLUMNS=80 make check-gcc-c RUNTESTFLAGS="plugin.exp=diagnostic*" Running /home/ed/gnu/gcc-trunk/gcc/testsuite/gcc.dg

Re: [PATCH] diagnostics: Fix sporadic test failure

2021-05-29 Thread Bernd Edlinger
On 5/29/21 9:31 PM, Jeff Law wrote: > > > On 5/28/2021 6:38 AM, Bernd Edlinger wrote: >> Hi, >> >> it turns out to be reproducible this way: >> >> COLUMNS=80 make check-gcc-c RUNTESTFLAGS="plugin.exp=diagnostic*" >> >> Running /home/ed/gnu/gcc-trunk/gcc/testsuite/gcc.dg/plugin/plugin.exp ... >

Re: [PATCH] diagnostics: Fix sporadic test failure

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/28/2021 6:38 AM, Bernd Edlinger wrote: Hi, it turns out to be reproducible this way: COLUMNS=80 make check-gcc-c RUNTESTFLAGS="plugin.exp=diagnostic*" Running /home/ed/gnu/gcc-trunk/gcc/testsuite/gcc.dg/plugin/plugin.exp ... FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c -fplugi

Re: [PATCH v2] MIPS: R6: load/store can process unaligned address

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/8/2021 4:12 AM, YunQiang Su wrote: MIPS release 6 requires the lw/ld/sw/sd can work with unaligned address, while it can be implemented by full hardware or trap&emulate. Since it is may be fully done by hardware, we add an option -m(no-)unaligned-access, the kernel may need it. gcc/Chan

Re: [PATCH 2/2] testsuite: Fix Wattributes test cases for s390 and add new test

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/3/2021 9:20 AM, Robin Dapp via Gcc-patches wrote: Following up, this patch removes the s390-specific check for the warning and adds a new test. Is it OK after the common-code changes are in? Regards  Robin -- gcc/testsuite/ChangeLog:     * c-c++-common/Wattributes.c: Remove s390

Re: [PATCH] avoid -Wnonnull with lambda (PR 100684)

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/24/2021 4:12 AM, Martin Liška wrote: On 5/20/21 10:03 AM, Richard Biener wrote: Martin - was this intended?  Can you fix it up please?  (g:cb50701ec2c7) It was not intentional. Fixed in the attached patch (where I did a refactoring as well). Patch can bootstrap on x86_64-linux-gnu and

Re: [PATCH] correct VLA bound traversal (PR 100719)

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/26/2021 1:29 PM, Martin Sebor via Gcc-patches wrote: The -Wvla-parameter checking of the bounds of VLA parameters in function redeclarations has a few bugs: a) it scans the string that encodes the attribute access representation of the VLA bounds from the end, failing to consider that the

[committed][PR bootstrap/100730] Fix warnings in H8 target files

2021-05-29 Thread Jeff Law via Gcc-patches
Jan-Benedict's tester uses -enable-werror-always and thus will trip over certain compilation issues that my tester would miss.  This patches addresses a few minor issues in the H8 backend flagged by Jan-Benedict's tester. In addition to verifying this fixes the failures Jan-Benedict reported,

[committed] openmp: Add shared to parallel for linear on parallel master taskloop simd [PR99928]

2021-05-29 Thread Jakub Jelinek via Gcc-patches
Hi! I forgot to add default(none) and defaultmap(none) wherever possible on the testcases to make sure none of the required clauses are added implicitly (because in that case it doesn't work with these none arguments of those default* clauses or works differently with other default* settings. An

Re: [Patch] OpenMP: Add iterator support to Fortran's depend; add affinity clause

2021-05-29 Thread Jakub Jelinek via Gcc-patches
On Fri, May 28, 2021 at 12:59:20AM +0200, Tobias Burnus wrote: > * gfortran.dg/gomp/depend-iterator-1.f90: New test. > * gfortran.dg/gomp/depend-iterator-2.f90: New test. Something I've missed during the review but it shows up during testing: > diff --git a/gcc/testsuite/gfortran.dg/g