| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204559 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
-fisolate-erroneous-paths was turned on by an optimization option,
turn it off.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204459 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204034 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
| |
array conversions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203996 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203795 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203772 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* go-gcc.cc (Gcc_backend::address_expression): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203579 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203496 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
If an interface has hidden methods, we must make the interface
table comdat if it is for an unnamed type.
When we create a stub method for an unnamed type, don't make
it publically visible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203468 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* go-gcc.cc (Gcc_backend::function_code_expression): New
function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203467 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203455 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203454 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203452 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203450 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
* go-gcc.cc (Backend::error_function): New function.
(Backend::function): New function.
(Backend::make_function): New function.
(function_to_tree): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203403 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203402 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203338 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203337 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203332 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203331 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203292 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* go-gcc.cc (Backend::convert_expression): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203209 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
* go-gcc.cc: Include "real.h" and "realmpfr.h".
(Backend::integer_constant_expression): New function.
(Backend::float_constant_expression): New function.
(Backend::complex_constant_expression): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203127 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
* go-gcc.cc (Backend::error_expression): New function.
(Backend::var_expression): New function.
(Backend::indirect_expression): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203038 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203006 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(CFLAGS-go/gospec.o): New variable.
(GCCGO_OBJS): Update to use go/gospec.o.
(go_OBJS): Define.
(GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
(GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
(GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
(go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
(go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
(go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
(go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
(go/parse.o, go/runtime.o, go/statements.o, go/types.o)
(go/unsafe.o): Remove.
(CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
(go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202905 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to add -DENABLE_SHARED_LIBGCC.
(gcc.o): Don't use subshell.
gcc/c
* Make-lang.in (c/gccspec.o): Don't use subshell.
gcc/cp
* Make-lang.in (g++spec.o): Don't use subshell.
gcc/fortran
* Make-lang.in (gfortranspec.o): Don't use subshell.
gcc/go
* Make-lang.in (gospec.o): Don't use subshell.
gcc/java
* Make-lang.in (jvspec.o): Don't use subshell.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202897 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
Fixes https://code.google.com/p/go/issues/detail?id=6005.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202881 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
Test is bug479.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202751 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
Test case is fixedbugs/bug478.go in master testsuite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202726 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202723 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202717 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
Fixed https://code.google.com/p/go/issues/detail?id=5796. Official fixedbug will be added with change to gc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202239 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the compiler and runtime to not pass a closure
value as the last argument, but to instead pass it via
__go_set_closure and retrieve it via __go_get_closure. This
eliminates the need for function descriptor wrapper functions.
It will make it possible to retrieve the closure value in a
reflect.MakeFunc function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202233 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
the struct is not hidden.
(Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202065 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The panic in test/fixedbugs/bug461.go was caused by the fact that
reflect expects unexported fields in a struct to have a valid
package path. If a struct field is an embedded built-in type, it is
now given the package name of the currently compiling package, so it
remains unexported for purposes of reflect.
Fixed Issue 25.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201951 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
The panic in test/fixedbugs/bug454.go was caused by the generation of an unnecessary var reference when writing a range value into a sink. If the receiving variable is a sink, there's no need to dereference a possible NULL pointer.
Fixes Issue 24.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201815 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
Also change the "missing return" text and report it at the end
of the function, rather than the start, to match the gc
compiler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201579 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
compute_reloc_for_constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201535 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
resolve_unique_section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201446 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
This lets the linker GC them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201442 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
fields, recreate those fields with the first one with a non-zero
size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201222 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
(go_imported_unsafe): Don't call init_varasm_once.
* Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201176 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201171 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
This corrects the code that handles composite literals where
the key is a variable in an enclosing function. See bug475.go
in the testsuite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200990 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
Previously if a struct S contained an embedded field *T,
a method with receiver *T would not be promoted to a method
with value receiver S.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200493 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
The message should be similar to the one for "var x [...]T",
not to the message for []T(x...).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200490 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
In spec: A "fallthrough" statement may appear as the last
statement of all but the last clause of an expression switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200440 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200436 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200426 138bc75d-0d04-0410-961f-82ee72b054a4
|