[committed] wwwdocs: git: Update the cilkplus entry

2021-01-16 Thread Gerald Pfeifer
Balaji's mail address does not work any more, and since the branch is closed anyway, we can simplify the description. --- htdocs/git.html | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/htdocs/git.html b/htdocs/git.html index 41bbe35b..50fdd56a 100644 ---

Re: [committed] wwwdocs: Move cilkplus to Inactive branches

2021-01-16 Thread Gerald Pfeifer
On Mon, 28 Dec 2020, Eric Gallager wrote: >> (cf. https://gcc.gnu.org/about.html and I'm happy to help). > I haven't made a commit to the wwwdocs repo yet, and the last time I > committed to the main gcc sources repo it was before the transition > to git, and I did it from a different computer,

[r11-6752 Regression] FAIL: gfortran.dg/gomp/task-detach-1.f90 -O (test for errors, line 22) on Linux/x86_64

2021-01-16 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, a6d22fb21c6f1ad7e8b6b722bfc0e7e11f50cb92 is the first bad commit commit a6d22fb21c6f1ad7e8b6b722bfc0e7e11f50cb92 Author: Kwok Cheung Yeung Date: Sat Jan 16 12:58:13 2021 -0800 openmp: Add support for the OpenMP 5.0 task detach clause caused FAIL:

Re: [PATCH] keep scope blocks for all inlined functions (PR 98664)

2021-01-16 Thread Martin Sebor via Gcc-patches
On 1/15/21 12:44 AM, Richard Biener wrote: On Thu, Jan 14, 2021 at 8:13 PM Martin Sebor via Gcc-patches wrote: One aspect of PR 98465 - Bogus warning stringop-overread for std::string is the inconsistency between -g and -g0 which turns out to be due to GCC eliminating apparently unused scope

Re: [PATCH] [WIP] openmp: Add OpenMP 5.0 task detach clause support

2021-01-16 Thread Jakub Jelinek via Gcc-patches
On Sat, Jan 16, 2021 at 07:19:51PM +, Kwok Cheung Yeung wrote: > > I think you don't need this loop, instead you could just check > > if (bitmap_bit_p (_head, DECL_UID (detach_decl)) > > || bitmap_bit_p (_head, DECL_UID (detach_decl)) > > ||

Re: [PATCH] [WIP] openmp: Add OpenMP 5.0 task detach clause support

2021-01-16 Thread Kwok Cheung Yeung
Thanks for the review. On 16/01/2021 9:25 am, Jakub Jelinek wrote: On Fri, Jan 15, 2021 at 03:07:56PM +, Kwok Cheung Yeung wrote: + { + tree detach_decl = OMP_CLAUSE_DECL (*detach_seen); + + for (pc = , c = clauses; c ; c = *pc) + { + bool remove

[PATCH] match.pd: Add some __builtin_ctz (x) cmp cst simplifications [PR95527]

2021-01-16 Thread Jakub Jelinek via Gcc-patches
Hi! This patch adds some ctz simplifications (e.g. ctz (x) >= 3 can be done by testing if the low 3 bits are zero, etc.). In addition, I've noticed that in the CLZ case, the #ifdef CLZ_DEFINED_VALUE_AT_ZERO don't really work as intended, they are evaluated during genmatch and the macro is not

[PATCH] expand: Expand x / y * y as x - x % y if the latter is cheaper [PR96696]

2021-01-16 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch tests both x / y * y and x - x % y expansion for the former GIMPLE code and chooses the cheaper of those sequences. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2021-01-16 Jakub Jelinek PR tree-optimization/96696 * expr.c

Re: [PATCH v3] libgcc: Thumb-1 Floating-Point Library for Cortex M0

2021-01-16 Thread Daniel Engel
Hi Christophe, On Fri, Jan 15, 2021, at 4:30 AM, Christophe Lyon wrote: > On Fri, 15 Jan 2021 at 12:39, Daniel Engel wrote: > > > > Hi Christophe, > > > > On Mon, Jan 11, 2021, at 8:39 AM, Christophe Lyon wrote: > > > On Mon, 11 Jan 2021 at 17:18, Daniel Engel wrote: > > > > > > > > On Mon, Jan

Re: [committed][OG10] Fix offload dwarf info

2021-01-16 Thread Andrew Stubbs
On 15/01/2021 11:43, Andrew Stubbs wrote: This patch corrects a problem in which GDB ignores the debug info for offload kernel entry functions because they're represented as nested functions inside a function that does not exist on the accelerator device (only on the host). Apparently I had

Re: [PATCH v2 3/3] RTEMS: Add -mcustom-fpu-cfg=fph2 multilib

2021-01-16 Thread Sandra Loosemore
On 1/16/21 1:23 AM, Sebastian Huber wrote: This multilib supports Nios II configurations with the "Nios II Floating Point Hardware 2 Component". gcc/ * config/nios2/t-rtems: Reset all MULTILIB_* variables. Shorten multilib directory names. Use MULTILIB_REQUIRED instead of

Re: [PATCH v2 2/3] nios2: Add -mcustom-fpu-cfg=fph2

2021-01-16 Thread Sandra Loosemore
On 1/16/21 1:23 AM, Sebastian Huber wrote: The new -mcustom-fpu-cfg=fph2 option variant is useful to build a multilib for the "Nios II Floating Point Hardware 2 Component": https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_nios2_custom_instruction.pdf Directly

Re: [PATCH v2 1/3] nios2: Remove custom instruction warnings

2021-01-16 Thread Sandra Loosemore
On 1/16/21 1:23 AM, Sebastian Huber wrote: Do not warn if custom instructions are not used due to missing optimization flags. This prevents build errors with -Werror which cannot be disabled via a dedicated warning option. One reason to remove these warnings is to enable a multilib for the

Re: [PATCH, v2, OpenMP 5.0, libgomp] Structure element mapping for OpenMP 5.0

2021-01-16 Thread Jakub Jelinek via Gcc-patches
On Fri, Dec 04, 2020 at 10:15:46PM +0800, Chung-Lin Tang wrote: > this is a new version of the structure element mapping patch for OpenMP 5.0 > requirement > changes. Sorry for the delay. > +/* Unified reference count for structure element siblings, this is used > + when

Re: [PATCH] [WIP] openmp: Add OpenMP 5.0 task detach clause support

2021-01-16 Thread Jakub Jelinek via Gcc-patches
On Fri, Jan 15, 2021 at 03:07:56PM +, Kwok Cheung Yeung wrote: > + { > + tree detach_decl = OMP_CLAUSE_DECL (*detach_seen); > + > + for (pc = , c = clauses; c ; c = *pc) > + { > + bool remove = false; > + if ((OMP_CLAUSE_CODE (c) == OMP_CLAUSE_SHARED

[PATCH v2 3/3] RTEMS: Add -mcustom-fpu-cfg=fph2 multilib

2021-01-16 Thread Sebastian Huber
This multilib supports Nios II configurations with the "Nios II Floating Point Hardware 2 Component". gcc/ * config/nios2/t-rtems: Reset all MULTILIB_* variables. Shorten multilib directory names. Use MULTILIB_REQUIRED instead of MULTILIB_EXCEPTIONS. Add -mhw-mul

[PATCH v2 2/3] nios2: Add -mcustom-fpu-cfg=fph2

2021-01-16 Thread Sebastian Huber
The new -mcustom-fpu-cfg=fph2 option variant is useful to build a multilib for the "Nios II Floating Point Hardware 2 Component": https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_nios2_custom_instruction.pdf Directly using the corresponding -mcustom-insn=N options

[PATCH v2 1/3] nios2: Remove custom instruction warnings

2021-01-16 Thread Sebastian Huber
Do not warn if custom instructions are not used due to missing optimization flags. This prevents build errors with -Werror which cannot be disabled via a dedicated warning option. One reason to remove these warnings is to enable a multilib for the "Nios II Floating Point Hardware 2 Component".