Messages in this thread | | | Date | Mon, 19 Jan 2009 07:22:12 +0100 | From | Nick Piggin <> | Subject | Re: gcc inlining heuristics was Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning |
| |
On Mon, Jan 19, 2009 at 01:13:45AM +0100, Ingo Molnar wrote: > > * Bernd Schmidt <bernds_cb1@t-online.de> wrote: > > > Linus Torvalds wrote: > > > But you'll need some background to it: > > > > You paint a somewhat one-sided picture bordering on FUD. > > Type based aliasing should at most have been an opt-in for code that > cares, not a turned-on-by-default feature for everyone.
I want to know what is the problem with the restrict keyword? I'm sure I've read Linus ranting about how bad it is in the past... it seems like a nice opt-in thing that can be used where the aliases are verified and the code is particularly performance critical...
| |