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: [RFT] PR19154: New AVR bit extraction patter


I'm testing Rogers patch usig Paul's code.

Mind gone blank -what are the "C" default promotion rules as used by gcc when extending an "UNSIGNED char" into a calculation whose result will be signed int?

like:

unsigned char c;

int i = (c&8) !=0;




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