Re: Builtin for consulting value analysis (better ffs() code gen)

2024-03-13 Thread Alexander Monakov
On Thu, 14 Mar 2024, Andrew Cooper via Gcc wrote: > I suppose that what I'm looking for is something a little like > __builtin_constant_p() which can either be used in a straight if(), or > in a __builtin_choose_expr(). > > Anyway - is there a way of doing this that I've managed to overlook? I

Builtin for consulting value analysis (better ffs() code gen)

2024-03-13 Thread Andrew Cooper via Gcc
Hello, I've come across an issue that I would have thought there would be a builtin for, but perhaps that's just wishful thinking.  I'd like to be able to write something like this:     if (__builtin_expr_is_true(x > 0))         ... // one thing     else         ... // something else This stems

Architectural Drafts & QTO/MTO

2024-03-13 Thread Faizan Jehangir via Gcc
Hi, We are an estimation company. We provide estimates and takeoffs to general contractors and subcontractors. Send me the plans for a quote on our service charges before getting started. I can share some samples and take-off for your review and better understanding of our work. Thanks

Re: GSoC

2024-03-13 Thread Martin Jambor
Hello, On Tue, Mar 12 2024, Abhinav Gupta wrote: > Hi! Thank you for replying to my request! > I looked at all the links you provided in the reply and read the > paper cited on the GCC page for GSoC. I also looked into the rust > frontend project during this time, and the Offloading project >

Re: Renaming gcc from source code

2024-03-13 Thread Dan via Gcc
Thanks a lot! I'll look into it. On Wed, Mar 13, 2024 at 2:59 PM Jonathan Wakely wrote: > On Wed, 13 Mar 2024 at 09:46, Dan via Gcc wrote: > > > > Hello! > > > > I'm new to open source development and am exploring the domain. I am > trying > > to learn the internals of gcc and the first project

Re: Renaming gcc from source code

2024-03-13 Thread Jonathan Wakely via Gcc
On Wed, 13 Mar 2024 at 09:46, Dan via Gcc wrote: > > Hello! > > I'm new to open source development and am exploring the domain. I am trying > to learn the internals of gcc and the first project that I've chosen for > myself is to rename gcc to 'myCompiler' from the source and build it so > that gc

Renaming gcc from source code

2024-03-13 Thread Dan via Gcc
Hello! I'm new to open source development and am exploring the domain. I am trying to learn the internals of gcc and the first project that I've chosen for myself is to rename gcc to 'myCompiler' from the source and build it so that gcc is renamed in the system, and commands such as *myCompiler --

[RFC] add regenerate Makefile target

2024-03-13 Thread Christophe Lyon via Gcc
Hi! After recent discussions on IRC and on the lists about maintainer-mode and various problems with auto-generated source files, I've written this small prototype. Based on those discussions, I assumed that people generally want to update autotools files using a script similar to autoregen.py, w