* libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Oct 2002 10:47:24 +0000 (10:47 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Oct 2002 10:47:24 +0000 (10:47 +0000)
inlining it into other libgcc2 routines.
(__udivmoddi4): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58450 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/libgcc2.c

index 5681b67..7091d22 100644 (file)
@@ -1,3 +1,9 @@
+2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when 
+       inlining it into other libgcc2 routines.
+       (__udivmoddi4): Likewise.
+
 2002-10-22  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * doc/sourcebuild.texi (Test Suites): Improve.
index cd5a005..dea803d 100644 (file)
@@ -377,7 +377,7 @@ __muldi3 (DWtype u, DWtype v)
 #if defined (sdiv_qrnnd)
 #if (defined (L_udivdi3) || defined (L_divdi3) || \
      defined (L_umoddi3) || defined (L_moddi3))
-static inline
+static inline __attribute__ ((__always_inline__))
 #endif
 UWtype
 __udiv_w_sdiv (UWtype *rp, UWtype a1, UWtype a0, UWtype d)
@@ -511,7 +511,7 @@ const UQItype __clz_tab[] =
 
 #if (defined (L_udivdi3) || defined (L_divdi3) || \
      defined (L_umoddi3) || defined (L_moddi3))
-static inline
+static inline __attribute__ ((__always_inline__))
 #endif
 UDWtype
 __udivmoddi4 (UDWtype n, UDWtype d, UDWtype *rp)