RE: [RFC] Enabling SVE with offloading to nvptx

2025-01-21 Thread Prathamesh Kulkarni via Gcc
> -Original Message- > From: Prathamesh Kulkarni > Sent: 08 January 2025 15:22 > To: Prathamesh Kulkarni ; Jakub Jelinek > > Cc: Andrew Stubbs ; Richard Biener > ; Richard Biener ; > gcc@gcc.gnu.org; Thomas Schwinge > Subject: RE: [RFC] Enabling SVE with offloading to nvptx > > > >

Re: 'defer' (n3199) concerns

2025-01-21 Thread Alejandro Colomar via Gcc
Hi all, After some private discussion with JeanHeyd, I'd like to *partially* withdraw my concerns against 'defer', as long as it ends up being as simple as [[gnu::cleanup()]] (or reasonably similar). The -fanalyzer is currently not smart enough to warn about strsep(3), but that's a known bug, and

[[gnu::malloc()]] on inline functions

2025-01-21 Thread Alejandro Colomar via Gcc
Hi! I'd like to be able to inline functions declared with the [[gnu::malloc()]] attribute. The reason is that it's quite sensitive code, and I'd like to give as much information as possible to the analyzer. Would it be possible to change the implementation so that even when a function is inlined