gcc/libgo/runtime
Ian Lance Taylor 63d1e46df0 compiler, runtime: Add explicit checks for zero and overflow division.
* lang.opt: Add -fgo-check-divide-zero and
	-fgo-check-divide-overflow.
	* gccgo.texi (Invoking gccgo): Document new options.

From-SVN: r186637
2012-04-20 19:21:39 +00:00
..
arch.h Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
array.h
chan.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
cpuprof.c runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
defs.h
go-alloc.h
go-append.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-assert-interface.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-assert.c
go-assert.h
go-breakpoint.c
go-byte-array-to-string.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-caller.c libgo: Implement and use runtime.Caller, runtime.Func.FileLine. 2012-03-07 01:16:20 +00:00
go-callers.c libgo: Implement and use runtime.Caller, runtime.Func.FileLine. 2012-03-07 01:16:20 +00:00
go-can-convert-interface.c
go-cgo.c Add file missed in previous commit. 2011-01-11 23:26:03 +00:00
go-check-interface.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-construct-map.c Unify handling of runtime support functions. 2011-04-13 21:00:59 +00:00
go-convert-interface.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-copy.c Unify handling of runtime support functions. 2011-04-13 21:00:59 +00:00
go-defer.c runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
go-defer.h Fix defer when not calling recover in function with named results. 2011-09-16 05:47:20 +00:00
go-deferred-recover.c runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
go-eface-compare.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-eface-val-compare.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-getgoroot.c
go-int-array-to-string.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-int-to-string.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-interface-compare.c
go-interface-eface-compare.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-interface-val-compare.c
go-main.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
go-make-slice.c compiler, runtime: Check make int64 args for overflow. 2012-02-08 06:18:41 +00:00
go-map-delete.c libgo: Solaris and Irix compatibility patches. 2012-01-17 14:18:39 +00:00
go-map-index.c libgo: Solaris and Irix compatibility patches. 2012-01-17 14:18:39 +00:00
go-map-len.c More uses of backend interface for types. 2011-05-06 20:06:29 +00:00
go-map-range.c More uses of backend interface for types. 2011-05-06 20:06:29 +00:00
go-matherr.c runtime: Use __builtin_{inf,nan} rather than INFINITY/NAN. 2012-02-10 00:40:27 +00:00
go-nanotime.c libgo: Update to weekly.2011-12-02. 2011-12-13 19:16:27 +00:00
go-new-map.c compiler, runtime: Check make int64 args for overflow. 2012-02-08 06:18:41 +00:00
go-new.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-nosys.c syscall: Fill out GNU/Linux support. 2012-02-29 20:02:31 +00:00
go-now.c libgo: Update to weekly.2011-12-02. 2011-12-13 19:16:27 +00:00
go-panic.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-panic.h libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-print.c libgo: Fix merge errors shown on Solaris. 2012-01-27 22:34:53 +00:00
go-recover.c runtime: Tweak __go_can_recover for SPARC. 2012-02-11 00:15:54 +00:00
go-reflect-call.c re PR go/48407 (libgo/configure --without-libffi doesn't work) 2012-02-14 20:47:35 +00:00
go-reflect-map.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-rune.c
go-runtime-error.c compiler, runtime: Add explicit checks for zero and overflow division. 2012-04-20 19:21:39 +00:00
go-setenv.c libgo: Update to weekly.2011-11-18. 2011-12-12 23:40:51 +00:00
go-signal.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-strcmp.c
go-string-to-byte-array.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-string-to-int-array.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-string.h
go-strplus.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
go-strslice.c runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
go-trampoline.c Unify handling of runtime support functions. 2011-04-13 21:00:59 +00:00
go-type-complex.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-eface.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-error.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-float.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-identity.c re PR go/52342 (64-bit go.test/test/chan/doubleselect.go times out on Solaris/SPARC) 2012-03-05 06:39:08 +00:00
go-type-interface.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type-string.c compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-type.h compiler, runtime: Implement struct and array comparisons. 2012-01-06 21:47:49 +00:00
go-typedesc-equal.c
go-typestring.c
go-unsafe-new.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-unsafe-newarray.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
go-unsafe-pointer.c Update to current version of Go library (revision 94d654be2064). 2011-03-16 23:05:44 +00:00
go-unwind.c runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
goc2c.c libgo: Update to weekly.2011-12-22. 2012-01-13 05:11:45 +00:00
iface.goc runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
interface.h
lock_futex.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
lock_sema.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
malloc.goc runtime: Ignore stack sizes when deciding when to GC. 2012-04-20 04:58:26 +00:00
malloc.h libgo: Update to weekly.2012-02-22 release. 2012-03-02 20:01:37 +00:00
map.goc runtime: Copy runtime_panicstring from master library. 2011-11-30 00:21:52 +00:00
map.h Use backend interface for map descriptors. 2011-06-11 06:21:55 +00:00
mcache.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
mcentral.c runtime: New lock/note implementation. 2011-11-22 20:24:44 +00:00
mem_posix_memalign.c runtime: RTEMS build fixes. 2011-12-13 21:59:26 +00:00
mem.c runtime: Add type casts to fix Solaris build. 2012-03-02 20:48:21 +00:00
mfinal.c runtime: Multiplex goroutines onto OS threads. 2011-11-28 05:45:49 +00:00
mfixalloc.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
mgc0.c runtime: Ignore stack sizes when deciding when to GC. 2012-04-20 04:58:26 +00:00
mheap.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
mprof.goc libgo: Implement and use runtime.Caller, runtime.Func.FileLine. 2012-03-07 01:16:20 +00:00
msize.c Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
proc.c runtime: Ignore stack sizes when deciding when to GC. 2012-04-20 04:58:26 +00:00
reflect.goc libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
rtems-task-variable-add.c
runtime1.goc libgo: Update to weekly.2012-01-15. 2012-01-25 20:56:26 +00:00
runtime.c libgo: Update to weekly.2012-03-22. 2012-03-30 22:09:55 +00:00
runtime.h runtime: Ignore stack sizes when deciding when to GC. 2012-04-20 04:58:26 +00:00
sema.goc libgo: Update to weekly.2012-02-22 release. 2012-03-02 20:01:37 +00:00
signal_unix.c libgo: Update to weekly.2012-02-14 release. 2012-03-02 16:38:43 +00:00
sigqueue.goc libgo: Update to weekly.2012-02-22 release. 2012-03-02 20:01:37 +00:00
string.goc libgo: Update to weekly.2011-12-22. 2012-01-13 05:11:45 +00:00
thread-linux.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
thread-sema.c libgo: Fix merge errors shown on Solaris. 2012-01-27 22:34:53 +00:00
thread.c libgo: Update to weekly.2012-03-04 release. 2012-03-06 17:57:23 +00:00
time.goc libgo: Update to weekly.2011-12-02. 2011-12-13 19:16:27 +00:00
yield.c libgo/runtime: Don't define _GNU_SOURCE in source code. 2011-12-20 18:49:40 +00:00