Re: [Tinycc-devel] Waiting for a release / Please delay any commits

2024-04-16 Thread Steffen Nurpmeso
tinycc-devel@nongnu.org wrote in : |We have the tinycc 0.9.28 release canditate for a long time, |but still no release. | |All people here can help grischka to be more confident to make a release. | |My suggestions: |* Please hold back any commit before the release. |* If you think, you

Re: [Tinycc-devel] warning: function might return no value:

2024-04-16 Thread Paul Moore
Well somewhere along the way I fixed it when I started making gjmp and gjmp_append return sane values. Are there any docs out there that describe how to write a backend. The doc here Tiny C Compiler Reference Documentation (bellard.org)

[Tinycc-devel] warning: function might return no value:

2024-04-16 Thread Paul Moore
Right at the start of creating my own backend, just making it trace all calls to it and do the minimum to not have the compiler complain. Overcome a few issues but: Compiling examples/fib.c I get warning: function might return no value: I simplified it a bit so I could follow the code path

Re: [Tinycc-devel] confused about reg_classes

2024-04-16 Thread Ekaitz Zarraga
Hi, On 2024-04-16 01:50, Paul Moore wrote: Writing my own backend. I am trying to understand reg_classes On the face of it, it looks like a list of registers with flags saying what classes they are in (int , float..) So get_reg works down the table looking for registers of the right class,

[Tinycc-devel] Waiting for a release / Please delay any commits

2024-04-16 Thread Detlef Riekenberg via Tinycc-devel
We have the tinycc 0.9.28 release canditate for a long time,but still no release.All people here can help grischka to be more confident to make a release.My suggestions:* Please hold back any commit before the release.* If you think, you have an urgent change to fix an urgent bug, discuss it on

Re: [Tinycc-devel] Waiting for a release / Please delay any commits

2024-04-16 Thread Ekaitz Zarraga
Hi, On 2024-04-16 13:46, Detlef Riekenberg via Tinycc-devel wrote: My suggestions: * Please hold back any commit before the release. * If you think, you have an urgent change to fix an urgent bug, discuss it on the mailing list first. * Together, we decide, if we postpone the change after the

Re: [Tinycc-devel] confused about reg_classes

2024-04-16 Thread Paul Moore
>>I hope this helps, >>Ekaitz My original confusion stemmed from R_RET, I read it as returning what type of register to use for return values. Plus the fact that the upper level tccgen code deals in register types not registers (gv(rc), not gv(r)). Now I get it: R_RET says "use this

Re: [Tinycc-devel] confused about reg_classes

2024-04-16 Thread Ekaitz Zarraga
Hi On 2024-04-16 20:21, Paul Moore wrote: I hope this helps, Ekaitz My original confusion stemmed from R_RET, I read it as returning what type of register to use for return values. Plus the fact that the upper level tccgen code deals in register types not registers (gv(rc), not gv(r)).