Skip to content

Commit

Permalink
2007-10-03 Jakub Jelinek
Browse files Browse the repository at this point in the history
	* misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+
	add __artificial__ attribute.
  • Loading branch information
Ulrich Drepper committed Oct 3, 2007
1 parent 6e682cf commit ee868c8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 6 additions & 1 deletion misc/sys/cdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee868c8

Please sign in to comment.