[PATCH] Fortran: fix typo in documentation of intrinsic FLOOR [PR107870]

2022-12-03 Thread Harald Anlauf via Gcc-patches
Dear all, here's a small documentation fix for the intrinsic FLOOR. Besides that, I adjusted the description of the optional KIND argument to Fortran intrinsics to conform to the F2018 standard, which reads "scalar integer constant expression". Tested with "make dvi". OK for mainline? Thanks, H

Re: [PATCH] c++: unexpanded pack in requires-expr parm list [PR107417]

2022-12-03 Thread Jason Merrill via Gcc-patches
On 12/2/22 14:42, Patrick Palka wrote: Here find_parameter_packs_r isn't recognizing the unexpanded pack T inside the requires-expr's parameter list ultimately because cp_walk_trees avoids walking the parameters, for good reason: in requires (Ts... ts) { } walking 'ts' would trigger a false

Re: [PATCH] coroutines: Do not promote temporaries that will be elided.

2022-12-03 Thread Jason Merrill via Gcc-patches
On 12/2/22 15:25, Iain Sandoe wrote: Thanks to Adrian for working on this and producing the revised test-cases. This has been tested on x86_64-darwin21 with our testsuite, cppcoro and a patched version of folly (that enables the experimental coroutines tests) without regresssion (actually a hand

Re: [PATCH v3] c++: Reject UDLs in certain contexts [PR105300]

2022-12-03 Thread Jason Merrill via Gcc-patches
On 12/2/22 18:58, Marek Polacek wrote: On Fri, Nov 18, 2022 at 08:39:10PM -0500, Jason Merrill wrote: On 11/18/22 18:52, Marek Polacek wrote: +/* Parse a string literal or user defined string literal. + + user-defined-string-literal : + string-literal ud-suffix + + Parameters as for cp_

Ping: [PATCH] jit: Install jit headers in $(libsubincludedir) [PR 101491]

2022-12-03 Thread Lorenzo Salvadore via Gcc-patches
Hello, Ping https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606450.html Thanks, Lorenzo Salvadore --- >From f8e2c2ee89a7d8741bb65163d1f1c20edcd546ac Mon Sep 17 00:00:00 2001 From: Lorenzo Salvadore Date: Wed, 16 Nov 2022 11:27:38 +0100 Subject: [PATCH] jit: Install jit headers in $(li

[PATCH] Fortran: error recovery handling invalid CLASS variable [PR107899]

2022-12-03 Thread Harald Anlauf via Gcc-patches
Dear all, the attached obvious patch fixes a NULL pointer dereference that occurs with an invalid CLASS argument to DEALLOCATE. Regtested on x86_64-pc-linux-gnu. Will commit soon unless there are comments. Thanks, Harald From dfe7f1a06d78f6319ad81f5774dc43fe52e37f45 Mon Sep 17 00:00:00 2001 Fr

Re: [PATCH] [PR102706] [testsuite] -Wno-stringop-overflow vs Warray-bounds

2022-12-03 Thread Richard Biener via Gcc-patches
> Am 03.12.2022 um 09:16 schrieb Alexandre Oliva via Gcc-patches > : > >  > The bogus Wstringop-overflow warnings conditionally issued for > Warray-bounds-48.c and -Wzero-length-array-bounds-2.c are expected > under conditions that depend on the availability of certain vector > patterns, but

[PATCH] [PR102706] [testsuite] -Wno-stringop-overflow vs Warray-bounds

2022-12-03 Thread Alexandre Oliva via Gcc-patches
The bogus Wstringop-overflow warnings conditionally issued for Warray-bounds-48.c and -Wzero-length-array-bounds-2.c are expected under conditions that depend on the availability of certain vector patterns, but that don't take cost analysis into account, which leads to omitted expected warnings a