GNU bug report logs - #12541
Prefer plain 'static' to 'static inline'.

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sun, 30 Sep 2012 08:02:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jason Rumney <jasonr <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 12541 <at> debbugs.gnu.org
Subject: bug#12541: Prefer plain 'static' to 'static inline'.
Date: Sun, 30 Sep 2012 22:18:48 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

> The inline functions in bidi.c _must_ be inlined for performance
> reasons.  If the only way to make sure they are is to make them
> external, then so be it.

The only way to ensure they are inlined is to make them macros. Modern
compilers treat "inline" as a hint, not an instruction, if they take any
notice of it at all.




This bug report was last modified 12 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.