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: [ping] [4.5/m32c] libstdc++ build crashes emitting debug_info


> The sizetype operand should always be sign-extended even if it is
> unsigned.

Really?  How do you do foo[-1] then?

Remember - this is a problem *because* sizetype is smaller than a
pointer, so it matters which way you extend.  You can't rely on
type-wrapping to make large unsigned constants work as negatives.


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