Added Support

2025-05-01 Thread sa8210821--- via Gcc
sa8210...@yahoo.com Yahoo Mail: Search, Organize, Conquer

Re: Compiler support for forbidding certain methods from being called

2025-04-15 Thread Julian Waters via Gcc
changed it to deprecated instead of warning, since that's available on all compilers we support, but that breaks on clang and VC because they seem to not do so well with redeclaring standard library functions. I only have one card left up my sleeve, and that's to use decltype: [[deprecat

Re: Compiler support for forbidding certain methods from being called

2025-04-14 Thread Jonathan Wakely via Gcc
s > results in the link step failing if LTO is enabled for some reason > though. I then changed it to deprecated instead of warning, since > that's available on all compilers we support, but that breaks on clang > and VC because they seem to not do so well with redeclaring standard &

Re: Compiler support for forbidding certain methods from being called

2025-04-14 Thread Jonathan Wakely via Gcc
On Mon, 14 Apr 2025 at 11:53, Julian Waters wrote: > > Hi Jonathan, > > Yep, unfortunately #pragma GCC poison is far too restrictive, it > doesn't check if it is a function call to that particular banned > function, it restricts any and all use of that identifier in the code > altogether. Not only

Re: Compiler support for forbidding certain methods from being called

2025-04-14 Thread Jonathan Wakely via Gcc
On Mon, 14 Apr 2025 at 12:57, Jonathan Wakely wrote: > > On Mon, 14 Apr 2025 at 11:53, Julian Waters wrote: > > > > Hi Jonathan, > > > > Yep, unfortunately #pragma GCC poison is far too restrictive, it > > doesn't check if it is a function call to that particular banned > > function, it restricts

Compiler support for forbidding certain methods from being called

2025-04-14 Thread Basile Starynkevitch
ng the whole process. > > It would be nice to have compiler support to help with this. I would recommend writing your GCC plugin which would add some problem specific pragmas. Some code from https://github.com/bstarynk/bismon might be improved (by you or your colleagues/interns) to fit into lat

Re: Compiler support for forbidding certain methods from being called

2025-04-14 Thread Julian Waters via Gcc
nctions. The crucial thing is that this mechanism must have a > > disable switch for when a callsite must actually call a forbidden > > function, complicating the whole process. > > > > It would be nice to have compiler support to help with this. Something like: > > >

Re: Compiler support for forbidding certain methods from being called

2025-04-14 Thread Jonathan Wakely via Gcc
callsite must actually call a forbidden > function, complicating the whole process. > > It would be nice to have compiler support to help with this. Something like: > > #pragma GCC forbidden void *malloc(size_t) // Forbids malloc from > being called anywhere Have you looked at

Compiler support for forbidding certain methods from being called

2025-04-14 Thread Julian Waters via Gcc
ement that. The problem is there's really no way at all to forbid standard library functions. The crucial thing is that this mechanism must have a disable switch for when a callsite must actually call a forbidden function, complicating the whole process. It would be nice to have compiler

Status of PDB support

2025-04-05 Thread Tom Kacvinsky via Gcc
Hi, I know that PDB support has been worked on in binutils. I thinkt he missing piece is to get GCC to emit CodeView debug information that binutils will turn into a PDBm (not sure if the work is complete in binutils, either). What's the status of this? I ask because our WIndows offeri

Re: GSoC Interest in enhancing OpenACC support

2025-04-04 Thread Thomas Schwinge
Hi Pau! On 2025-03-19T21:53:22-0400, Pau Sum via Gcc wrote: > Hey GCC Community, Welcome to GCC! > I am interested in contributing to the "Enhance OpenACC Support" project for > Google Summer of Code 2025. Thanks for your interest! I saw you also briefly discussed on GCC

Re: [GSoC][Enhance OpenACC support] Uncertain about Cache directive functionality and device_type clause goal

2025-04-04 Thread Zhang lv via Gcc
Hi Thomas, Thanks for your detailed response! I've updated the proposal based on the feedback. Please kindly check it out. Thanks a lot! Project Goals and Tasks GCC currently only partially supports the features specified in OpenACC 2.6. This project aims to enhance GCC's OpenACC supp

Re: [GSoC][Enhance OpenACC support] Uncertain about Cache directive functionality and device_type clause goal

2025-04-02 Thread Thomas Schwinge
> or OpenACC prefetch logic could be integrated into it. ..., or even just synthesizing specific (GIMPLE?) constructs, so that the existing pass can do its work -- in case that the pass' existing support maps to (at least specific instances of) the functionality provided by the respective offloadin

[GSoC][Enhance OpenACC support] Uncertain about Cache directive functionality and device_type clause goal

2025-03-27 Thread Zhang lv via Gcc
ce transfers. For acc_memcpy_device, which handles device-to-device transfers, we should design a similar logic. Further investigation is needed to structure and implement this functionality effectively. *2. Support for **init**, **shutdown**, and **set** Directives* These directives are currently un

Re: Status of PDB support

2025-03-25 Thread Jeff Law via Gcc
On 3/24/25 9:51 PM, Tom Kacvinsky via Gcc wrote: Hi, I know that PDB support has been worked on in binutils. I thinkt he missing piece is to get GCC to emit CodeView debug information that binutils will turn into a PDBm (not sure if the work is complete in binutils, either). What'

Re: [GSOC 2025] Interests in extending the static analysis pass(es): support for C++ or CPython API

2025-03-19 Thread zzmic via Gcc
ng on a medium-sized (or > large-sized) project that, broadly speaking, extends the static-analysis > pass(es). In particular, I’ve been dabbling between extending the analyzer’s > support for C++ and extending the plugin to add checking for usage of the > CPython API, such as refere

[GSOC 2025] Interests in extending the static analysis pass(es): support for C++ or CPython API

2025-03-19 Thread zzmic via Gcc
pass(es). In particular, I’ve been dabbling between extending the analyzer’s support for C++ and extending the plugin to add checking for usage of the CPython API, such as reference counting. Both topics can be found in the [ideas list](https://gcc.gnu.org/wiki/SummerOfCode). Nevertheless, I haven’t

GSoC Interest in enhancing OpenACC support

2025-03-19 Thread Pau Sum via Gcc
Hey GCC Community, I am interested in contributing to the "Enhance OpenACC Support" project for Google Summer of Code 2025. In particular, I am excited about implementing acc_memcpy_device and the #pragma acc cache directive. To prepare, I have started reviewing the OpenACC 2.6 spe

nvptx: Support '--with-multilib-list' (was: Raise nvptx code generation to default PTX ISA 7.3, sm_52, therefore CUDA 11.3 (released 2021-04))

2024-12-06 Thread Thomas Schwinge
fload-options=nvptx-none=-march=sm_30': [...] > > [...] I'll be happy to > implement (3b) if people think that's still helpful. > > In fact, (3b) can then generally support 'configure'-time selection of > further multilib variants to be built (for example, > &

GCC 14.2: Configuring with zstd support

2024-09-23 Thread Paul Smith via Gcc
Many of the GNU toolchain projects are adding zstd compression. This is good, but the configure support for this is not ideal. In particular for GCC, there are a number of issues. The first problem is that the two subdirectories that use zstd (libbacktrace and gcc) use very different methods to

Re: insn attributes: Support blocks of C-code?

2024-07-18 Thread Georg-Johann Lay
about attributes. Thanks, Richard When this feature makes it into GCC, then match_test should behave similar, I guess? I.e. support function bodies that return bool. I just wasn't sure which caller of fprint_c_condition runs with match_test resp. symbol_ref from which context (insn attr

Re: insn attributes: Support blocks of C-code?

2024-07-17 Thread Richard Sandiford via Gcc
OK, I pushed b19906a029a to remove the enum tags. The type name is now stored as a const char * in attr_desc::cxx_type. >> If we do that, then we can just a return a const char * for the type. > > Yes, const char* would be easier. I just didn't know how to alloc one, > and whe

Re: insn attributes: Support blocks of C-code?

2024-07-16 Thread Georg-Johann Lay
stion / proposal and not a patch. IMO patches should not come from someone like me who has no experience in that area; better someone more experienced would take it over. it causes anything to break, I think we should fix whatever that breaking thing is. Could you try doing that, as a pre-patch?

Re: insn attributes: Support blocks of C-code?

2024-07-13 Thread Richard Sandiford via Gcc
Georg-Johann Lay writes: > So I had that situation where in an insn attribute, providing > a block of code (rather than just an expression) would be > useful. > > Expressions can provided by means of symbol_ref, like in > > (set (attr "length") > (symbol_ref ("1 + GET_MODE_SIZE (mode)"))) >

insn attributes: Support blocks of C-code?

2024-07-11 Thread Georg-Johann Lay
So I had that situation where in an insn attribute, providing a block of code (rather than just an expression) would be useful. Expressions can provided by means of symbol_ref, like in (set (attr "length") (symbol_ref ("1 + GET_MODE_SIZE (mode)"))) However providing a block of code gives a

Re: SARIF support in GCC: wiki page and BZ keyword

2024-06-22 Thread David Malcolm via Gcc
On Fri, 2024-06-21 at 18:46 -0400, Eric Gallager wrote: > On Fri, Jun 21, 2024 at 12:12 PM David Malcolm via Gcc > wrote: > > > > I've create a wiki page to track our support for GCC: > >   https://gcc.gnu.org/wiki/SARIF > > > > and a keyword "SAR

Re: SARIF support in GCC: wiki page and BZ keyword

2024-06-21 Thread Eric Gallager via Gcc
On Fri, Jun 21, 2024 at 12:12 PM David Malcolm via Gcc wrote: > > I've create a wiki page to track our support for GCC: > https://gcc.gnu.org/wiki/SARIF > > and a keyword "SARIF" in our bugzilla instance for bugs relating to it > (see links on the above page).

SARIF support in GCC: wiki page and BZ keyword

2024-06-21 Thread David Malcolm via Gcc
I've create a wiki page to track our support for GCC: https://gcc.gnu.org/wiki/SARIF and a keyword "SARIF" in our bugzilla instance for bugs relating to it (see links on the above page). Dave

Re: Which GCC version start to support RISC-V RVV1.0

2024-06-05 Thread Jeff Law via Gcc
On 6/4/24 8:51 PM, Erick Kuo-Chen Huang(黃國鎭) via Gcc-help wrote: Hi, We would like to know which GCC version start to support RISC-V RVV1.0 ? We appreciate for your help. gcc-14. Jeff

Which GCC version start to support RISC-V RVV1.0

2024-06-04 Thread 黃國鎭
Hi, We would like to know which GCC version start to support RISC-V RVV1.0 ? We appreciate for your help. Best Regards, Erick CONFIDENTIALITY NOTICE: This e-mail (and its attachments) may contain confidential and legally privileged information or information protected from disclosure. If you

Re: [RISC-V] Support for trapping math in RISC-V

2024-04-29 Thread Joseph Myers via Gcc
On Wed, 24 Apr 2024, Krishna Narayanan via Gcc wrote: > Hi all, > Is the RISC-V community planning to add support for trapping math in RISC-V > in the near future!? > This LLVM thread > https://discourse.llvm.org/t/trapping-math-for-risc-v/72168/7 suggests a > software emulatio

[RISC-V] Support for trapping math in RISC-V

2024-04-24 Thread Krishna Narayanan via Gcc
Hi all, Is the RISC-V community planning to add support for trapping math in RISC-V in the near future!? This LLVM thread https://discourse.llvm.org/t/trapping-math-for-risc-v/72168/7 suggests a software emulation of traps, is the GNU team also on similar lines to this implementation or has some

Re: Deprecation/removal of nios2 target support

2024-04-19 Thread Dinh Nguyen via Gcc
On 4/18/24 13:41, Arnd Bergmann wrote: On Thu, Apr 18, 2024, at 17:44, Joseph Myers wrote: On Wed, 17 Apr 2024, Sandra Loosemore wrote: Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove support from all toolchain components after the release is made. I'

Re: Deprecation/removal of nios2 target support

2024-04-18 Thread Marek Vasut via Gcc
On 4/18/24 8:41 PM, Arnd Bergmann wrote: On Thu, Apr 18, 2024, at 17:44, Joseph Myers wrote: On Wed, 17 Apr 2024, Sandra Loosemore wrote: Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove support from all toolchain components after the release is made. I'

Re: Deprecation/removal of nios2 target support

2024-04-18 Thread Arnd Bergmann via Gcc
On Thu, Apr 18, 2024, at 17:44, Joseph Myers wrote: > On Wed, 17 Apr 2024, Sandra Loosemore wrote: > >> Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove >> support from all toolchain components after the release is made. I'm not >> sure

Re: Deprecation/removal of nios2 target support

2024-04-18 Thread Sandra Loosemore
On 4/18/24 10:06, Jeff Law wrote: ACK.  Just one more note to the wider audience.  I looked at QEMU's user mode support for nios2 on/off over the last couple years.  It never seemed to work well enough be able to run the GCC testsuite reliably. I looked at the problems with the nios2

Re: Deprecation/removal of nios2 target support

2024-04-18 Thread Jeff Law via Gcc
On 4/18/24 9:57 AM, Joel Sherrill wrote: On Thu, Apr 18, 2024 at 10:46 AM Joseph Myers <mailto:josmy...@redhat.com>> wrote: On Wed, 17 Apr 2024, Sandra Loosemore wrote: > Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove &

Re: Deprecation/removal of nios2 target support

2024-04-18 Thread Joel Sherrill
On Thu, Apr 18, 2024 at 10:46 AM Joseph Myers wrote: > On Wed, 17 Apr 2024, Sandra Loosemore wrote: > > > Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove > > support from all toolchain components after the release is made. I'm > not s

Re: Deprecation/removal of nios2 target support

2024-04-18 Thread Joseph Myers via Gcc
On Wed, 17 Apr 2024, Sandra Loosemore wrote: > Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove > support from all toolchain components after the release is made. I'm not sure > there is an established process for obsoleting/removing support in other &g

Re: Deprecation/removal of nios2 target support

2024-04-18 Thread Marek Vasut via Gcc
;s time to pull the plug. Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove support from all toolchain components after the release is made.  I'm not sure there is an established process for obsoleting/removing support in other components; besides binutils, GDB

Re: Deprecation/removal of nios2 target support

2024-04-17 Thread Thomas Huth via Gcc
'd like to mark Nios II as obsolete in GCC 14 now, and remove support from all toolchain components after the release is made.  I'm not sure there is an established process for obsoleting/removing support in other components; besides binutils, GDB, and GLIBC, there's QEMU, newlib/

Deprecation/removal of nios2 target support

2024-04-17 Thread Sandra Loosemore
C 14 now, and remove support from all toolchain components after the release is made. I'm not sure there is an established process for obsoleting/removing support in other components; besides binutils, GDB, and GLIBC, there's QEMU, newlib/libgloss, and the Linux kernel. But, we

Re: Interest in Contributing to OpenACC Support & Code Offloading Projects for GSOC

2024-03-25 Thread Martin Jambor
ware Engineer at Qualcomm > Wireless R&D. I recently discovered your organization and the exciting GSOC > projects you are proposing, namely "Offloading to a separate process on the > same host" and "Enhance OpenACC support." I am writing to express my > enthusi

Interest in Contributing to OpenACC Support & Code Offloading Projects for GSOC

2024-03-21 Thread Soumya Ranjan via Gcc
d the exciting GSOC projects you are proposing, namely "Offloading to a separate process on the same host" and "Enhance OpenACC support." I am writing to express my enthusiastic interest in potentially contributing to either of these projects and to inquire about the next steps to

dpkg-buildflags: add support for building with frame pointers enabled

2024-03-17 Thread Charlemagne Lasse via Gcc
Control: merge 1064476 1058665 1058664 I would even love to have finally a debian again which can be used to debug and profile production ready binaries (at least on amd64). See also * https://www.brendangregg.com/blog/2024-03-17/the-return-of-the-frame-pointers.html * https://ubuntu.com/blog/u

Re: Deprecating -fgnu-tm support for GCC 14 and removing it for GCC 15

2023-12-20 Thread Jason Merrill via Gcc
Gcc > wrote: > > > > > > > > -fgnu-tm support has not been improved since GCC 5 or earlier. It is > > > > not even supported with LTO. Does it make sense to deprecate the > > > > support for GCC 14 and remove it in GCC 15? > > > > > &

Re: Deprecating -fgnu-tm support for GCC 14 and removing it for GCC 15

2023-12-18 Thread Richard Biener via Gcc
On Mon, Dec 18, 2023 at 2:35 AM Andrew Pinski via Gcc wrote: > > On Sun, Dec 17, 2023 at 1:20 PM Eric Gallager wrote: > > > > On Sat, Dec 16, 2023 at 3:16 PM Andrew Pinski via Gcc > > wrote: > > > > > > -fgnu-tm support has not been improved si

Re: Deprecating -fgnu-tm support for GCC 14 and removing it for GCC 15

2023-12-17 Thread Andrew Pinski via Gcc
On Sun, Dec 17, 2023 at 1:20 PM Eric Gallager wrote: > > On Sat, Dec 16, 2023 at 3:16 PM Andrew Pinski via Gcc wrote: > > > > -fgnu-tm support has not been improved since GCC 5 or earlier. It is > > not even supported with LTO. Does it make sense to deprecate the &g

Re: Deprecating -fgnu-tm support for GCC 14 and removing it for GCC 15

2023-12-17 Thread Eric Gallager
On Sat, Dec 16, 2023 at 3:16 PM Andrew Pinski via Gcc wrote: > > -fgnu-tm support has not been improved since GCC 5 or earlier. It is > not even supported with LTO. Does it make sense to deprecate the > support for GCC 14 and remove it in GCC 15? > > Thanks, > Andrew Pinski

Re: Deprecating -fgnu-tm support for GCC 14 and removing it for GCC 15

2023-12-17 Thread Andrew Pinski via Gcc
On Sun, Dec 17, 2023 at 8:26 AM Florian Weimer wrote: > > * Andrew Pinski via Gcc: > > > -fgnu-tm support has not been improved since GCC 5 or earlier. It is > > not even supported with LTO. Does it make sense to deprecate the > > support for GCC 14 and remove it in GC

Re: Deprecating -fgnu-tm support for GCC 14 and removing it for GCC 15

2023-12-17 Thread Florian Weimer via Gcc
* Andrew Pinski via Gcc: > -fgnu-tm support has not been improved since GCC 5 or earlier. It is > not even supported with LTO. Does it make sense to deprecate the > support for GCC 14 and remove it in GCC 15? Is this the stuff around libitm and that adds _ITM_registerTMClone

Deprecating -fgnu-tm support for GCC 14 and removing it for GCC 15

2023-12-16 Thread Andrew Pinski via Gcc
-fgnu-tm support has not been improved since GCC 5 or earlier. It is not even supported with LTO. Does it make sense to deprecate the support for GCC 14 and remove it in GCC 15? Thanks, Andrew Pinski

Re: Typo in "C++ Standards Support in GCC"

2023-11-15 Thread David Malcolm via Gcc
On Wed, 2023-11-15 at 08:23 +, Taisei Katô via Gcc wrote: > Dear GCC developers, > > There is a typo in Section "C++14 Support in GCC" in "C++ Standards > Support in GCC."<https://gcc.gnu.org/projects/cxx-status.html#cxx14> > "GCC has full suppo

Typo in "C++ Standards Support in GCC"

2023-11-15 Thread Taisei Katô via Gcc
Dear GCC developers, There is a typo in Section "C++14 Support in GCC" in "C++ Standards Support in GCC."<https://gcc.gnu.org/projects/cxx-status.html#cxx14> "GCC has full support for the of the 2014 C++ standard." Yours sincerely, Katô Taisei

[RFC] Structured Exception Handling support for Windows

2023-11-13 Thread Julian Waters via Gcc
gcc's assembler has had support for Windows style Structured Exception Handling for a while now, it would be useful if gcc itself had support for catching hardware faults on Windows through this mechanism as well (For example, the Java HotSpot VM will simply not work on Windows without suppor

Re: GCC support addition for Safety compliances

2023-11-01 Thread Jonathan Wakely via Gcc
On Wed, 1 Nov 2023 at 09:45, Vishal B Patil wrote: > > Hi team, > > I'm using Mingw win32. My total code size is around 82MB. I'm getting error > while compilation "out of memory allocating 48 bytes" , I have attached the > snap for your reference. > > I have cleaned temp folder but not solved,

Re: Complex numbers support: discussions summary

2023-10-18 Thread Sylvain Noiry via Gcc
Hello Toon, the implementation is not finished, we have just made some tests for now. If no one sees huge problems with this new approach, we will continue to implement and stabilize it. Thank you for your interest ! Sylvain On 10/17/23 22:37, Toon Moene wrote: Sylvain, Is this on a branc

Re: Complex numbers support: discussions summary

2023-10-17 Thread Toon Moene
Sylvain, Is this on a branch in your github repository https://github.com/kalray/gcc somewhere ? That would make it easier to test it for me (and probably others). See for instance my mail here (d.d. Thu Oct 5 14:45:05 GMT 2023): https://gcc.gnu.org/pipermail/gcc/2023-October/242643.

Complex numbers support: discussions summary

2023-10-16 Thread Sylvain Noiry via Gcc
Hi, We are trying to update our patches on complex numbers to take into account what has been discussed. The main change from our previous patches consists of replacing vectors of complex types with classical vectors of real types (ex V4SF instead of V2SC) associated with existing complex op

Re: RFD: doloop needs better support for nested loops

2023-10-10 Thread Richard Biener via Gcc
On Tue, Oct 10, 2023 at 2:43 PM Joern Rennecke wrote: > > I'm working on implementing hardware loops for the CORE-V CV32E40P > https://docs.openhwgroup.org/projects/cv32e40p-user-manual/en/latest/corev_hw_loop.html > > This core supports nested hardware lops, but does not allow any other flow > co

RFD: doloop needs better support for nested loops

2023-10-10 Thread Joern Rennecke
I'm working on implementing hardware loops for the CORE-V CV32E40P https://docs.openhwgroup.org/projects/cv32e40p-user-manual/en/latest/corev_hw_loop.html This core supports nested hardware lops, but does not allow any other flow control inside hardware loops. I found that our existing interfaces

Complex numbers support: discussions summary

2023-10-09 Thread Sylvain Noiry via Gcc
On 9/26/23 20:40, Toon Moene wrote: /On 9/26/23 09:30, Richard Biener via Gcc wrote: />>//>>>/On Mon, Sep 25, 2023 at 5:17 PM Sylvain Noiry via Gcc />>>/ wrote: />>///As I said at the end of the presentation, we have written a paper which //explains //our implementation in details. Yo

Re: Complex numbers support: discussions summary

2023-10-05 Thread Toon Moene
On 9/26/23 20:40, Toon Moene wrote: On 9/26/23 09:30, Richard Biener via Gcc wrote: On Mon, Sep 25, 2023 at 5:17 PM Sylvain Noiry via Gcc wrote: As I said at the end of the presentation, we have written a paper which explains our implementation in details. You can find it on the wiki page

how to support GCC ?

2023-09-29 Thread Radisson97--- via Gcc
Hello list, i work for a companie that is heavy user of gcc C-compiler (Intel &arm). We were ask for projects and i would like to support the C-compiler. (not personaly but providing support for a project). Does someone feel competent so we can discuss what is doable ? (e.g. I would hav

Re: Complex numbers support: discussions summary

2023-09-26 Thread Toon Moene
On 9/26/23 09:30, Richard Biener via Gcc wrote: On Mon, Sep 25, 2023 at 5:17 PM Sylvain Noiry via Gcc wrote: As I said at the end of the presentation, we have written a paper which explains our implementation in details. You can find it on the wiki page of the Cauldron (https://gcc.gnu.org/w

Re: Complex numbers support: discussions summary

2023-09-26 Thread Joseph Myers
On Mon, 25 Sep 2023, Sylvain Noiry via Gcc wrote: > --> Idea: Add an attribute to the Tree complex type which specify pure real / > pure >    imaginary / full complex ? If you start from the implementation approach of lowering imaginary type operations in the front end, a flag on a REAL_TYPE wou

Re: Complex numbers support: discussions summary

2023-09-26 Thread Paul Iannetta via Gcc
; > > We had very interesting discussions during our presentation with Paul > > > on the support of complex numbers in gcc at the Cauldron. > > > > > > Thank you all for your participation ! > > > > > > Here is a small summary from our viewpoint: &g

Re: Complex numbers support: discussions summary

2023-09-26 Thread Paul Iannetta via Gcc
nu.org; > > sylvain.no...@hotmail.fr > > Subject: Re: Complex numbers support: discussions summary > > > > On Tue, Sep 26, 2023 at 09:30:21AM +0200, Richard Biener via Gcc wrote: > > > On Mon, Sep 25, 2023 at 5:17 PM Sylvain Noiry via Gcc > > wrote: > &g

RE: Complex numbers support: discussions summary

2023-09-26 Thread Tamar Christina via Gcc
> -Original Message- > From: Gcc On Behalf > Of Paul Iannetta via Gcc > Sent: Tuesday, September 26, 2023 9:54 AM > To: Richard Biener > Cc: Sylvain Noiry ; gcc@gcc.gnu.org; > sylvain.no...@hotmail.fr > Subject: Re: Complex numbers support: discussions summary &

Re: Complex numbers support: discussions summary

2023-09-26 Thread Paul Iannetta via Gcc
On Tue, Sep 26, 2023 at 09:30:21AM +0200, Richard Biener via Gcc wrote: > On Mon, Sep 25, 2023 at 5:17 PM Sylvain Noiry via Gcc wrote: > > > > Hi, > > > > We had very interesting discussions during our presentation with Paul on > > the > > support of

RE: Complex numbers support: discussions summary

2023-09-26 Thread Tamar Christina via Gcc
Hi, I tried to find you two on Sunday but couldn't locate you. Thanks for the presentation! > > > > We had very interesting discussions during our presentation with Paul > > on the support of complex numbers in gcc at the Cauldron. > > > > Thank you all for y

Re: Complex numbers support: discussions summary

2023-09-26 Thread Richard Biener via Gcc
On Mon, Sep 25, 2023 at 5:17 PM Sylvain Noiry via Gcc wrote: > > Hi, > > We had very interesting discussions during our presentation with Paul on > the > support of complex numbers in gcc at the Cauldron. > > Thank you all for your participation ! > > Here is a sm

Complex numbers support: discussions summary

2023-09-25 Thread Sylvain Noiry via Gcc
Hi, We had very interesting discussions during our presentation with Paul on the support of complex numbers in gcc at the Cauldron. Thank you all for your participation ! Here is a small summary from our viewpoint: - Replace CONCAT with a backend defined internal representation in RTL

Re: [PATCH v8 0/4] P1689R5 support

2023-09-20 Thread Ben Boeckel via Gcc
On Tue, Sep 19, 2023 at 17:33:34 -0400, Jason Merrill wrote: > Pushed, thanks! Thanks! Is there a process I can use to backport this to GCC 13? --Ben

Re: [PATCH v8 0/4] P1689R5 support

2023-09-19 Thread Jason Merrill via Gcc
On 9/1/23 09:04, Ben Boeckel wrote: Hi, This patch series adds initial support for ISO C++'s [P1689R5][], a format for describing C++ module requirements and provisions based on the source code. This is required because compiling C++ with modules is not embarrassingly parallel and need

Re: [PATCH] analyzer: implement symbolic value support for CPython plugin's refcnt checker [PR107646]

2023-09-11 Thread David Malcolm via Gcc
On Sun, 2023-09-10 at 22:12 -0400, Eric Feng wrote: > On Thu, Sep 7, 2023 at 1:28 PM David Malcolm > wrote: > > > On Mon, 2023-09-04 at 22:13 -0400, Eric Feng wrote: > > [...snip...] > > > > > > I know you're emulating the old behavior I implemented way back in > > cpychecker, but I don't li

Re: [PATCH] analyzer: implement symbolic value support for CPython plugin's refcnt checker [PR107646]

2023-09-10 Thread Eric Feng via Gcc
On Thu, Sep 7, 2023 at 1:28 PM David Malcolm wrote: > On Mon, 2023-09-04 at 22:13 -0400, Eric Feng wrote: > > > Hi Dave, > > Hi Eric, thanks for the patch. > > > > > Recently I've been working on symbolic value support for the reference > > count chec

Re: [PATCH] analyzer: implement symbolic value support for CPython plugin's refcnt checker [PR107646]

2023-09-07 Thread David Malcolm via Gcc
On Mon, 2023-09-04 at 22:13 -0400, Eric Feng wrote: > Hi Dave, Hi Eric, thanks for the patch. > > Recently I've been working on symbolic value support for the reference > count checker. I've attached a patch for it below; let me know it looks > OK for trunk.

[PATCH] analyzer: implement symbolic value support for CPython plugin's refcnt checker [PR107646]

2023-09-04 Thread Eric Feng via Gcc
Hi Dave, Recently I've been working on symbolic value support for the reference count checker. I've attached a patch for it below; let me know it looks OK for trunk. Thanks! Best, Eric --- This patch enhances the reference count checker in the CPython plugin by adding support fo

[PATCH v8 2/4] p1689r5: initial support

2023-09-01 Thread Ben Boeckel via Gcc
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. Support is communicated through the following three new flags: - `-fdeps-format=` specifies the format for the

[PATCH v8 0/4] P1689R5 support

2023-09-01 Thread Ben Boeckel via Gcc
Hi, This patch series adds initial support for ISO C++'s [P1689R5][], a format for describing C++ module requirements and provisions based on the source code. This is required because compiling C++ with modules is not embarrassingly parallel and need to be ordered to ensure that `i

Re: analyzer: Weekly update on extending C++ support (3)

2023-08-31 Thread Benjamin Priour via Gcc
Hi David, On Wed, Aug 30, 2023 at 1:01 AM David Malcolm wrote: > > > ? > > Yes; please submit it, so that we can work towards getting what you > have into trunk. > > Given that we don't properly support C++ yet, improvements to C++ > support don't have t

Re: analyzer: Weekly update on extending C++ support (3)

2023-08-29 Thread David Malcolm via Gcc
On Mon, 2023-08-28 at 17:13 +0200, Benjamin Priour wrote: > Hi, > > Test gcc.dg/analyzer/pr94362-1.c actually has an additional > null_deref > > warning in C++, which is not affected by exceptions > > or optimizations. I will keep updated on that one. Note that no > > warnings > > are emitted for

Re: analyzer: Weekly update on extending C++ support (3)

2023-08-29 Thread David Malcolm via Gcc
value" that accompanies "null deref" of nothrow new > variants > ? Yes; please submit it, so that we can work towards getting what you have into trunk. Given that we don't properly support C++ yet, improvements to C++ support don't have to be perfect. > >

Re: analyzer: Weekly update on extending C++ support (3)

2023-08-28 Thread Benjamin Priour via Gcc
Hi, Test gcc.dg/analyzer/pr94362-1.c actually has an additional null_deref > warning in C++, which is not affected by exceptions > or optimizations. I will keep updated on that one. Note that no warnings > are emitted for this test in C. > > analyzer/pr94362-1.c: In function ‘const EVP_PKEY_ASN1_M

analyzer: Weekly update on extending C++ support (3)

2023-08-26 Thread Benjamin Priour via Gcc
Hi David, Sorry I missed out on your answer about the operator new patch on the IRC. Should I submit the first bit of the operator new patch ? Putting aside for now fixing the "uninitialized value" that accompanies "null deref" of nothrow new variants ? About generalizing tests to C++, I'll soon

Re: [PATCH v7 2/4] p1689r5: initial support

2023-08-23 Thread Jason Merrill via Gcc
On 7/2/23 12:32, 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. Support is communicated through the following three new flags: - `-fdeps

Re: GCC support for extensions from later standards

2023-08-08 Thread Nikolas Klauser
Jonathan Wakely wrote: >> >> On Tue, 8 Aug 2023 at 17:04, Nikolas Klauser wrote: >>> >>> Luckily most of these aren’t problems for libc++. We only support the >>> latest GCC. We can only use `if constexpr` in C++11, but that is already a >>> win I

Re: GCC support for extensions from later standards

2023-08-08 Thread Jonathan Wakely via Gcc
On Tue, 8 Aug 2023 at 17:07, Jonathan Wakely wrote: > > On Tue, 8 Aug 2023 at 17:04, Nikolas Klauser wrote: > > > > Luckily most of these aren’t problems for libc++. We only support the > > latest GCC. We can only use `if constexpr` in C++11, but that is already a >

Re: GCC support for extensions from later standards

2023-08-08 Thread Jonathan Wakely via Gcc
On Tue, 8 Aug 2023 at 17:04, Nikolas Klauser wrote: > > Luckily most of these aren’t problems for libc++. We only support the latest > GCC. We can only use `if constexpr` in C++11, but that is already a win I > think. Can you use it in C++11 though? The body of a constexpr functi

Re: GCC support for extensions from later standards

2023-08-08 Thread Nikolas Klauser
Luckily most of these aren’t problems for libc++. We only support the latest GCC. We can only use `if constexpr` in C++11, but that is already a win I think. Nikolas > On Aug 8, 2023, at 12:33 AM, Jakub Jelinek wrote: > > On Mon, Aug 07, 2023 at 08:03:05PM -0700, Nikolas Klau

Re: GCC support for extensions from later standards

2023-08-08 Thread Jonathan Wakely via Gcc
nsions-from-future-standards-in-libc/71898/4). > > > > By that I mean things like using `if constexpr` with `-std=c++11`. GCC > > > > has > > > > quite a lot of these kinds of conforming extensions, but doesn't > > > > document > > > &

Re: GCC support for extensions from later standards

2023-08-08 Thread Jakub Jelinek via Gcc
On Mon, Aug 07, 2023 at 08:03:05PM -0700, Nikolas Klauser wrote: > Thanks for the answers! > > There are a few really interesting extensions that I would like to use: > > - inline variables > - variable templates > - `if constexpr` > - fold expressions > - conditional explicit > - static operator

Re: GCC support for extensions from later standards

2023-08-07 Thread Nikolas Klauser
-from-future-standards-in-libc/71898/4). By that I mean things like using `if constexpr` with `-std=c++11`. GCC has quite a lot of these kinds of conforming extensions, but doesn't document them AFAICT. While discussing using these extensions, the question came up what GCCs supp

Re: analyzer: Weekly update on extending C++ support (2)

2023-08-07 Thread David Malcolm via Gcc
On Mon, 2023-08-07 at 15:04 +0200, Benjamin Priour wrote: > Hi Dave, [...snip...] > Last test I'd like to discuss is analyzer/pr99193-1.c > [...snip...] > > If I comment out the call to perror("realloc"), then G++ behaves as > GCC. > If I replace perror ("realloc") by any other call, to a ful

Re: analyzer: Weekly update on extending C++ support (2)

2023-08-07 Thread David Malcolm via Gcc
On Mon, 2023-08-07 at 15:04 +0200, Benjamin Priour wrote: > Hi Dave, Hi Benjamin. > > I made some more progress on moving tests from gcc.dg/analyzer/ to > c-c++-common/analyzer. Thanks. It sounds like you have a large amount of "pending" work that is accumulating on your hard drive. This make

analyzer: Weekly update on extending C++ support (2)

2023-08-07 Thread Benjamin Priour via Gcc
Hi Dave, I made some more progress on moving tests from gcc.dg/analyzer/ to c-c++-common/analyzer. I'll only detail the most noteworthy tests I encountered. gcc.dg/analyzer/pr103892.c troubled me with an Excess error when compiled with g++ analysis bailed out early (91 'after-snode' enodes; 314 e

Re: GCC support for extensions from later standards

2023-08-07 Thread Jonathan Wakely via Gcc
`-std=c++11`. GCC has > > > quite a lot of these kinds of conforming extensions, but doesn't document > > > them AFAICT. While discussing using these extensions, the question came up > > > what GCCs support policy for these is. Aaron was kind enough to answer > > &g

Re: GCC support for extensions from later standards

2023-08-06 Thread Jonathan Wakely via Gcc
AFAICT. While discussing using these extensions, the question came up > > what GCCs support policy for these is. Aaron was kind enough to answer > > these questions for us on the Clang side. Since I couldn't find anything in > > the documentation, I thought I'd ask

Re: GCC support for extensions from later standards

2023-08-06 Thread Jason Merrill via Gcc
4). > By that I mean things like using `if constexpr` with `-std=c++11`. GCC has > quite a lot of these kinds of conforming extensions, but doesn't document > them AFAICT. While discussing using these extensions, the question came up > what GCCs support policy for these is. Aa

  1   2   3   4   5   6   7   8   9   10   >