compilers: emit code for C99 loop initializers [rsc] --rw-rw-r-- M 1115807 glenda sys 16160 Mar 24 12:19 sys/src/cmd/cc/cc.y /n/sourcesdump/2006/0324/plan9/sys/src/cmd/cc/cc.y:417,423 - /n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/cc.y:417,423 zcexpr | ctlist adlist { - $$ = Z; + $$ = $2; } ulstmnt: [rsc] --rw-rw-r-- M 1115807 glenda sys 12170 Mar 24 17:45 sys/src/cmd/cc/cc.h /n/sourcesdump/2006/0324/plan9/sys/src/cmd/cc/cc.h:503,508 - /n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/cc.h:503,511 extern char typechlp[]; extern char typechlpfd[]; + EXTERN char* typeword; + EXTERN char* typecmplx; + extern ulong thash1; extern ulong thash2; extern ulong thash3; [rsc] --rw-rw-r-- M 1115807 glenda sys 10001 Mar 24 17:45 sys/src/cmd/cc/com64.c /n/sourcesdump/2006/0324/plan9/sys/src/cmd/cc/com64.c:551,556 - /n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/com64.c:551,558 { Node *n1; + if(machcap(Z)) + return; if(typev[n->type->etype]) { n1 = new(OXXX, 0, 0); *n1 = *n; [rsc] --rw-rw-r-- M 1115807 glenda sys 564 Mar 24 17:45 sys/src/cmd/cc/mkfile /n/sourcesdump/2006/0324/plan9/sys/src/cmd/cc/mkfile:16,22 - /n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/mkfile:16,22 com64.$O\ compat.$O\ dpchk.$O\ - machcap.$O\ + omachcap.$O\ HFILES=cc.h\ y.tab.h\ [rsc] --rw-rw-r-- M 1115807 rsc sys 6826 Mar 24 17:45 sys/src/cmd/cc/pgen.c [rsc] --rw-rw-r-- M 1115807 rsc sys 989 Mar 24 17:45 sys/src/cmd/cc/pswt.c [rsc] --rw-rw-r-- M 1115807 glenda sys 34164 Mar 24 17:45 sys/src/cmd/cc/sub.c [diffs elided - too long] [diff -c /n/sourcesdump/2006/0324/plan9/sys/src/cmd/cc/sub.c /n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/sub.c] [rsc] --rw-rw-r-- M 1115807 rsc sys 78 Mar 24 18:10 sys/src/cmd/cc/omachcap.c