gcc-12-20241114 is now available

2024-11-14 Thread GCC Administrator via Gcc
Snapshot gcc-12-20241114 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20241114/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: -Wfloat-equal and comparison to zero

2024-11-14 Thread James K. Lowden
On Thu, 14 Nov 2024 10:04:59 +0100 David Brown via Gcc wrote: > No. This is - or at least appears to be - missing critical thinking. You are explaining this to someone who designed research databases and who implemented quantitative models that ran on them. You're entitled to your opinion, of

Re: -Wfloat-equal and comparison to zero

2024-11-14 Thread Sad Clouds via Gcc
> It's also not unusual to start with "x" statically initialized to zero, > and use that as an indication to invoke the initialization routine. This is exactly what I have. In my case, if the value remains 0.0 it means the calculations for those metrics are not applicable. The suggestion to u

RE: [RFC] Enabling SVE with offloading to nvptx

2024-11-14 Thread Prathamesh Kulkarni via Gcc
> -Original Message- > From: Andrew Stubbs > Sent: 12 November 2024 20:23 > To: Prathamesh Kulkarni ; Jakub Jelinek > > Cc: Richard Biener ; Richard Biener > ; gcc@gcc.gnu.org; Thomas Schwinge > > Subject: Re: [RFC] Enabling SVE with offloading to nvptx > > External email: Use caution

Re: -Wfloat-equal and comparison to zero

2024-11-14 Thread David Brown via Gcc
On 12/11/2024 22:44, James K. Lowden wrote: On Tue, 12 Nov 2024 18:12:50 +0100 David Brown via Gcc wrote: Under what circumstances would you have code that : ... d) Would be perfectly happy with "x" having the value 2.225e-307 (or perhaps a little larger) and doing the division with that. I