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]

Re: 32->64 bit cross compilers


> I'm not really sure we'd end up generating bad code.  I don't recall
> having seen any situation in which we'd generate bad code because of
> missing sign-extension in CONST_INTs, but it may be that I just didn't
> search enough.  But NOT installing the strict checking patches in the
> branch will certainly reduce the overall risk.

I do remember having seen such cases, but they are extremely rare.
Strength reduction failures happen more often.

OTOH, occurences of constants that are not sign-extended according to the
new rules are quite common.  In particular in small modes, like 8 and 16 bit.


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