Re: POWER __builtin_add_overflow/__builtin_mul_overflow with u64

2023-02-14 Thread Jakub Jelinek via Gcc
Hi! CCing Segher and David on this. rs6000 indeed doesn't implement {,u}{add,sub,mul}v4_optab for any mode and thus leaves it to the generic code. On Tue, Feb 14, 2023 at 04:48:42AM +0100, Simon Richter wrote: > I'm looking at the generated code for these builtins on POWER: > > add 4,3,4

Re: POWER __builtin_add_overflow/__builtin_mul_overflow with u64

2023-02-14 Thread Eric Botcazou via Gcc
> rs6000 indeed doesn't implement {,u}{add,sub,mul}v4_optab for > any mode and thus leaves it to the generic code. https://gcc.gnu.org/pipermail/gcc-patches/2016-October/460209.html -- Eric Botcazou

[wish] -Wmissing-array-initializers

2023-02-14 Thread Alejandro Colomar via Gcc
Hi! I was wondering if we can have a warning similar to -Wmissing-field-initializers but for arrays. Here's some example of what kind of code would benefit from this warning: // foo.c char *foo[5] = { "foo", "bar", "baz" // oops, accidentally the size doesn't match the actual n

Re: __builtin_(add|mul)_overflow methods generate duplicate operations if both operands are const

2023-02-14 Thread Jonathan Wakely via Gcc
On Sun, 12 Feb 2023 at 20:46, David Shane Holden via Gcc wrote: > > I requested a bugzilla account a few days ago and haven't heard > back so I'm just going to report this here. I've created your account now, so please post this to bugzilla, thanks!

Re: [PATCH v5 3/5] p1689r5: initial support

2023-02-14 Thread Jason Merrill via Gcc
On 1/25/23 13:06, Ben Boeckel wrote: This patch implements support for [P1689R5][] to communicate to a build system the C++20 module dependencies to build systems so that they may build `.gcm` files in the proper order. Thanks again. Support is communicated through the following three new fla

Anyone using FTensor to test GCC (or otherwise)?

2023-02-14 Thread Gerald Pfeifer
>From previous times we have FTensor https://gcc.gnu.org/testing/testing-ftensor.html documented as one of the ways to test GCC. Alas http://www.wlandry.net/Projects/FTensor has been down for a while, and there does not appear to be a new location? Is anyone actually still using FTensor to te

Re: Anyone using FTensor to test GCC (or otherwise)?

2023-02-14 Thread NightStrike via Gcc
On Tue, Feb 14, 2023 at 6:20 PM Gerald Pfeifer wrote: > Alas http://www.wlandry.net/Projects/FTensor has been down for a while, > and there does not appear to be a new location? https://wlandry.net/Projects/FTensor/ works