X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gcc%2Fgo%2FChangeLog;h=61739cea4f2202d9fa5c1cc63892d7606616ce88;hb=20f36478dcf5ffd0d6816a3fd0e9753e6571d8fc;hp=db0fdb31b9b3a4e9b2dff4c3a1ae32a76607dc43;hpb=e79983f458034c3061645a4c4ff83c9c4d9019b9;p=gcc.git diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index db0fdb31b9b..61739cea4f2 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,12 +1,232 @@ -2011-10-11 Michael Meissner - - * gofrontend/gogo-tree.cc (define_builtin): Delete old interface - with two parallel arrays to hold standard builtin declarations, - and replace it with a function based interface that can support - creating builtins on the fly in the future. Change all uses, and - poison the old names. Make sure 0 is not a legitimate builtin - index. - (Gogo::make_trampoline(tree): Ditto. +2013-01-16 Shenghou Ma + + * gospec.c: pass -u pthread_create to linker when static linking. + +2012-12-21 Ian Lance Taylor + + PR bootstrap/54659 + * go-system.h: Don't include . + +2012-12-18 Ian Lance Taylor + + PR go/55201 + * gospec.c: Revert last patch. + +2012-12-18 Andreas Schwab + + PR go/55201 + * gospec.c (LIBATOMIC): Define. + (LIBATOMIC_PROFILE): Define. + (lang_specific_driver): Add LIBATOMIC[_PROFILE] option. + +2012-11-29 Ian Lance Taylor + + * go-gcc.cc: Include "output.h". + (global_variable): Add is_unique_section parameter. + (global_variable_set_init): Adjust unique section if necessary. + * Make-lang.in (go/go-gcc.o): Add dependency on output.h. + +2012-11-17 Diego Novillo + + Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec) + + * go-lang.c: Use new vec API in vec.h. + +2012-11-16 Ian Lance Taylor + + * Make-lang.in (gccgo$(exeext)): Add + at start of command. + (go1$(exeext)): Likewise. + +2012-10-30 Ian Lance Taylor + + * lang.opt (-fgo-relative-import-path): New option. + * go-lang.c (go_relative_import_path): New static variable. + (go_langhook_init): Pass go_relative_import_path to + go_create_gogo. + (go_langhook_handle_option): Handle -fgo-relative-import-path. + * go-c.h (go_create_gogo): Update declaration. + * gccgo.texi (Invoking gccgo): Document + -fgo-relative-import-path. + +2012-09-17 Ian Lance Taylor + + * config-lang.in (target_libs): Add target-libbacktrace. + +2012-09-16 Ian Lance Taylor + + * Make-lang.in (go/gogo.o): Depend on filenames.h. + +2012-08-14 Diego Novillo + + Merge from cxx-conversion branch. Configury. + + * go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX. + * go-gcc.cc: Likewise. + * go-system.h: Likewise. + +2012-07-24 Uros Bizjak + + * go-lang.c (lang_decl): Add variable_size GTY option. + +2012-05-09 Ian Lance Taylor + + * lang.opt: Add -fgo-pkgpath. + * go-lang.c (go_pkgpath): New static variable. + (go_prefix): New static variable. + (go_langhook_init): Pass go_pkgpath and go_prefix to + go_create_gogo. + (go_langhook_handle_option): Handle -fgo-pkgpath. Change + -fgo-prefix handling to just set go_prefix. + * go-c.h (go_set_prefix): Don't declare. + (go_create_gogo): Add pkgpath and prefix to declaration. + * go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix + to pkgpath. Don't include the package name in the asm name. + * gccgo.texi (Invoking gccgo): Document -fgo-pkgpath. Update the + docs for -fgo-prefix. + +2012-04-23 Ian Lance Taylor + + * go-lang.c (go_langhook_init): Set MPFR precision to 256. + +2012-04-20 Ian Lance Taylor + + * lang.opt: Add -fgo-check-divide-zero and + -fgo-check-divide-overflow. + * gccgo.texi (Invoking gccgo): Document new options. + +2012-04-18 Steven Bosscher + + * go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR + with NULL_TREE type instead of void_type_node. + +2012-03-09 Ian Lance Taylor + + * go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs + to the lhs type if necessary. + +2012-03-08 Ian Lance Taylor + + * go-gcc.cc (Gcc_backend::init_statement): Don't initialize a + zero-sized variable. + (go_non_zero_struct): New global variable. + (Gcc_backend::non_zero_size_type): New function. + (Gcc_backend::global_variable): Don't build an assignment for a + zero-sized value. + * go-c.h (go_non_zero_struct): Declare. + * config-lang.in (gtfiles): Add go-c.h. + +2012-02-29 Ian Lance Taylor + + * go-gcc.cc (class Gcc_tree): Add set_tree method. + (set_placeholder_pointer_type): When setting to a pointer to + error, set to error_mark_node. + +2012-02-23 Richard Guenther + + * go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use + build_distinct_type_copy. + +2012-02-17 Ian Lance Taylor + + * Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H). + +2012-02-17 Ian Lance Taylor + + * gospec.c (lang_specific_driver): If linking, and no -o option + was used, add one. + +2012-02-14 Ian Lance Taylor + + PR go/48411 + * Make-lang.in (gccgo-cross$(exeext)): New target. + (go.all.cross): Depend on gccgo-cross$(exeext) instead of + gccgo$(exeext). + (go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if + gccgo-cross$(exeext) does not exist. + +2012-02-07 Ian Lance Taylor + + * gccgo.texi (Function Names): Document //extern instead of + __asm__. + +2012-02-01 Jakub Jelinek + + PR target/52079 + * go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI + return build_nonstandard_integer_type result if possible. + +2012-01-21 Ian Lance Taylor + + * go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node. + (Gcc_backend::type_alignment): Likewise. + (Gcc_backend::type_field_alignment): Likewise. + (Gcc_backend::type_field_offset): Likewise. + +2012-01-20 Ian Lance Taylor + + * go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to + be empty. + (Gcc_backend::set_placeholder_struct_type): Likewise. + +2012-01-17 Ian Lance Taylor + + * gospec.c (lang_specific_driver): If we see -S without -o, add -o + BASE.s rather than -o BASE.o. + +2012-01-11 Ian Lance Taylor + + * go-lang.c (go_langhook_init): Initialize void_list_node before + calling go_create_gogo. + +2012-01-10 Ian Lance Taylor + + * go-gcc.cc (Gcc_backend::type_size): New function. + (Gcc_backend::type_alignment): New function. + (Gcc_backend::type_field_alignment): New function. + (Gcc_backend::type_field_offset): New function. + * go-backend.c (go_type_alignment): Remove. + * go-c.h (go_type_alignment): Don't declare. + +2011-12-27 Ian Lance Taylor + + * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use + build_distinct_type_copy rather than build_variant_type_copy. + (Gcc_backend::set_placeholder_array_type): Likewise. + (Gcc_backend::named_type): Add special handling for builtin + basic types. + +2011-12-22 Ian Lance Taylor + + * go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange + for the type name to have a DECL_ORIGINAL_TYPE as gcc expects. + (Gcc_backend::set_placeholder_struct_type): Likewise. + (Gcc_backend::set_placeholder_array_type): Likewise. + (Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE. + +2011-12-13 Ian Lance Taylor + + * go-backend.c: #include "simple-object.h" and "intl.h". + (GO_EXPORT_SEGMENT_NAME): Define if not defined. + (GO_EXPORT_SECTION_NAME): Likewise. + (go_write_export_data): Use GO_EXPORT_SECTION_NAME. + (go_read_export_data): New function. + * go-c.h (go_read_export_data): Declare. + +2011-11-29 Sanjoy Das + Ian Lance Taylor + + * go-location.h: New file. + * go-linemap.cc: New file. + * go-gcc.cc: Change all uses of source_location to Location. + * Make-lang.in (GO_OBJS): Add go/go-linemap.o. + (GO_LINEMAP_H): New variable. + (GO_LEX_H): Use $(GO_LINEMAP_H). + (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise. + (go/go-linemap.o): New target. + +2011-11-02 Rainer Orth + + * Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK. 2011-08-24 Roberto Lublinerman