Re: [PATCH 06/18] rs6000: Builtin expansion, part 1

2021-10-30 Thread Segher Boessenkool
Hi! On Wed, Sep 01, 2021 at 11:13:42AM -0500, Bill Schmidt wrote: > Differences between the old and new support in this patch include: > - Make use of the new builtin data structures, directly looking up >a function's information rather than searching for the function >multiple times; Is

Re: [Patch] OpenMP: Add strictly nested API call check [PR102972]

2021-10-30 Thread Tobias Burnus
On 29.10.21 18:47, Jakub Jelinek wrote: Or we can keep 3 sections and say that the first one is for the calls on the library side without suffixes and second is for those with no and _ suffixes, but that in DECL_NAME those don't make a difference. That's what I have now done. + &&

[PATCH] libsanitizer: Disable libbacktrace on sanitizer_platform_limits_freebsd.cpp

2021-10-30 Thread H.J. Lu via Gcc-patches
sanitizer_platform_limits_freebsd.cpp must include from the OS, not include/md5.h in GCC source tree which is included by libbacktrace support. Disable libbacktrace on sanitizer_platform_limits_freebsd.cpp to avoid include/md5.h to restore bootstrap on FreeBSD. PR bootstrap/102675

[committed] wwwdocs: gcc-4.7: Tweak AVR-Lib reference

2021-10-30 Thread Gerald Pfeifer
nongnu.org has a permanent redirect (return code 301) to www.nongnu.org; make that change on our end. --- htdocs/gcc-4.7/changes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-4.7/changes.html b/htdocs/gcc-4.7/changes.html index dae1735d..21294cc3 100644 --- a/

Re: [PATCH] Add a simulate_record_decl lang hook

2021-10-30 Thread Richard Sandiford via Gcc-patches
Jason Merrill writes: > On 10/18/21 16:35, Richard Sandiford wrote: >> Jason Merrill writes: >>> On 9/24/21 13:53, Richard Sandiford wrote: + if (type == error_mark_node) +return lhd_simulate_record_decl (loc, name, fields); >>> >>> Why fall back to the language-independent functio

Re: [PATCH,FORTRAN 01/29] gdbinit: break on gfc_internal_error

2021-10-30 Thread Bernhard Reutner-Fischer via Gcc-patches
On 30 October 2021 00:13:06 CEST, Jerry D wrote: >Looks OK. Thanks! I guess I need an OK from some global maintainer, too? The breakpoint is ignored by automatically answering the question with n if the symbol is not found when loading .gdbinit for e.g. cc1. thanks, > >Cheers > >On 10/29/21 11

Re: [PATCH] Fortran: Remove documentation for SHORT and LONG intrinics

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4808 after checking "make dvi". Thanks for the patch! Harald Am 30.10.21 um 01:16 schrieb Manfred Schwarb via Gcc-patches: Am 29.10.21 um 21:52 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:13 schrieb Manfred Schwarb via Gcc-patches: Hi, on 2019-07-23, s

Re: [PATCH] Fortran: adjust error message for SHORT and LONG intrinsics

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4807. Thanks for the patch! Harald Am 30.10.21 um 01:15 schrieb Manfred Schwarb via Gcc-patches: Am 29.10.21 um 21:51 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:12 schrieb Manfred Schwarb via Fortran: Hi, on 2019-07-23, support for SHORT and LONG intr

Re: [PATCH] Fortran: Correct documentation for REAL intrinsic

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4806. Thanks for the patch! Harald Am 30.10.21 um 01:17 schrieb Manfred Schwarb via Fortran: Am 29.10.21 um 21:56 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:18 schrieb Manfred Schwarb via Gcc-patches: Hi, documentation for REAL intrinsic is slightly w

Re: [PATCH] Fortran: adjust column sizes in intrinsic.texi

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as r12-4805. Thanks for the patch! Harald Am 30.10.21 um 01:14 schrieb Manfred Schwarb via Fortran: Am 29.10.21 um 21:44 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:05 schrieb Manfred Schwarb via Fortran: Hi, in intrinsic.texi, a lot of tables wrap lines when

Re: [PATCH] Fortran: recognize Gerhard Steinmetz

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as simple and obvious as r12-4803. Harald Am 30.10.21 um 01:18 schrieb Manfred Schwarb via Fortran: Am 29.10.21 um 21:58 schrieb Harald Anlauf via Fortran: Hi Manfred, Am 29.10.21 um 16:33 schrieb Manfred Schwarb via Fortran: Hi, there were really a lot of test cases provided by Ge

Re: [PATCH] PR fortran/99853 - ICE: Cannot convert 'LOGICAL(4)' to 'INTEGER(8)' (etc.)

2021-10-30 Thread Harald Anlauf via Gcc-patches
Committed as simple and obvious after discussion in PR. Harald Am 28.10.21 um 23:03 schrieb Harald Anlauf via Fortran: Dear Fortranners, the original fix by Steve was lingering in the PR. We did ICE in situations where in a SELECT CASE a kind conversion was deemed necessary, but it did involv

[PATCH] IBM Z: Fix address of operands will never be NULL warnings

2021-10-30 Thread Stefan Schulze Frielinghaus via Gcc-patches
Since a recent enhancement of -Waddress a couple of warnings are emitted and turned into errors during bootstrap: gcc/config/s390/s390.md:12087:25: error: the address of 'operands' will never be NULL [-Werror=address] 12087 | "TARGET_HTM && operands != NULL build/gencondmd.c:59:12: note: 'opera

Re: [PATCH] x86_64: Expand ashrv1ti (and PR target/102986)

2021-10-30 Thread Jakub Jelinek via Gcc-patches
On Sat, Oct 30, 2021 at 11:16:41AM +0100, Roger Sayle wrote: > 2021-10-30 Roger Sayle > > gcc/ChangeLog > PR target/102986 > * config/i386/i386-expand.c (ix86_expand_v1ti_to_ti, > ix86_expand_ti_to_v1ti): New helper functions. > (ix86_expand_v1ti_shift): Check if the amo

[PATCH] x86_64: Expand ashrv1ti (and PR target/102986)

2021-10-30 Thread Roger Sayle
This patch was originally intended to implement 128-bit arithmetic right shifts by constants of vector registers (V1TImode), but while working on it I discovered the (my) recent ICE on valid regression now known as PR target/102986. As diagnosed by Jakub, expanders for shifts are not allowed to f

Re: [PATCH] hardened conditionals

2021-10-30 Thread Alexandre Oliva via Gcc-patches
FYI, I'm putting in this follow-up tweak to the GNAT manual. Implied compares in Ada Harded Conditionals documentation From: Alexandre Oliva Improve the wording on optimizations that prevent compare hardening, so as to also cover cases in which explicit compares get combined into operations wi

[committed] openmp: Diagnose threadprivate OpenMP loop iterators

2021-10-30 Thread Jakub Jelinek via Gcc-patches
Hi! We weren't diagnosing the The loop iteration variable may not appear in a threadprivate directive. restriction which used to be in 5.0 just among the Worksharing-Loop restrictions but in 5.1 it is among Canonical Loop Nest Form restrictions. This patch diagnoses those. Bootstrapped/regtested