Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-04-23 | Define go_unreachable to replace gcc_unreachable. | Ian Lance Taylor | 1 | -8/+8 | |
From Evan Shaw. From-SVN: r172882 | |||||
2011-04-21 | Define go_assert to replace gcc_assert | Ian Lance Taylor | 1 | -44/+44 | |
This is defined in go-system.h in the backend. * go-system.h (go_assert, go_unreachable): Define. From-SVN: r172846 | |||||
2011-04-04 | Use backend interface for return statements. | Ian Lance Taylor | 1 | -4/+1 | |
* go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h". (class Bfunction): Define. (Gcc_backend::assignment_statement): Rename from assignment. Check for errors. (Gcc_backend::return_statement): New function. (tree_to_function): New function. * Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h, $(GIMPLE_H), and $(GO_GOGO_H). From-SVN: r171959 | |||||
2011-03-29 | Fix select setting a map expression. | Ian Lance Taylor | 1 | -24/+26 | |
Also fix select parsing when declaring a variable with no statements. From-SVN: r171690 | |||||
2011-03-28 | Better error message for invalid variable name in switch statement. | Ian Lance Taylor | 1 | -0/+13 | |
From-SVN: r171639 | |||||
2011-03-28 | Better error message for missing condition in if statement. | Ian Lance Taylor | 1 | -0/+6 | |
From-SVN: r171638 | |||||
2011-03-28 | Better error message for old syntax of send expression as value. | Ian Lance Taylor | 1 | -18/+71 | |
From-SVN: r171637 | |||||
2011-03-28 | Better error messages for missing channel element type. | Ian Lance Taylor | 1 | -0/+17 | |
From-SVN: r171634 | |||||
2011-03-26 | Check for invalid uses of ... in builtin function calls. | Ian Lance Taylor | 1 | -0/+6 | |
From-SVN: r171544 | |||||
2011-03-26 | Correctly parse select case <-c <- v. | Ian Lance Taylor | 1 | -4/+12 | |
From-SVN: r171540 | |||||
2011-03-25 | Give an error if a label is defined but not used. | Ian Lance Taylor | 1 | -15/+29 | |
From-SVN: r171518 | |||||
2011-03-25 | Remove closed function. Fix tuple receive in select. | Ian Lance Taylor | 1 | -0/+2 | |
From-SVN: r171440 | |||||
2011-03-24 | Tuple receives indicate whether channel is closed. | Ian Lance Taylor | 1 | -38/+138 | |
From-SVN: r171380 | |||||
2011-03-24 | Condition in if statement is not optional. | Ian Lance Taylor | 1 | -4/+2 | |
From-SVN: r171377 | |||||
2011-03-24 | Change c <- v from an expression to a statement. | Ian Lance Taylor | 1 | -22/+31 | |
Don't do anything special if we don't use the value of <-c. Fix sending an untyped constant in a select statement. From-SVN: r171371 | |||||
2011-03-03 | Don't crash declaring a function named "_". | Ian Lance Taylor | 1 | -5/+8 | |
From-SVN: r170636 | |||||
2011-02-24 | Traverse erroneous send/receive statements. | Ian Lance Taylor | 1 | -0/+6 | |
From-SVN: r170473 | |||||
2011-02-22 | Don't crash on erroneous type switch. | Ian Lance Taylor | 1 | -4/+7 | |
From-SVN: r170386 | |||||
2011-02-19 | Fix struct with array of struct with field that points to first struct. | Ian Lance Taylor | 1 | -0/+2 | |
Don't crash converting an untyped complex constant to an integer type. Don't crash on unsafe.Sizeof of erroneous type. Don't crash on method expression of erroneous type. Don't crash when sink and global var are initialized from type guard. Don't crash initializing erroneous slice. Don't crash on erroneous method of type seen before definition. From-SVN: r170301 | |||||
2011-02-10 | Don't crash on redefined variable. | Ian Lance Taylor | 1 | -1/+7 | |
From-SVN: r170029 | |||||
2011-01-19 | Generate an init function if any global variable needs a preinit. | Ian Lance Taylor | 1 | -9/+9 | |
From-SVN: r169023 | |||||
2011-01-04 | Don't look outside of function literal for break or continue label. | Ian Lance Taylor | 1 | -12/+30 | |
From-SVN: r168486 | |||||
2011-01-04 | Don't crash if tuple init redefines non-variable. | Ian Lance Taylor | 1 | -6/+24 | |
From-SVN: r168484 | |||||
2011-01-04 | Check for multiple default cases in switch or select. | Ian Lance Taylor | 1 | -6/+36 | |
From-SVN: r168481 | |||||
2010-12-22 | Correctly handle tuple assignment to _ at global scope. | Ian Lance Taylor | 1 | -14/+45 | |
From-SVN: r168184 | |||||
2010-12-15 | Tweak handling of invalid function signature for function literal. | Ian Lance Taylor | 1 | -4/+1 | |
From-SVN: r167879 | |||||
2010-12-15 | Add statements to type switch even if there are no valid types. | Ian Lance Taylor | 1 | -0/+2 | |
From-SVN: r167874 | |||||
2010-12-14 | Don't crash on invalid parameters/results. | Ian Lance Taylor | 1 | -23/+78 | |
From-SVN: r167820 | |||||
2010-12-14 | Don't incorrectly parse expression as type switch. | Ian Lance Taylor | 1 | -6/+11 | |
Improve error reporting of invalid type assertions. From-SVN: r167787 | |||||
2010-12-03 | Add Go frontend, libgo library, and Go testsuite. | Ian Lance Taylor | 1 | -0/+4730 | |
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 |