go/src/cmd/cc
Russ Cox 9984a5bca4 cmd/cc: grow some global arrays
Avoids global array buffer overflows if they are
indexed using some of the values between NTYPE
and NALLTYPE.  It is entirely likely that not all of these
are necessary, but this is the C compiler and not worth
worrying much about.  This change takes up only a
few more bytes of memory and makes the behavior
deterministic.

Fixes #3078.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5693052
2012-02-23 22:45:55 -05:00
..
Makefile cmd/*: add -d option to bison. 2012-02-21 10:50:58 -05:00
acid.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
bits.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
cc.h cmd/cc: grow some global arrays 2012-02-23 22:45:55 -05:00
cc.y 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
com.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
com64.c cmd/cc: grow some global arrays 2012-02-23 22:45:55 -05:00
dcl.c ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
doc.go
dpchk.c ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
funct.c cmd/cc: grow some global arrays 2012-02-23 22:45:55 -05:00
godefs.c ld/6l/8l: First pass at changes to the linker to support NetBSD binaries. 2011-12-12 15:42:11 -05:00
lex.c cmd/6c: add line feed after an error message 2012-02-20 13:57:14 +04:00
lexbody ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
mac.c cc: fixes for Plan 9 build 2011-07-13 16:01:29 -07:00
macbody ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
omachcap.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
pgen.c 5c, 6c, 8c: support 64-bit switch value 2011-12-14 17:30:40 -05:00
pswt.c cc: change cas to newcase 2011-10-26 15:27:59 -07:00
scon.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
sub.c cmd/cc: grow some global arrays 2012-02-23 22:45:55 -05:00
y.tab.c 5a, 6a, 8a, cc: check in y.tab.[ch] 2012-02-03 10:53:51 -05:00
y.tab.h 5a, 6a, 8a, cc: check in y.tab.[ch] 2012-02-03 10:53:51 -05:00