Jim Huang

Results 569 comments of Jim Huang

No further actions.

> When I use gcc8.3.0 and gcc9.2.1 to compile and test on ubuntu and redhat, the following error is reported, but when I compile with gcc11.2.0 it is normal, but...

Did you use GNU Toolchain from Arm/Linaro? That is, [GNU-A Downloads](https://developer.arm.com/downloads/-/gnu-a).

> I didn't do that, I just upgraded the gcc to a higher version and these issues were solved. To reproduce and help resolve the issue on your end, I...

> I did what you suggested, but it still has that error. Yes, I am able to reproduce with both gcc-8.3.0 and gcc-9.2.1 (Arm/Linaro builds).

> that's my opinion too, especially since if you compile in debug the code works. I'll report it to clang and see what they say. @markreidvfx, Can you validate with...

After @vacantron implements the constant folding optimization, this task will be considered complete, signifying that shecc achieves the goal of implementing a minimal optimizing C compiler capable of compiling itself...

> Should we abjust the directory structure that making `src/ssa.c` focus on building the SSA and create another `src/optimizer.c` to include the existent `src/peephole.c` and the other optimizers ? Up...

So far, we have implemented a few optimizations: * Common subexpression elimination * Constant optimization * Peephole optimization * Dead code elimination With these optimizations complete, we consider this task...