This is the mail archive of the gcc@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: question about ashlqi3 pattern


When I rebuilt GCC and tried with the following test case, *does not* giving me an *rtl with byte* (QI) shift operation.

Note: I do not have PROMOTE_MODE macro. It is undefined.

char a, b ;
void fn1 () { a = b << 1 ; }


Try with "unsigned char a, b;"


Uros.


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