lkml.org 
[lkml]   [2011]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromOliver Neukum <>
Subjectquestion oh macros and gcc's intelligence
DateThu, 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


\
 
 \ /
  Last update: 2011-03-17 09:57    [from the cache]
©2003-2010