This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/52783] New: Go front end emits assembly
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Mar 2012 21:10:55 +0000
- Subject: [Bug go/52783] New: Go front end emits assembly
- Auto-submitted: auto-generated
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.