[PATCH v6 11/11] OpenMP: Fortran "!$omp declare mapper" support

2022-12-23 Thread Julian Brown
This patch implements "omp declare mapper" functionality for Fortran, following the equivalent support for C and C++. Fortran differs quite substantially from C and C++ in that "map" clauses are naturally represented in the gfortran front-end's own representation rather than as trees. Those are

[PATCH v6 03/11] OpenMP/OpenACC: Refine condition for when map clause expansion happens

2022-12-23 Thread Julian Brown
This patch fixes some cases for OpenACC and OpenMP where map clauses were being expanded (adding firstprivate_pointer, attach/detach nodes, and so forth) unnecessarily, after the "OpenMP/OpenACC: Rework clause expansion and nested struct handling" patch (approved but not yet committed):

[PATCH v6 04/11] OpenMP: implicitly map base pointer for array-section pointer components

2022-12-23 Thread Julian Brown
Following from discussion in: https://gcc.gnu.org/pipermail/gcc-patches/2021-May/570075.html and: https://gcc.gnu.org/pipermail/gcc-patches/2022-December/608100.html and also upstream OpenMP issue 342, this patch changes mapping for array sections of pointer components on compute regions

[PATCH v6 06/11] OpenMP/OpenACC: Unordered/non-constant component offset runtime diagnostic

2022-12-23 Thread Julian Brown
This patch adds support for non-constant component offsets in "map" clauses for OpenMP (and the equivalants for OpenACC), which are not able to be sorted into order at compile time. Normally struct accesses in such clauses are gathered together and sorted into increasing address order after a

[PATCH v6 01/11] OpenMP/OpenACC: Reindent TO/FROM/_CACHE_ stanza in {c_}finish_omp_clause

2022-12-23 Thread Julian Brown
This patch trivially adds braces and reindents the OMP_CLAUSE_TO/OMP_CLAUSE_FROM/OMP_CLAUSE__CACHE_ stanza in c_finish_omp_clause and finish_omp_clause, in preparation for the following patch (to clarify the diff a little). 2022-09-13 Julian Brown gcc/c/ * c-typeck.cc

[PATCH v6 00/11] OpenMP: C/C++ lvalue parsing, C/C++/Fortran "declare mapper" support

2022-12-23 Thread Julian Brown
Following on from here: https://gcc.gnu.org/pipermail/gcc-patches/2022-December/608577.html this is a complete patch series, rebased against mainline. The final three patches are the revised C "lvalue"-parsing patches and C and Fortran "declare mapper" support patches mentioned in that email.

[Bug target/108208] Bad assembly? on large LLVM source files on powerpc-unknown-linux-gnu (Error: operand out of range)

2022-12-23 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108208 --- Comment #1 from Sam James --- Ah, based on https://bugzilla.redhat.com/show_bug.cgi?id=427700#c3 & https://bugzilla.redhat.com/show_bug.cgi?id=427700#c5, maybe the source really does just need splitting.

Re: [PATCH] RISC-V: Support VSETVL PASS for RVV support

2022-12-23 Thread Andreas Schwab
How has this been tested? In file included from ../../gcc/config/riscv/riscv-vsetvl.cc:89: ../../gcc/config/riscv/riscv-vsetvl.h: In member function 'riscv_vector::avl_info riscv_vector::vl_vtype_info::get_avl_info() const': ../../gcc/config/riscv/riscv-vsetvl.h:175:43: error:

[Bug c++/108207] ICE in testcase g++.dg/other/ptrmem8.C on mingw

2022-12-23 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108207 --- Comment #1 from nightstrike --- Ah, Andrew, before you beat me to it... this doesn't ICE if you pass -fno-ms-extensions, and it does ICE on Linux if you pass -fms-extensions

[Bug target/108208] New: Build failure on large LLVM source files on PPC

2022-12-23 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108208 Bug ID: 108208 Summary: Build failure on large LLVM source files on PPC Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/108207] New: ICE in testcase g++.dg/other/ptrmem8.C on mingw

2022-12-23 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108207 Bug ID: 108207 Summary: ICE in testcase g++.dg/other/ptrmem8.C on mingw Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH V2] Disable sched1 in functions that call setjmp

2022-12-23 Thread Jose E. Marchesi via Gcc-patches
> Alexander Monakov via Gcc-patches writes: >> On Thu, 22 Dec 2022, Jose E. Marchesi via Gcc-patches wrote: >> >>> The first instruction scheduler pass reorders instructions in the TRY >>> block in a way `b=true' gets executed before the call to the function >>> `f'. This optimization is

Re: testsuite under wine

2022-12-23 Thread NightStrike via Gcc
On Wed, Dec 21, 2022 at 11:37 PM Jacob Bachmeyer wrote: > > NightStrike wrote: > > [...] > > Second, the problems with extra \r's still remain, but I think we've > > generally come to think that that part isn't Wine and is instead > > either the testsuite or deja. So I'll keep those replies to

Re: [PATCH V2] Disable sched1 in functions that call setjmp

2022-12-23 Thread Richard Sandiford via Gcc-patches
Alexander Monakov via Gcc-patches writes: > On Thu, 22 Dec 2022, Jose E. Marchesi via Gcc-patches wrote: > >> The first instruction scheduler pass reorders instructions in the TRY >> block in a way `b=true' gets executed before the call to the function >> `f'. This optimization is wrong, because

[PATCH,WWWDOCS] htdocs: rotate news

2022-12-23 Thread Jose E. Marchesi via Gcc-patches
--- htdocs/index.html | 24 htdocs/news.html | 24 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/htdocs/index.html b/htdocs/index.html index 2ddee6f6..2ab65a95 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -92,30

[Bug target/107548] STV doesn't consider vec_select

2022-12-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107548 --- Comment #1 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:0b2c1369d035e92847cca81fd9f7b4e9ab9da710 commit r13-4873-g0b2c1369d035e92847cca81fd9f7b4e9ab9da710 Author: Roger Sayle Date: Fri

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-12-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 --- Comment #8 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:24a7980d0f48671ea13da18c9162a43420b5af58 commit r13-4872-g24a7980d0f48671ea13da18c9162a43420b5af58 Author: Roger Sayle Date: Fri

[Bug target/106959] [13 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads), or ICE in simplify_subreg, at simplify-rtx.cc:7405 since r13-2100-g5cccc

2022-12-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106959 --- Comment #5 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:24a7980d0f48671ea13da18c9162a43420b5af58 commit r13-4872-g24a7980d0f48671ea13da18c9162a43420b5af58 Author: Roger Sayle Date: Fri

[PATCH,WWWDOCS] htdocs: add an Atom feed for GCC news

2022-12-23 Thread Jose E. Marchesi via Gcc-patches
This patch adds an Atom feed for GCC news, which can then be easily aggregated in other sites, such as the GNU planet (https://planet.gnu.org). The feed lives in a file news.xml, and this patch initializes it with the latest entry in News as an example. --- htdocs/index.html | 9 -

Re: build broke, cris-elf: [committed] libstdc++: Implement C++20 time zone support in

2022-12-23 Thread Jonathan Wakely via Gcc-patches
On Fri, 23 Dec 2022 at 09:29, Jonathan Wakely wrote: > > On Fri, 23 Dec 2022 at 02:15, Hans-Peter Nilsson via Libstdc++ > wrote: > > > > > From: Jonathan Wakely via Gcc-patches > > > Date: Fri, 23 Dec 2022 00:37:04 +0100 > > > > > This is the largest missing piece of C++20 support. Only the

[committed] libstdc++: Remove problematic static_assert from src/c++20/tzdb.cc

2022-12-23 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux. Pushed to trunk. -- >8 -- This assertion fails for cris-elf where sizeof(datetime) is only 7, due to lower alignment requirements. The assertion was used while I was writing the code to check that the objects were as compact as I wanted, but it doesn't need to be kept now.

[PATCH,WWWDOCS] htdocs: news: GCC BPF in Compiler Explorer

2022-12-23 Thread Jose E. Marchesi via Gcc-patches
This patch adds an entry to the News section in index.html, announcing the availability of a nightly build of bpf-unknown-none-gcc. --- htdocs/index.html | 6 ++ 1 file changed, 6 insertions(+) diff --git a/htdocs/index.html b/htdocs/index.html index 655b7373..e91fadf1 100644 ---

Re: build broke, cris-elf: [committed] libstdc++: Implement C++20 time zone support in

2022-12-23 Thread Jonathan Wakely via Gcc-patches
On Fri, 23 Dec 2022 at 02:15, Hans-Peter Nilsson via Libstdc++ wrote: > > > From: Jonathan Wakely via Gcc-patches > > Date: Fri, 23 Dec 2022 00:37:04 +0100 > > > This is the largest missing piece of C++20 support. Only the cxx11 ABI > > is supported, due to the use of std::string in the API for

[Bug c++/108206] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in merge_default_template_args, at cp/decl.cc:1563 since r12-7562-gfe548eb8436f3906

2022-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108206 Martin Liška changed: What|Removed |Added Summary|ICE: tree check: expected |ICE: tree check: expected

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2022-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #2 from Martin Liška --- @Marek: PING

<    1   2