Rename c2mir-bootstrap-test2 to c2mir-bootstrap-test3.  Make c2mir-bootstrap-test2 bootstrap test with -O3.
@@ -227,7 +227,7 @@ c2mir-test: c2mir-simple-test c2mir-full-test
c2mir-simple-test:
$(CC) -g -D$(TARGET) -I. mir.c mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c -lm -ldl && ./a.out -v sieve.c -ei
-c2mir-full-test: c2mir-interp-test c2mir-gen-test c2mir-bootstrap-test
+c2mir-full-test: c2mir-interp-test c2mir-gen-test c2mir-bootstrap-test c2mir-bootstrap-test2
c2mir-interp-test: c2m
$(SHELL) c-tests/runtests.sh c-tests/use-c2m-interp
@@ -235,13 +235,20 @@ c2mir-gen-test: c2m
$(SHELL) c-tests/runtests.sh c-tests/use-c2m-gen
c2mir-bootstrap-test: c2m
- $(Q) echo -n +++++++ C2MIR Bootstrap Test '... '
+ $(Q) echo -n +++++++ C2MIR Bootstrap Test with default optimize level '... '
$(Q) ./c2m -D$(TARGET) -I. mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c mir.c && mv a.bmir 1.bmir
$(Q) ./c2m -D$(TARGET) -I. mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c mir.c -el -D$(TARGET) -I. mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c mir.c
$(Q) cmp 1.bmir a.bmir && echo Passed || echo FAIL
$(Q) rm -rf 1.bmir a.bmir
-c2mir-bootstrap-test2: c2m b2ctab
+c2mir-bootstrap-test2: c2m
+ $(Q) echo -n +++++++ C2MIR Bootstrap Test with -O3 '... '
+ $(Q) ./c2m -D$(TARGET) -I. mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c mir.c && mv a.bmir 1.bmir
+ $(Q) ./c2m -D$(TARGET) -O3 -I. mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c mir.c -el -D$(TARGET) -I. mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c mir.c
+ $(Q) cmp 1.bmir a.bmir && echo Passed || echo FAIL
+ $(Q) rm -rf 1.bmir a.bmir
+
+c2mir-bootstrap-test3: c2m b2ctab
$(Q) echo -n +++++++ C2MIR Bootstrap Test 2 '(usually it takes about 10-20 sec) ... '
$(Q) ./c2m -D$(TARGET) -I. mir-gen.c c2mir/c2mir.c c2mir/c2mir-driver.c mir.c && mv a.bmir 1.bmir
$(Q) ./b2ctab <1.bmir >mir-ctab
