lkml.org 
[lkml]   [2003]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: const versus __attribute__((const))
Nikita Danilov wrote:
> >
> > These functions are available to userspace, though, and can be compiled
> > with -O0; thus not inlined.
>
> And future versions of gcc can be smarter.
>

Actually, the reason it doesn't use it for the inlines is because it
doesn't need to -- it already has full visibility, so it doesn't need it
to be spelled out.

So it would be an issue if gcc got dumber, not smarter.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.056 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site