lkml.org 
[lkml]   [2009]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] crc32: remove useless __pure modifier from functions
From
>
> 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


\
 
 \ /
  Last update: 2009-03-02 18:45    [W:0.059 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site