mescc: Tinycc support: empty for.
* module/language/c99/compiler.mes (test-jump-label->info): Handle empty expression. * make.scm (add-tcc-test "45_empty_for"): Test it.
This commit is contained in:
parent
d393fd3743
commit
67afa2a397
2
make.scm
2
make.scm
|
@ -310,7 +310,7 @@ exec ${GUILE-guile} --no-auto-compile -L . -L guile -C . -C guile -s "$0" ${1+"$
|
||||||
;;"42_function_pointer" ; f* functions
|
;;"42_function_pointer" ; f* functions
|
||||||
"43_void_param"
|
"43_void_param"
|
||||||
"44_scoped_declarations"
|
"44_scoped_declarations"
|
||||||
;; "45_empty_for" ; unsupported
|
"45_empty_for" ; unsupported
|
||||||
;;"46_grep" ; f* functions
|
;;"46_grep" ; f* functions
|
||||||
"47_switch_return"
|
"47_switch_return"
|
||||||
"48_nested_break"
|
"48_nested_break"
|
||||||
|
|
|
@ -1363,6 +1363,7 @@
|
||||||
jump-text)))))
|
jump-text)))))
|
||||||
(lambda (o)
|
(lambda (o)
|
||||||
(pmatch o
|
(pmatch o
|
||||||
|
((expr) info)
|
||||||
;; unsigned
|
;; unsigned
|
||||||
;; ((le ,a ,b) ((jump i386:jump-ncz) o)) ; ja
|
;; ((le ,a ,b) ((jump i386:jump-ncz) o)) ; ja
|
||||||
;; ((lt ,a ,b) ((jump i386:jump-nc) o)) ; jae
|
;; ((lt ,a ,b) ((jump i386:jump-nc) o)) ; jae
|
||||||
|
|
Loading…
Reference in a new issue