gcc/gcc/go
Ian Lance Taylor 46f7b80ec4 compiler: let initializers hold addresses of fields
The runtime.dbgvars initializer looks like
    
    var dbgvars = []dbgVar{
            {"allocfreetrace", &debug.allocfreetrace},
    }
    
    Because the field address was not recognized as valid for a static
    initializer, the variable was initialized at runtime.  Normally that
    would be fine, but for the runtime package it meant that dbgvars was
    not initialized when it was read by parsedebugvars.  That meant that
    the GODEBUG environment variable did nothing.
    
    Fixing that revealed that the static initializer checks had to be more
    careful about interface types, just like the existing is_constant
    methods.
    
    Reviewed-on: https://go-review.googlesource.com/35891

From-SVN: r244982
2017-01-27 15:08:23 +00:00
..
gofrontend compiler: let initializers hold addresses of fields 2017-01-27 15:08:23 +00:00
ChangeLog compiler: add containing Bfunction to conditional_expression 2017-01-11 18:15:16 +00:00
Make-lang.in Update copyright years. 2017-01-01 13:07:43 +01:00
README.gcc
config-lang.in Update copyright years. 2017-01-01 13:07:43 +01:00
gccgo.texi gcc.c (process_command): Update copyright notice dates. 2017-01-01 12:31:28 +01:00
go-backend.c Update copyright years. 2017-01-01 13:07:43 +01:00
go-c.h Update copyright years. 2017-01-01 13:07:43 +01:00
go-gcc-diagnostics.cc Update copyright years. 2017-01-01 13:07:43 +01:00
go-gcc.cc compiler: add containing Bfunction to conditional_expression 2017-01-11 18:15:16 +00:00
go-gcc.h Update copyright years. 2017-01-01 13:07:43 +01:00
go-lang.c Update copyright years. 2017-01-01 13:07:43 +01:00
go-linemap.cc compiler: move Backend/Linemap creation out of front end. 2016-10-11 00:11:43 +00:00
go-location.h compiler: better abstraction layer for diagnostics. 2016-09-23 19:36:45 +00:00
go-sha1.cc Update copyright years. 2017-01-01 13:07:43 +01:00
go-system.h Update copyright years. 2017-01-01 13:07:43 +01:00
gospec.c Update copyright years. 2017-01-01 13:07:43 +01:00
lang-specs.h Update copyright years. 2017-01-01 13:07:43 +01:00
lang.opt Update copyright years. 2017-01-01 13:07:43 +01:00

README.gcc

The files in the gofrontend subdirectory are mirrored from the
gofrontend project hosted at http://code.google.com/p/gofrontend.
These files are the ones in the go subdirectory of that project.