This is the mail archive of the gcc-patches@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]

Re: [PowerPC] -msdata=data needless use of .sbss section


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


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