Messages in this thread |  | | | From | Oliver Neukum <> | | Subject | question oh macros and gcc's intelligence | | Date | Thu, 17 Mar 2011 08:48:57 +0100 |
| |
Hi,
if I write:
if (le16_to_cpu(p) == CONST) a(); is gcc smart enough to convert CONST to le16 and do a simple comparison?
Regards Oliver
|  |