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


> 	AIX bootstrap is completely broken with this patch.  The original
> patch had an output format of "%u" and an argument of (int)(SIZE), which
> is completely broken.  I tried changing all of those to

This is what orignal code did.  It should work for possitive signed
values as both int and unsigned int are the same size.  For 64bit
targets we should use HOST_WIDE_INT_PRINT_UNSIGNED tought.

I was debugging the problems on mips and the
situation there is undeflow caused by unsignetizing in output_constant.
To get alignements right, output_constant sometimes output more than the
size of the constant.  The attached patch should fix it.  I will install
it as obvious assuming it passes bootstrap/regtesting.

Does this by any chance fix your (and the HP-UX) problems?

Honza


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