[patch, fortran] PR103506 [10/11/12/13 Regression] ICE in gfc_free_namespace, at fortran/symbol.c

2023-01-28 Thread Jerry DeLisle via Gcc-patches
Attached patch fixes this problem by allowing the namespace pointer to be set correctly regardless of error condition. Regression tested on x86_64_linux_gnu. OK for trunk and backports? Regards, Jerry Author: Jerry DeLisle Date: Sat Jan 28 20:00:34 2023 -0800 ICE in

[PATCH] Change AVX512FP16 to AVX512-FP16 which is official name.

2023-01-28 Thread liuhongt via Gcc-patches
Ready to push to trunk. --- htdocs/gcc-12/changes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index 30fa4d6e..49055ffe 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -754,7 +754,7 @@

[PATCH] Change AVX512FP16 to AVX512-FP16 in the document.

2023-01-28 Thread liuhongt via Gcc-patches
The official name is AVX512-FP16. Ready to push to trunk. gcc/ChangeLog: * config/i386/i386.opt: Change AVX512FP16 to AVX512-FP16. * doc/invoke.texi: Ditto. --- gcc/config/i386/i386.opt | 2 +- gcc/doc/invoke.texi | 6 +++--- 2 files changed, 4 insertions(+), 4

[PATCH] aarch64: Update Ampere-1A (-mcpu=ampere1a) to include SM4

2023-01-28 Thread Philipp Tomsich
gcc/ChangeLog: * config/aarch64/aarch64-cores.def (AARCH64_CORE): Update ampere1a to include SM4. Signed-off-by: Philipp Tomsich --- gcc/config/aarch64/aarch64-cores.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/aarch64/aarch64-cores.def

[PATCH] Fix PR 108582: ICE due to PHI-OPT removing a still in use ssa_name.

2023-01-28 Thread Andrew Pinski via Gcc-patches
This patch adds a check in match_simplify_replacement to make sure the middlebb does not have any phi-nodes as we don't currently move those. This was just a thinko from before. Ok? Bootstrapped and tested on x86_64-linux-gnu with no regressions? PR tree-optimization/108582

[pushed] doc: Update link to the AVR-Libc manual

2023-01-28 Thread Gerald Pfeifer
Pushed. Gerald gcc/ChangeLog: * doc/extend.texi (Named Address Spaces): Update link to the AVR-Libc manual. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 027a08a2f62..5a026c4b48c 100644

[pushed] libstdc++: Update links in the "Contributing" manual

2023-01-28 Thread Gerald Pfeifer
Pushed. Gerald libstdc++-v3/ChangeLog: * doc/xml/manual/appendix_contributing.xml: Adjust link to ISO C++ standard at ANSI. Move link to www.open-std.org to https. * doc/html/manual/appendix_contributing.html: Regenerate. ---

[pushed] wwwdocs: gcc-11: Switch www.open-std.org to https

2023-01-28 Thread Gerald Pfeifer
Pushed. Gerald --- htdocs/gcc-11/porting_to.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-11/porting_to.html b/htdocs/gcc-11/porting_to.html index 802fb367..a7b634c1 100644 --- a/htdocs/gcc-11/porting_to.html +++ b/htdocs/gcc-11/porting_to.html @@ -49,7

[v2,pushed] wwwdocs: projects/gomp: Editorial changes

2023-01-28 Thread Gerald Pfeifer
This is a minor variation of what i shared a week ago. Pushed now, and I'll be happy to make adjustments/further changes based on feedback. Gerald Break long sentences, fixe grammar, simplify language. --- htdocs/projects/gomp/index.html | 29 ++--- 1 file changed,

[pushed] wwwdocs: cxx-status: Fix link to GCC 10 release notes

2023-01-28 Thread Gerald Pfeifer
Pushed. Gerald "." refers to the current directory; we need ".." to move one level up. --- htdocs/projects/cxx-status.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html index f6435eb2..cc8fe615 100644 ---

Re: [PATCH] Fortran: diagnose USE associated symbols in COMMON blocks [PR108453]

2023-01-28 Thread Jerry D via Gcc-patches
On 1/28/23 9:07 AM, Harald Anlauf via Fortran wrote: Dear all, a USE associated symbol shall not appear in a COMMON block (F2018:C8121) and needs to be diagnosed. The patch is fairly obvious. Regtested on x86_64-pc-linux-gnu. OK for mainline? As the PR is marked as a 10/11/12/13 regression,

Re: [PATCH] Fortran: diagnose USE associated symbols in COMMON blocks [PR108453]

2023-01-28 Thread Steve Kargl via Gcc-patches
On Sat, Jan 28, 2023 at 06:07:50PM +0100, Harald Anlauf via Fortran wrote: > > a USE associated symbol shall not appear in a COMMON block > (F2018:C8121) and needs to be diagnosed. The patch is > fairly obvious. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > > As the PR is marked as

Re: [PATCH] Fortran: fix ICE in compare_bound_int [PR108527]

2023-01-28 Thread Jerry D via Gcc-patches
On 1/24/23 1:48 PM, Harald Anlauf via Fortran wrote: Dear all, when checking expressions for array sections, we need to ensure that these use only type INTEGER. However, it does not make sense to generate an internal error when encountering wrong types, but rather take the ordinary route of

[pushed] doc: Update link to Objective-C book

2023-01-28 Thread Gerald Pfeifer
Pushed. Gerald gcc/ChangeLog: * doc/standards.texi (Standards): Update link to Objective-C book. --- gcc/doc/standards.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index b54502add41..5ea724f5657 100644 ---

[Patch] pr65658.c: fix excess warnings on LLP64 targets

2023-01-28 Thread Jonathan Yong via Gcc-patches
Patch OK? gcc/testsuite/ChangeLog: * gcc.dg/pr65658.c: fix LLP64 test.From bd2634e2795723f290dcf4bbb06e70fb6ca6af51 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sat, 28 Jan 2023 18:12:50 + Subject: [PATCH] pr65658.c: fix excess warnings on LLP64 targets

OpenMP Patch Ping – including "[13 Regression]" patches

2023-01-28 Thread Tobias Burnus
"[13 Regression]" OpenMP Fortran patches: [Patch] OpenMP/Fortran: Fix loop-iter var privatization with !$OMP LOOP [PR108512] https://gcc.gnu.org/pipermail/gcc-patches/2023-January/610531.html [Patch][v2] OpenMP/Fortran: Partially fix non-rect loop nests [PR107424]

[Patch] Fix excess warnings for mingw-w64 (LLP64)

2023-01-28 Thread Jonathan Yong via Gcc-patches
I'm not fully confident if it might break other platforms. So hopefully someone can comment on the patch. gcc/testsuite/ChangeLog: * c-c++-common/Wsizeof-array-div1.c: fix excess warnings. * gcc.dg/Warray-bounds-52.c: ditto * gcc.dg/Wstringop-overflow-62.c: ditto

*PING* [PATCH] Fortran: fix ICE in compare_bound_int [PR108527]

2023-01-28 Thread Harald Anlauf via Gcc-patches
Early gentle ping. Am 24.01.23 um 22:48 schrieb Harald Anlauf via Gcc-patches: Dear all, when checking expressions for array sections, we need to ensure that these use only type INTEGER. However, it does not make sense to generate an internal error when encountering wrong types, but rather

[PATCH] Fortran: diagnose USE associated symbols in COMMON blocks [PR108453]

2023-01-28 Thread Harald Anlauf via Gcc-patches
Dear all, a USE associated symbol shall not appear in a COMMON block (F2018:C8121) and needs to be diagnosed. The patch is fairly obvious. Regtested on x86_64-pc-linux-gnu. OK for mainline? As the PR is marked as a 10/11/12/13 regression, I plan to backport as appropriate. Thanks, Harald

Re: [patch, gfortran.dg] Adjust numerous tests so that they pass on line endings

2023-01-28 Thread Mikael Morin
Le 28/01/2023 à 03:47, Jerry D a écrit : It is not apparent to me that the testsuite/ChangeLog was updated. Maybe there is a time delay on that? Yes, it's done daily as part of the "daily bump" commit. You can see it in the git log: $ git log -- gcc/testsuite/ChangeLog commit

Re: [Patch] Resolve bugzilla #108150 and #108192 for mingw

2023-01-28 Thread Jonathan Yong via Gcc-patches
On 1/19/23 09:26, Jonathan Yong wrote: On 1/11/23 09:56, Jonathan Yong wrote: Are the patches and changelogs OK? Ping1. Pushed to master branch.

Re: [COMMITTED] bpf: disable -fstack-protector in BPF

2023-01-28 Thread Jan-Benedict Glaw
On Tue, 2023-01-17 17:25:08 +0100, Jose E. Marchesi via Gcc-patches wrote: > The stack protector is not supported in BPF. This patch disables > -fstack-protector in bpf-* targets, along with the emission of a note > indicating that the feature is not supported in this platform. [...] > diff

[pushed] Modula-2: Claim Wreturn-type in lang.opt.

2023-01-28 Thread Iain Sandoe via Gcc-patches
Now we claim options for Modula-2 in m2/lang.opt we need to add those used for warnings too. This fixes: FAIL: gm2/warnings/returntype/pass/Termbase.mod FAIL: gm2/warnings/returntype/pass/goodreturn.mod FAIL: gm2/warnings/returntype/pass/keypressedsimple.mod all with -O0 -g -Werror=return-type

[pushed] wwwdocs: bugs: Adjust link to ISO C++ standard

2023-01-28 Thread Gerald Pfeifer
Pushed. Gerald --- htdocs/bugs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/bugs/index.html b/htdocs/bugs/index.html index 96a5d0f0..765d8c67 100644 --- a/htdocs/bugs/index.html +++ b/htdocs/bugs/index.html @@ -629,7 +629,7 @@ section of the GCC manual.

Re: [PATCH] [GCC12] Mention Intel AVX512-FP16 and _Float16 support.

2023-01-28 Thread Gerald Pfeifer
On Fri, 8 Oct 2021, Hongtao Liu wrote: > > On Fri, 24 Sep 2021, Hongtao Liu via Gcc-patches wrote: >>> + New ISA extension support for Intel AVX512-FP16 was added to GCC. >>> + AVX512FP16 intrinsics are available [...] >> So, is it AVX512-FP16 or AVX512FP16? > Sorry for the confusion, the

[pushed, C++] wwwdocs: faq: Remove "Copy constructor access check" entry

2023-01-28 Thread Gerald Pfeifer
Sometimes less is more (and our FAQ can use some trimming/updating for sure). Pushed. Gerald This entry refers to changes in GCC 3.4 and GCC 4.3 which were released in 2004 and 2008, respectively, and this is hardly a FAQ any more. --- htdocs/bugs/index.html | 50

[pushed] libstdc++: Move sourceforge.net links to https

2023-01-28 Thread Gerald Pfeifer
Starting to see some trees in the forrest of links that require updating... Pushed. Gerald libstdc++-v3/ChangeLog: * doc/xml/manual/documentation_hacking.xml: Move sourceforge.net links to https. * doc/html/manual/documentation_hacking.html: Regenerate. ---

[pushed] doc: Update reference to AddressSanitizer

2023-01-28 Thread Gerald Pfeifer
gcc/ChangeLog: * doc/invoke.texi (Instrumentation Options): Update reference to AddressSanitizer. --- gcc/doc/invoke.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a371cd91ef8..6e3f5bf8216 100644 ---

[pushed] doc: Update Go1 link

2023-01-28 Thread Gerald Pfeifer
gcc/ChangeLog: * doc/standards.texi: Update Go1 link. --- gcc/doc/standards.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index d9ee11ccc29..b54502add41 100644 --- a/gcc/doc/standards.texi +++

[pushed] libstdc++: Switch www.open-std.org to https (ABI manual)

2023-01-28 Thread Gerald Pfeifer
Pushed. Gerald libstdc++-v3/ChangeLog: * doc/xml/manual/abi.xml: Update www.open-std.org link to https. * doc/html/manual/abi.html: Regenerate. --- libstdc++-v3/doc/html/manual/abi.html | 4 ++-- libstdc++-v3/doc/xml/manual/abi.xml | 4 ++-- 2 files changed, 4 insertions(+),

Re: Ping^3: [PATCH] d: Update __FreeBSD_version values [PR107469]

2023-01-28 Thread Lorenzo Salvadore via Gcc-patches
--- Original Message --- On Monday, January 23rd, 2023 at 3:45 PM, Iain Buclaw wrote: > > > Excerpts from Lorenzo Salvadore's message of Januar 10, 2023 5:10 pm: > > > Hello, > > > > Ping https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605685.html > > > > I would like to