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: [PATCH] Fix wrong common symbol size in LTO symtabs.


On 09/11/2010 21:57, Richard Henderson wrote:
> On 11/09/2010 02:17 PM, Dave Korn wrote:
>>   I can't just replace the "<< 32" with "<< sizeof HWI"?
> 
> No, because if HWI = int64_t, you'll be shifting larger
> than the integer size.

  But the LHS is already being cast to uint_64_t before the shift is applied,
unless my eyes have misread the bracket nesting.  I thought it's only wrong to
shift larger than the LHS size, or is there some portability issue with that?

    cheers,
      DaveK


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