This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/52783] New: Go front end emits assembly


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52783

             Bug #: 52783
           Summary: Go front end emits assembly
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: steven@gcc.gnu.org


The Go front end currently emits data to the .go_export section via
assemble_string(), see gcc/go/go-backend.c:go_write_export_data().

The proper thing to do, is to construct an initializer and use
gcc/varasm.c:tree_output_constant_def() but this is not possible with the
current infrastructure because there is no way to tell
tree_output_constant_def() to put the data in a named section.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]