On Tue, Jun 18, 2013 at 10:19 PM, Gary Funck wrote: > It seems that GUPC may be calling assemble_addr_to_section() too early and > that > some other method of locating the UPC shared data related initialization into > the UPC "upc_init_array" section needs to be implemented. Either that, > or something needs to be set in the function's tree node to indicate > that no further special handling is needed. Please advise.
The advice would have to be that the front end should not write out anything to the assembler file. Why not just emit the function as GIMPLE (even if your stmt_list is empty) and let your main() call it? Ciao! Steven