Messages in this thread | | | Date | Mon, 2 Mar 2009 14:42:35 -0300 | Subject | Re: [PATCH] crc32: remove useless __pure modifier from functions | From | Thiago Galesi <> |
| |
> > Hmm. They're not marked as pure in the header files. Does GCC look it up > from the object file or something for this...?
I just tested this, the answer is No :(
It only works if it's marked in the header. But when it's marked, it works, and redundant calls are optimized.
-- - Thiago Galesi
| |