HPCguy
HPCguy
I see you are generating code for a stack based machine. The squint optimizer could be adapted to your project pretty easily. https://github.com/HPCguy/Squint
Struct/union assignments are not currently allowed, since they require moving mem blocks: ```c struct foo s1, s2; s1 = s2; // not allowed ``` That said, the AST tracks all...
A 'static' storage class could potentially be supported by internally creating a 'hidden' global variable having the name \_\. This could help prevent the use of global variables, at least...
id->class is 0 for passed parameters vs. class 'Par' or 'Loc'. There may be other inconsistencies for other storage types.
You have a great site for the "little guy". Thanks for creating it.
You have the following formula in column O of the Rollup sheet in the ods file, which produces the wrong output in the Net_worth sheet: =IF(AND(($B4
The function Squint.c :: rename_register1() does literal constant optimizations, and is currently unsafe. I suggest commenting out that optimization until this ticket is closed. This bug might only occur for...
I am forced to add the inline keyword to the public Squint compiler due to a botched 'git stash' and merge on my part. This was work in progress for...
Some gotos are being optimized away. Create a stress test for branching and goto as a means to fix this and other jump related bugs.