Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2007-04-10 16:49:18 +0400
committerEric Blake <eblake@redhat.com>2007-04-10 16:49:18 +0400
commit503e2d1c763a07f05983c34f6f612267d7574dac (patch)
tree5defa26930776bc0795e28c9b5d007d00455697b /newlib/libc/include/stdio.h
parent17c0c97d7cac46d4983158367e843945c7faca56 (diff)
* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
CFLAGS=-O0.
Diffstat (limited to 'newlib/libc/include/stdio.h')
-rw-r--r--newlib/libc/include/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h
index 1b50b34df..03334fe12 100644
--- a/newlib/libc/include/stdio.h
+++ b/newlib/libc/include/stdio.h
@@ -506,7 +506,7 @@ FILE *_EXFUN(funopen,(const _PTR _cookie,
'extern inline'. */
#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
/* We're using GCC, but without the new C99-compatible behaviour. */
-#define _ELIDABLE_INLINE extern __inline__
+#define _ELIDABLE_INLINE extern __inline__ _ATTRIBUTE ((__always_inline__))
#else
/* We're using GCC in C99 mode, or an unknown compiler which
we just have to hope obeys the C99 semantics of inline. */