[PowerPC] -msdata=data needless use of .sbss section
Alan Modra
amodra@bigpond.net.au
Thu Oct 20 23:04:00 GMT 2005
On Thu, Oct 20, 2005 at 12:28:38PM -0400, David Edelsohn wrote:
> Why not call rs6000_elf_in_small_data_p() in the macro?
I looked at doing that, and couldn't convince myself that the size
calculated by rs6000_elf_in_small_data_p would always be the same
as that calculated by assemble_variable. The former uses
int_size_in_bytes (TREE_TYPE (decl))
the latter,
tree_low_cst (DECL_SIZE_UNIT (decl), 1)
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Gcc-patches
mailing list