Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix defer when not calling recover in function with named results. | Ian Lance Taylor | 2011-09-16 | 4 | -6/+27 |
| | | | | From-SVN: r178905 | ||||
* | libgo/runtime: Change std::abort to abort. | Ian Lance Taylor | 2011-07-11 | 1 | -1/+1 |
| | | | | From-SVN: r176181 | ||||
* | Change builtin make to runtime call at lowering time. | Ian Lance Taylor | 2011-06-14 | 1 | -0/+57 |
| | | | | | | | | Use kindNoPointers as 6g does. * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H). From-SVN: r175020 | ||||
* | Change builtin make to runtime call at lowering time. | Ian Lance Taylor | 2011-06-14 | 6 | -9/+21 |
| | | | | | | | | Use kindNoPointers as 6g does. * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H). From-SVN: r175008 | ||||
* | Use backend interface for map descriptors. | Ian Lance Taylor | 2011-06-11 | 3 | -6/+6 |
| | | | | From-SVN: r174943 | ||||
* | libgo: Make os.setenv_c work on systems without setenv. | Ian Lance Taylor | 2011-05-24 | 1 | -4/+20 |
| | | | | From-SVN: r174147 | ||||
* | Update to current version of Go library. | Ian Lance Taylor | 2011-05-20 | 32 | -143/+458 |
| | | | | From-SVN: r173931 | ||||
* | More uses of backend interface for types. | Ian Lance Taylor | 2011-05-06 | 6 | -12/+16 |
| | | | | From-SVN: r173507 | ||||
* | libgo: Fix append declaration. | Ian Lance Taylor | 2011-04-18 | 1 | -1/+1 |
| | | | | | | From Rainer Orth. From-SVN: r172659 | ||||
* | Unify handling of runtime support functions. | Ian Lance Taylor | 2011-04-13 | 15 | -68/+75 |
| | | | | | | | | | This introduces the new approach, and rewrites the lowering code which uses runtime functions. The code which calls runtime functions at GENERIC conversion time is not yet rewritten. From-SVN: r172396 | ||||
* | libgo: Use MAP_FIXED if necessary to grab arena. | Ian Lance Taylor | 2011-04-05 | 1 | -0/+23 |
| | | | | | | | | | | | | | | From Rainer Orth. PR go/48240 * configure.ac: Check for mincore. * configure: Regenerate. * config.h.in: Regenerate. * runtime/mem.c: Include unistd.h. (addrspace_free): New function. (runtime_SysMap): Retry 64-bit runtime_mmap with MAP_FIXED. From-SVN: r171961 | ||||
* | libgo: Always initialize semaphores. | Rainer Orth | 2011-04-04 | 4 | -0/+14 |
| | | | | | | | | | | | | | 2011-04-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR go/48222 * runtime/malloc.goc (runtime_mallocinit): Call runtime_Mprof_Init, runtime_initfintab. * runtime/cpuprof.c (runtime_cpuprofinit): New function. * runtime/runtime.h (runtime_cpuprofinit): Declare it. * runtime/go-main.c (main): Use it. From-SVN: r171960 | ||||
* | Add runtime profiling infrastructure, not yet working. | Ian Lance Taylor | 2011-03-27 | 6 | -38/+582 |
| | | | | From-SVN: r171579 | ||||
* | Remove closedchan function. | Ian Lance Taylor | 2011-03-27 | 1 | -11/+0 |
| | | | | From-SVN: r171577 | ||||
* | Remove closed function. Fix tuple receive in select. | Ian Lance Taylor | 2011-03-25 | 6 | -41/+23 |
| | | | | From-SVN: r171440 | ||||
* | Update to current version of Go library. | Ian Lance Taylor | 2011-03-24 | 6 | -26/+51 |
| | | | | From-SVN: r171427 | ||||
* | Tuple receives indicate whether channel is closed. | Ian Lance Taylor | 2011-03-24 | 4 | -15/+30 |
| | | | | From-SVN: r171380 | ||||
* | Send on a closed channel panics. | Ian Lance Taylor | 2011-03-23 | 9 | -66/+32 |
| | | | | | | | Calling close on a closed channel panics. Don't limit number of receives on a closed channel. From-SVN: r171364 | ||||
* | Don't catch LIBPROF in Go code. | Ian Lance Taylor | 2011-03-16 | 1 | -3/+0 |
| | | | | From-SVN: r171077 | ||||
* | Update to current version of Go library (revision 94d654be2064). | Ian Lance Taylor | 2011-03-16 | 26 | -678/+982 |
| | | | | From-SVN: r171076 | ||||
* | re PR go/48019 (Need to handle EINTR in libgo testsuite) | Ian Lance Taylor | 2011-03-09 | 1 | -2/+7 |
| | | | | | | | PR go/48019 Ignore EINTR in runtime_lock_full. From-SVN: r170810 | ||||
* | re PR go/47910 (typo in __go_map_next_prime) | Ian Lance Taylor | 2011-03-09 | 1 | -1/+1 |
| | | | | | | | PR go/47910 Correct search for next prime in libgo map code. From-SVN: r170808 | ||||
* | Permit garbage collection on any compiler generated memory allocation. | Ian Lance Taylor | 2011-03-07 | 1 | -1/+1 |
| | | | | From-SVN: r170760 | ||||
* | Avoid race condition manipulating heap when goroutine exits. | Ian Lance Taylor | 2011-03-07 | 1 | -8/+15 |
| | | | | From-SVN: r170758 | ||||
* | Permit comparing non-empty interfaces with empty interfaces. | Ian Lance Taylor | 2011-02-22 | 1 | -0/+32 |
| | | | | From-SVN: r170385 | ||||
* | Implement __sync_fetch_and_add_4 if necessary. | Ian Lance Taylor | 2011-02-04 | 1 | -0/+32 |
| | | | | From-SVN: r169820 | ||||
* | Check whether we are using setjmp/longjmp exceptions. | Ian Lance Taylor | 2011-02-03 | 1 | -1/+1 |
| | | | | From-SVN: r169777 | ||||
* | Test whether libgcc or kernel defines __sync_bool_compare_and_swap_4. | Ian Lance Taylor | 2011-02-01 | 1 | -1/+1 |
| | | | | From-SVN: r169504 | ||||
* | Add __sync_bool_compare_and_swap_4 for targets which don't have it. | Ian Lance Taylor | 2011-02-01 | 1 | -0/+36 |
| | | | | From-SVN: r169502 | ||||
* | re PR go/47515 (Issues porting libgo to IRIX 6.5) | Ian Lance Taylor | 2011-01-29 | 2 | -1/+30 |
| | | | | | | | PR go/47515 runtime: If no MAP_ANON, use /dev/zero. From-SVN: r169388 | ||||
* | Avoid crash when M structure free just before thread exit. | Ian Lance Taylor | 2011-01-22 | 2 | -6/+17 |
| | | | | From-SVN: r169121 | ||||
* | libgo: Adjust deadlock avoidance. | Ian Lance Taylor | 2011-01-22 | 1 | -9/+9 |
| | | | | From-SVN: r169120 | ||||
* | Avoid deadlock creating new thread. | Ian Lance Taylor | 2011-01-22 | 1 | -0/+8 |
| | | | | From-SVN: r169114 | ||||
* | Avoid deadlock when finalizer lock is held during gc. | Ian Lance Taylor | 2011-01-21 | 3 | -2/+41 |
| | | | | From-SVN: r169112 | ||||
* | Remove the types float and complex. | Ian Lance Taylor | 2011-01-21 | 7 | -45/+48 |
| | | | | | | | | | | | | Update to current version of Go library. Update testsuite for removed types. * go-lang.c (go_langhook_init): Omit float_type_size when calling go_create_gogo. * go-c.h: Update declaration of go_create_gogo. From-SVN: r169098 | ||||
* | Add file missed in previous commit. | Ian Lance Taylor | 2011-01-11 | 1 | -0/+42 |
| | | | | From-SVN: r168684 | ||||
* | re PR go/46959 (M68K Not Supported by Go) | Ian Lance Taylor | 2011-01-05 | 1 | -17/+2 |
| | | | | | | | | | | | | PR go/46959 PR go/46960 PR go/46961 PR go/46962 PR go/46963 PR go/46964 Use __builtin_unwind_init rather than the SAVE_REGS hack. From-SVN: r168500 | ||||
* | re PR go/46958 (ARM Go Does Not Compile (__builtin_return_address)) | Ian Lance Taylor | 2011-01-05 | 1 | -1/+1 |
| | | | | | | | | PR go/46958 PR go/46965 Call __builtin_return_address with 0 rather than 1. From-SVN: r168495 | ||||
* | Rework locking code to split stack much less. | Ian Lance Taylor | 2010-12-17 | 8 | -31/+83 |
| | | | | From-SVN: r167973 | ||||
* | Avoid always splitting the stack when calling append and copy. | Ian Lance Taylor | 2010-12-17 | 2 | -19/+45 |
| | | | | From-SVN: r167970 | ||||
* | Better error message if malloc gets a SIGSEGV. | Ian Lance Taylor | 2010-12-14 | 1 | -0/+6 |
| | | | | From-SVN: r167785 | ||||
* | Release cache while holding thread lock. | Ian Lance Taylor | 2010-12-14 | 1 | -5/+4 |
| | | | | | | Don't bother to hold thread lock while allocating cache. From-SVN: r167784 | ||||
* | Add Go frontend, libgo library, and Go testsuite. | Ian Lance Taylor | 2010-12-03 | 115 | -0/+12060 |
gcc/: * gcc.c (default_compilers): Add entry for ".go". * common.opt: Add -static-libgo as a driver option. * doc/install.texi (Configuration): Mention libgo as an option for --enable-shared. Mention go as an option for --enable-languages. * doc/invoke.texi (Overall Options): Mention .go as a file name suffix. Mention go as a -x option. * doc/frontends.texi (G++ and GCC): Mention Go as a supported language. * doc/sourcebuild.texi (Top Level): Mention libgo. * doc/standards.texi (Standards): Add section on Go language. Move references for other languages into their own section. * doc/contrib.texi (Contributors): Mention that I contributed the Go frontend. gcc/testsuite/: * lib/go.exp: New file. * lib/go-dg.exp: New file. * lib/go-torture.exp: New file. * lib/target-supports.exp (check_compile): Match // Go. From-SVN: r167407 |