Re: Handling C2Y zero-length operations on null pointers

2024-11-11 Thread Martin Uecker via Gcc
Am Dienstag, dem 12.11.2024 um 07:51 +0100 schrieb Martin Uecker: > Am Montag, dem 07.10.2024 um 15:14 + schrieb Qing Zhao: > > > > > On Oct 7, 2024, at 10:13, Jakub Jelinek via Gcc wrote: > > > > > > On Fri, Oct 04, 2024 at 12:42:24AM +0200, Florian Weimer wrote: > > > > * Joseph Myers: > >

Re: Handling C2Y zero-length operations on null pointers

2024-11-11 Thread Martin Uecker via Gcc
Am Montag, dem 07.10.2024 um 15:14 + schrieb Qing Zhao: > > > On Oct 7, 2024, at 10:13, Jakub Jelinek via Gcc wrote: > > > > On Fri, Oct 04, 2024 at 12:42:24AM +0200, Florian Weimer wrote: > > > * Joseph Myers: > > > > > > > The real question is how to achieve optimal warnings in the absenc

RE: [RFC] Enabling SVE with offloading to nvptx

2024-11-11 Thread Prathamesh Kulkarni via Gcc
> -Original Message- > From: Jakub Jelinek > Sent: 04 November 2024 21:44 > To: Prathamesh Kulkarni > Cc: Richard Biener ; Richard Biener > ; gcc@gcc.gnu.org; Thomas Schwinge > > Subject: Re: [RFC] Enabling SVE with offloading to nvptx > > External email: Use caution opening links or

FTP issue

2024-11-11 Thread 王皓冉 via Gcc
Dear GCC I am running docker to build a GCC image for C++ compile. But the image call the ftp://ftp.gnu.org/gnu/gcc, may I know the reason for this?

Re: -Wfloat-equal and comparison to zero

2024-11-11 Thread Joseph Myers via Gcc
On Sat, 9 Nov 2024, Sad Clouds via Gcc wrote: > Even though there is nothing unsafe here and comparison to floating > point 0.0 value is well defined. The point of the warning is that *if you are writing code that thinks of floating-point values as being approximations to real numbers* then such

Re: VLA representation in GCC internals

2024-11-11 Thread Joseph Myers via Gcc
On Sat, 9 Nov 2024, Martin Uecker via Gcc wrote: > BTW: My main practical issue with zero-sized arrays is that the > UB sanitizers triggers for zero-sized variable arrays. They are after all UB in standard C. (Note for example that the UB sanitizers cover all cases of shifts that are undefined