[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gperf] Re: [PATCH] Use always_inline attribute with gcc
From: |
Bruno Haible |
Subject: |
[bug-gperf] Re: [PATCH] Use always_inline attribute with gcc |
Date: |
Wed, 19 May 2010 22:28:05 +0200 |
User-agent: |
KMail/1.9.9 |
Lucas De Marchi wrote:
> always inlining could
> be a desired behavior, or at least have an option in gperf to tell
> that I want it inlined or not.
You don't need a gperf option when you want to change a little detail
in the generated code. Just add a tiny postprocessing step:
sed -e 's/__gnu_inline__/__always_inline__/'
But before doing that, please remember that it would likely not fix
the bug for other compilers than GCC.
Bruno