2007-10-03 Jakub Jelinek

* misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+
	add __artificial__ attribute.
This commit is contained in:
Ulrich Drepper 2007-10-03 18:13:55 +00:00
parent 6e682cf5c1
commit ee868c89ae
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-10-03 Jakub Jelinek
* misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+
add __artificial__ attribute.
2007-10-02 Ulrich Drepper <drepper@redhat.com>
* string/strcoll_l.c (STRCOLL): Correct handling of switching from

View File

@ -294,8 +294,13 @@
#if !defined __cplusplus || __GNUC_PREREQ (4,3)
# if defined __GNUC_STDC_INLINE__ || defined __cplusplus
# define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
# define __extern_always_inline \
# if __GNUC_PREREQ (4,3)
# define __extern_always_inline \
extern __always_inline __attribute__ ((__gnu_inline__, __artificial__))
# else
# define __extern_always_inline \
extern __always_inline __attribute__ ((__gnu_inline__))
# endif
# else
# define __extern_inline extern __inline
# define __extern_always_inline extern __always_inline