HPCguy
HPCguy
Yes and no. It is illegal to do the following in both C and AMaCC: ```c void foo() { static int i; int i; } ``` Currently in AMaCC, every...
Yes. I will warn here before opening a branch if I decide to work on this. Hopefully anyone who intends to work on this will do the same.
Yes. I may pick up this ticket in the next few weeks. There is a lot of detail work to make everything consistent. It probably won't be a lot of...
The issue is that id->class needs to be (1) set to non-zero when an identifier is defined/instantiated and (2) zero valued when an identifier is referenced but not yet instantiated/defined....
Run the peephole optimizer with the -e option as a workaraound: ``` > ./mc -Op -o foo.exe foo.c > scripts/peep foo.exe -e > ./foo.exe ```
Interestingly, the integer version of the function works fine when optimized: ``` void bubblesort(int *c, int n) { int v1, v2; int i, done; do { done = 1; //...