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: Fix dealing with large (>2GB) static data initalizers


 > > As a general comment on this patch, the move to ISO C90 means that you can 
 > > now use string concatenation with HOST_WIDE_INT_PRINT_DEC: you don't need 
 > > to split up the printfs.
 > 
 > This is cool, I forgot about that.  I can send updated patch once we
 > settle down on the other issue.

Yes please do fix this.  These split printfs are one of the few K&R
turds whose elimination will actually improve code size and speed by
re-folding the multiple calls back into one.  I plan to get rid of as
many as possible once we start seriously eliminating K&R compat.  So
please don't add more. :-)

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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