- 11 Sep, 2010 6 commits
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/2127046
-
Jukka-Pekka Kekkonen authored
Fixes #842. Fixes #1061. R=rsc CC=golang-dev https://golang.org/cl/2119042
-
Russ Cox authored
g is not in r15 anymore. now it's in a per-thread memory segment, which is valid even inside a signal handler, so we can just refer to g directly. Fixes #1082. R=r CC=golang-dev https://golang.org/cl/2149045
-
Rob Pike authored
1) hack regalloc to leave R9 (m) and R10 (g) alone. the real fix is tricker, but this gets us running 2) fix up the few places in the package sources that the shortage of registers affects, by simplifying some expressions. all of this should be reverted when the right fix is in. Fixes #1084. R=rsc CC=golang-dev https://golang.org/cl/2132046
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/2127045
-
Ian Lance Taylor authored
The gccgo compiler does not always generate a "cannot use" error message. It only does so for named types. Maybe that should change, but in any case it is irrelevant for this test. assign1.go:105:4: error: incompatible types in assignment (cannot use type A1 as type A) assign1.go:107:5: error: incompatible types in assignment (cannot use type A as type A1) assign1.go:112:4: error: incompatible types in assignment (cannot use type B1 as type B) assign1.go:114:5: error: incompatible types in assignment (cannot use type B as type B1) assign1.go:119:4: error: incompatible types in assignment (cannot use type C1 as type C) assign1.go:121:5: error: incompatible types in assignment (cannot use type C as type C1) assign1.go:126:4: error: incompatible types in assignment (cannot use type F1 as type F) assign1.go:128:5: error: incompatible types in assignment (cannot use type F as type F1) assign1.go:140:4: error: incompatible types in assignment (cannot use type M1 as type M) assign1.go:142:5: error: incompatible types in assignment (cannot use type M as type M1) assign1.go:147:4: error: incompatible types in assignment (cannot use type P1 as type P) assign1.go:149:5: error: incompatible types in assignment (cannot use type P as type P1) assign1.go:154:4: error: incompatible types in assignment (cannot use type S1 as type S) assign1.go:156:5: error: incompatible types in assignment (cannot use type S as type S1) assign1.go:158:6: error: incompatible types in assignment assign1.go:159:6: error: incompatible types in assignment assign1.go:160:5: error: incompatible types in assignment assign1.go:161:5: error: incompatible types in assignment assign1.go:162:6: error: incompatible types in assignment assign1.go:163:6: error: incompatible types in assignment assign1.go:165:6: error: incompatible types in assignment assign1.go:166:6: error: incompatible types in assignment assign1.go:167:5: error: incompatible types in assignment assign1.go:168:5: error: incompatible types in assignment assign1.go:169:6: error: incompatible types in assignment assign1.go:170:6: error: incompatible types in assignment assign1.go:172:6: error: incompatible types in assignment assign1.go:173:6: error: incompatible types in assignment assign1.go:174:5: error: incompatible types in assignment assign1.go:175:5: error: incompatible types in assignment assign1.go:176:6: error: incompatible types in assignment assign1.go:177:6: error: incompatible types in assignment assign1.go:179:6: error: incompatible types in assignment assign1.go:180:6: error: incompatible types in assignment assign1.go:181:5: error: incompatible types in assignment assign1.go:182:5: error: incompatible types in assignment assign1.go:183:6: error: incompatible types in assignment assign1.go:184:6: error: incompatible types in assignment assign1.go:186:6: error: incompatible types in assignment assign1.go:187:6: error: incompatible types in assignment assign1.go:188:5: error: incompatible types in assignment assign1.go:189:5: error: incompatible types in assignment assign1.go:190:6: error: incompatible types in assignment assign1.go:191:6: error: incompatible types in assignment assign1.go:193:6: error: incompatible types in assignment assign1.go:194:6: error: incompatible types in assignment assign1.go:195:5: error: incompatible types in assignment assign1.go:196:5: error: incompatible types in assignment assign1.go:197:6: error: incompatible types in assignment assign1.go:198:6: error: incompatible types in assignment assign1.go:200:6: error: incompatible types in assignment assign1.go:201:6: error: incompatible types in assignment assign1.go:202:5: error: incompatible types in assignment assign1.go:203:5: error: incompatible types in assignment assign1.go:204:6: error: incompatible types in assignment assign1.go:205:6: error: incompatible types in assignment assign1.go:207:6: error: incompatible types in assignment assign1.go:208:6: error: incompatible types in assignment assign1.go:209:5: error: incompatible types in assignment assign1.go:210:5: error: incompatible types in assignment assign1.go:211:6: error: incompatible types in assignment assign1.go:212:6: error: incompatible types in assignment R=rsc CC=golang-dev https://golang.org/cl/2163044
-
- 10 Sep, 2010 19 commits
-
-
Ian Lance Taylor authored
The gccgo library generates some garbage in the init routines because it handles interfaces slightly differently. Since the test sets MemStats.Alloc to 0, the first time the garbage collector runs it goes negative and the test fails. R=rsc, r2 CC=golang-dev https://golang.org/cl/2110044
-
Ian Lance Taylor authored
nonblock.go wants to test nonblocking operations on synchronous channels, so it is inherently racy. This introduces loops to make the race conditions much more likely to succeed when using gccgo. R=r CC=golang-dev https://golang.org/cl/2161043
-
Adam Langley authored
Fixes #1037. R=adg, rsc1 CC=golang-dev https://golang.org/cl/2107048
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/2111045
-
Ian Lance Taylor authored
gccgo does not handle 'new' specially here. varerr.go:10:6: error: reference to undefined name ‘asdf’ varerr.go:12:6: error: invalid left hand side of assignment R=rsc CC=golang-dev https://golang.org/cl/2139045
-
Ian Lance Taylor authored
undef.go:12:6: error: reference to undefined name ‘x’ undef.go:13:6: error: reference to undefined name ‘x’ undef.go:14:6: error: reference to undefined name ‘x’ undef.go:22:25: error: reference to undefined name ‘y’ undef.go:42:11: error: reference to undefined name ‘v’ R=rsc CC=golang-dev https://golang.org/cl/2152045
-
Ian Lance Taylor authored
vareq.go:10:25: error: expected ';' or '}' or newline vareq1.go:9:24: error: expected ';' or newline after top level declaration R=rsc CC=golang-dev https://golang.org/cl/2132045
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/2174043
-
Joe Poirier authored
Add windows NOTEST list to pkg make file. 5a make file. the change removes a space character that was included when appending an extension to TARG. R=brainman, rsc CC=golang-dev https://golang.org/cl/2140046
-
Dan Sinclair authored
Fixes #1087. R=rsc CC=golang-dev https://golang.org/cl/2172041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/2140045
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/2107047
-
Russ Cox authored
Fixes #829. R=ken2 CC=golang-dev https://golang.org/cl/2124044
-
Nigel Tao authored
R=r, nigeltao CC=golang-dev https://golang.org/cl/2145045
-
Nigel Tao authored
The min is typically zero, which is why this hasn't bitten us yet. R=r CC=golang-dev https://golang.org/cl/2119048
-
Rob Pike authored
tests have not been run yet R=stephenm CC=golang-dev https://golang.org/cl/2165046
-
Ian Lance Taylor authored
With the recursive descent parser that gccgo uses, I think that it doesn't make sense to try to match a statement where a statement is not expected. If the construct is not a statement, you will just get bizarre error messages. topexpr.go:9:1: error: expected declaration topexpr.go:14:1: error: expected declaration topexpr.go:19:1: error: expected declaration R=rsc, r2 CC=golang-dev https://golang.org/cl/2175041
-
Alex Brainman authored
Fixes #1092. R=golang-dev, r2 CC=golang-dev https://golang.org/cl/2121048
-
Rob Pike authored
Awaiting the lower-bound change before checkin. Fixes #1067. R=rsc, iant, gri CC=golang-dev https://golang.org/cl/2105043
-
- 09 Sep, 2010 15 commits
-
-
Robert Griesemer authored
R=rsc, ken2 CC=golang-dev https://golang.org/cl/2118050
-
Russ Cox authored
and other begin and end of function code R=ken2 CC=golang-dev https://golang.org/cl/2158044
-
Ian Lance Taylor authored
tmp.go:4:20: error: invalid NUL byte tmp.go:6:24: error: invalid NUL byte tmp.go:8:15: error: invalid NUL byte tmp.go:10:21: error: invalid NUL byte tmp.go:12:22: error: invalid NUL byte tmp.go:14:21: error: invalid UTF-8 encoding tmp.go:14:22: error: invalid UTF-8 encoding tmp.go:16:25: error: invalid UTF-8 encoding tmp.go:18:15: error: invalid UTF-8 encoding tmp.go:18:16: error: invalid UTF-8 encoding tmp.go:20:21: error: invalid UTF-8 encoding tmp.go:20:22: error: invalid NUL byte tmp.go:20:23: error: invalid NUL byte tmp.go:23:6: error: invalid UTF-8 encoding tmp.go:23:7: error: invalid UTF-8 encoding tmp.go:25:22: error: invalid UTF-8 encoding R=rsc CC=golang-dev https://golang.org/cl/2151046
-
Nigel Tao authored
image: introduce Intersect and Union rectangle methods. R=r, rog, nigeltao CC=golang-dev https://golang.org/cl/2115043
-
Nigel Tao authored
exp/draw/x11: allow clean shutdown when the user closes the window. R=r CC=golang-dev https://golang.org/cl/2134045
-
Joe Poirier authored
R=rsc, brainman, vcc CC=golang-dev https://golang.org/cl/2165044
-
Scott Lawrence authored
R=rsc CC=golang-dev https://golang.org/cl/2145043
-
Ivan Krasin authored
R=rsc, imkrasin, r CC=golang-dev https://golang.org/cl/1969042
-
Rob Pike authored
Suggested by paulzhol@gmail.com R=rsc CC=golang-dev https://golang.org/cl/2122049
-
Robert Griesemer authored
Fixes #1089. R=rsc CC=golang-dev https://golang.org/cl/2172043
-
Rob Pike authored
Need to correct for deferproc's extra 2 words of stack or in some cases (such as memory profiling) traceback can cause a crash. Also bulletproof the closure test. R=rsc CC=golang-dev https://golang.org/cl/2138047
-
Ian Lance Taylor authored
named1.go:40:11: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:41:11: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:43:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:44:12: error: argument 4 has incompatible type (cannot use type Bool as type bool) named1.go:46:4: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:48:11: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:50:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:54:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:60:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:63:9: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:64:4: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:67:17: error: invalid type conversion (cannot use type Slice as type String) R=rsc CC=golang-dev https://golang.org/cl/2146044
-
Ian Lance Taylor authored
explicit.go:36:4: error: incompatible types in assignment (need explicit conversion) explicit.go:41:4: error: incompatible types in assignment (type has no methods) explicit.go:42:4: error: incompatible types in assignment (need explicit conversion) explicit.go:45:5: error: incompatible types in assignment (need explicit conversion; missing method ‘N’) explicit.go:48:9: error: invalid type conversion (need explicit conversion; missing method ‘N’) explicit.go:51:4: error: incompatible types in assignment explicit.go:51:7: error: invalid type conversion (need explicit conversion) explicit.go:57:10: error: impossible type assertion: type does not implement interface (type has no methods) explicit.go:62:10: error: impossible type assertion: type does not implement interface (incompatible type for method ‘M’ (different number of parameters)) explicit.go:67:5: error: incompatible type in initialization (type has no methods) explicit.go:68:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different number of parameters)) explicit.go:70:11: error: invalid type conversion (type has no methods) explicit.go:71:11: error: invalid type conversion (incompatible type for method ‘M’ (different number of parameters)) R=rsc CC=golang-dev https://golang.org/cl/2139044
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/2128047
-
Joe Poirier authored
Use OS rather than compiler specific flag the same way that __FreeBSD__, __APPLE__, __OpenBSD__, and __linux__ are used. _WIN32 is defined by GCC (and others) on windows for Win32 and Win64 applications. _WIN32 is set by default for several other windows based compilers: DMC, MSVC, Intel, Watcom, LCC. Although the change is for consistency, it allows the Go tools to be compiled with non-Mingw GCC distributions and non-GCC compilers that support the GCC extensions. R=rsc, brainman, vcc CC=golang-dev https://golang.org/cl/2168043
-