This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Inline __udiv_w_sdiv into __divdi3 etc.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Oct 2002 03:07:37 -0400 (EDT)
- Subject: Re: [PATCH] Inline __udiv_w_sdiv into __divdi3 etc.
On Mon, 21 Oct 2002, Ulrich Weigand wrote:
> This patch does declare __udiv_w_sdiv as static inline, fixing
> those warnings.
> Index: gcc/libgcc2.c
> #ifdef L_udiv_w_sdiv
> #if defined (sdiv_qrnnd)
> + #if (defined (L_udivdi3) || defined (L_divdi3) || \
> + defined (L_umoddi3) || defined (L_moddi3))
> + static inline
> + #endif
I think you should mark it with attribute always_inline, see
config/fp-bit.c.
brgds, H-P