This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]