summaryrefslogtreecommitdiffstats
path: root/gcc/go
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't crash on erroneous receiver or parameters.ian2010-12-141-8/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167812 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct handling of undefined name as key in map composite literal.ian2010-12-142-5/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167810 138bc75d-0d04-0410-961f-82ee72b054a4
* Insert semicolon at EOF if necessary.ian2010-12-141-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167809 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct protection against recursive types.ian2010-12-141-11/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167807 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't incorrectly parse expression as type switch.ian2010-12-143-17/+28
| | | | | | | Improve error reporting of invalid type assertions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167787 138bc75d-0d04-0410-961f-82ee72b054a4
* * gospec.c (lang_specific_driver): Add a -o option if not linkingian2010-12-132-0/+50
| | | | | | | and there is no -o option already. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167773 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoid some crashes on erroneous programs.ian2010-12-092-1/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167670 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't crash on erroneous result variable.ian2010-12-071-4/+8
| | | | | | | Fixes issue 1320. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167573 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/46805ian2010-12-072-0/+20
| | | | | | | | PR tree-optimization/46833 * go-lang.c (go_langhook_type_for_mode): Handle vector modes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167563 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/46789ian2010-12-074-14/+86
| | | | | | | | | | | | | | | | | | PR bootstrap/46812 * go-lang.c (go_char_p): Define type and vectors. (go_search_dirs): New static variable. (go_langhook_handle_option): Use version and version/machine directories for -L. (go_langhook_post_options): Add non-specific -L paths. * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and DEFAULT_TARGET_MACHINE when compiling. * gccgo.texi (Invoking gccgo): Only document -L for linking. (Import and Export): Don't mention -L for finding import files. libgo: Install .gox files in version and target specific directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167537 138bc75d-0d04-0410-961f-82ee72b054a4
* LICENSE: separate, change PATENTS text.ian2010-12-062-42/+49
| | | | | | | | | | Split patent grant clause out of LICENSE file and update text to be more like that used by WebM. These changes should make Go more acceptable to the Fedora project and they are acceptable to the FSF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167520 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/46776ian2010-12-046-44/+109
| | | | | | | | | | | | | | | * go-backend.c: New file. * go-c.h (go_type_alignment): Declare. (go_field_alignment, go_trampoline_info): Declare. * Make-lang.in (GO_OBJS): Add go/go-backend.o. (go/go-backend.o): New target. (go/go-lang.o): Make dependencies match source file. (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H). (go/gogo-tree.o): Don't depend on $(TM_H). Remove #include "tm.h" from gofrontend/*.cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167451 138bc75d-0d04-0410-961f-82ee72b054a4
* It's a contributor license agreement, not a copyright LA.ian2010-12-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167443 138bc75d-0d04-0410-961f-82ee72b054a4
* Typo.ian2010-12-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167440 138bc75d-0d04-0410-961f-82ee72b054a4
* Clarify copyright license agreement.ian2010-12-031-7/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167439 138bc75d-0d04-0410-961f-82ee72b054a4
* * config-lang.in (build_by_default): Set to no.ian2010-12-032-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167432 138bc75d-0d04-0410-961f-82ee72b054a4
* Add Go frontend, libgo library, and Go testsuite.ian2010-12-0337-0/+54325
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167407 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud