Age | Commit message (Collapse) | Author | Files | Lines |
|
interface
From-SVN: r179820
|
|
From-SVN: r179529
|
|
From-SVN: r179211
|
|
Better parsing of erroneous non-type in type switch.
From-SVN: r179133
|
|
From-SVN: r179060
|
|
Fix shift of floating point constant to generate constant.
From-SVN: r179057
|
|
From-SVN: r179054
|
|
From-SVN: r179025
|
|
Avoid emitting some followon errors.
From-SVN: r179020
|
|
From-SVN: r179018
|
|
From-SVN: r179010
|
|
From-SVN: r179008
|
|
From-SVN: r178989
|
|
From-SVN: r178921
|
|
From-SVN: r178905
|
|
From-SVN: r178870
|
|
From-SVN: r178859
|
|
From-SVN: r178835
|
|
From-SVN: r178827
|
|
From-SVN: r178818
|
|
From-SVN: r178747
|
|
From-SVN: r178264
|
|
From-SVN: r178263
|
|
From-SVN: r178091
|
|
gccgo: fixes to ast-dump, refactoring of export and ast-dump
to implement a common interface for writing basic
type literals and added flags for optimization.
* lang.opt: Add fgo-optimize-.
* go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize.
* go-c.h (go_enable_optimize): Declare.
* Make-lang.in (GO_OBJS): Add go/go-optimize.o.
(GO_EXPORT_H): Define.
(GO_IMPORT_H): Add $(GO_EXPORT_H).
(GO_AST_DUMP_H): Define.
(go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H.
(go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H.
(go/types.o): Likewise.
(go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H.
(go/go-optimize.o): New target.
From-SVN: r178046
|
|
linemap_position_for_column...
LINEMAP_POSITION_FOR_COLUMN had the exact same effect as
linemap_position_for_column, removed it and updated users
to use linemap_position_for_column instead
libcpp/ChangeLog
* include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Remove.
Update all users to use linemap_position_for_column instead.
gcc/go/ChangeLog
* gofrontend/lex.cc (Lex::location): Update to use
linemap_position_for_column instead.
(Lex::earlier_location): Likewise.
From-SVN: r177768
|
|
variable does not produce an error)
PR go/49889
gccgo : Fixed bug 49889.
Now the compiler emits a proper error when a function
called in a tuple assignment statement can not be
typed as a function.
From-SVN: r177310
|
|
gccgo: Added code to dump the AST tree. The AST dump is
activated with -fgo-dump-ast.
Initial version, it only dumps (most) constructs that
are expected after the lowering transformation.
* Make-lang.in (GO_OBJS): Add go/ast-dump.o.
(go/ast-dump.o): New target.
(go/expressions.o): Depend on go/gofrontend/ast-dump.h.
(go/statements.o): Likewise.
From-SVN: r177225
|
|
From-SVN: r176998
|
|
BUILT_IN_ADD_AND_FETCH to BUILT_IN_SYNC_ADD_AND_FETCH.
* gogo-tree.cc (Gogo::define_builtin_function_trees): Change
BUILT_IN_ADD_AND_FETCH to BUILT_IN_SYNC_ADD_AND_FETCH.
From-SVN: r175278
|
|
Use kindNoPointers as 6g does.
* Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
From-SVN: r175008
|
|
From-SVN: r174943
|
|
* go-gcc.cc: Include "toplev.h".
(Gcc_backend::immutable_struct): New function.
(Gcc_backend::immutable_struct_set_init): New function.
(Gcc_backend::immutable_struct_reference): New function.
* Make-lang.in (go/go-gcc.o): Depend on toplev.h.
From-SVN: r174941
|
|
* go-gcc.cc (Gcc_backend::zero_expression): New function.
From-SVN: r174863
|
|
From-SVN: r174814
|
|
From-SVN: r174662
|
|
Merge trunk into branch, part one.
[[Split portion of a mixed commit.]]
From-SVN: r174658.2
|
|
* go-backend.c: Include "output.h".
(go_write_export_data): New function.
* go-c.h (go_write_export_data): Declare.
* Make-lang.in (go/go-backend.o): Depend on output.h.
(go/export.o): Depend on $(GO_C_H). Do not depend on
$(MACHMODE_H), output.h, or $(TARGET_H).
From-SVN: r174366
|
|
From-SVN: r173931
|
|
* go-gcc.cc (Gcc_backend::function_type): When building a struct
for multiple results, check that all fields types have a size.
(Gcc_backend::placeholder_pointer_type): Permit name to be empty.
From-SVN: r173742
|
|
* go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
parameter.
(Gcc_backend::parameter_variable): Likewise.
From-SVN: r173712
|
|
From-SVN: r173672
|
|
From-SVN: r173671
|
|
From-SVN: r173520
|
|
From-SVN: r173507
|
|
From-SVN: r173502
|
|
From-SVN: r173469
|
|
From-SVN: r173415
|
|
* go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
(Gcc_backend::fill_in_struct): New function.
(Gcc_backend::array_type): Implement.
(Gcc_backend::fill_in_array): New function.
(Gcc_backend::placeholder_pointer_type): New function.
(Gcc_backend::set_placeholder_pointer_type): New function.
(Gcc_backend::set_placeholder_function_type): New function.
(Gcc_backend::placeholder_struct_type): New function.
(Gcc_backend::set_placeholder_struct_type): New function.
(Gcc_backend::placeholder_array_type): New function.
(Gcc_backend::set_placeholder_array_type): New function.
(Gcc_backend::named_type): New function.
(Gcc_backend::circular_pointer_type): New function.
(Gcc_backend::is_circular_pointer_type): New function.
From-SVN: r173380
|
|
* go-gcc.cc (Gcc_backend::struct_type): Implement.
From-SVN: r173004
|