gcc-13-20241004 is now available

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

Assembly-level peepholes?

2024-10-04 Thread Basile STARYNKEVITCH
hello I haven't found anything in my digging, so I'd like to ask if anyone knows of any mechanism in GCC for conducting peephole optimization on generated code. GCC has a plugin mechanism. write your plugin doing so. I can imagine doing this as a pass over the generated code from within the

Assembly-level peepholes?

2024-10-04 Thread Sid Maxwell via Gcc
I haven't found anything in my digging, so I'd like to ask if anyone knows of any mechanism in GCC for conducting peephole optimization on generated code. I can imagine doing this as a pass over the generated code from within the backend, or as a separate process between cc1 and as. I'm working w

Re: Where does this dead statement generated in switch conversion come from?

2024-10-04 Thread Filip Kastl
On Thu 2024-10-03 14:29:44, Andrew Pinski wrote: > On Thu, Oct 3, 2024 at 7:51 AM Filip Kastl wrote: > > > > Hi All, > > > > While toying with the switch conversion GIMPLE pass I noticed that the pass > > generates a dead statement. I wanted to investigate why this happens and > > potentially fix