From 807b20b01ec236384e83cbed3b82241616a97880 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 18 Jun 2002 02:55:25 +0000 Subject: [PATCH] arit.c (do_31div, [...]): Mark prototype __always_inline__. * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype __always_inline__. From-SVN: r54731 --- gcc/ChangeLog | 5 +++++ gcc/config/cris/arit.c | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d326aebcf14..6247025a2a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-18 Hans-Peter Nilsson + + * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype + __always_inline__. + 2002-06-18 Alan Modra * config/ia64/ia64.md (doloop_end_internal): Correct rtl. diff --git a/gcc/config/cris/arit.c b/gcc/config/cris/arit.c index 057ce81d0ad..9e0db17b842 100644 --- a/gcc/config/cris/arit.c +++ b/gcc/config/cris/arit.c @@ -2,7 +2,7 @@ Contributed by Axis Communications. Written by Hans-Peter Nilsson , c:a 1992. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -64,7 +64,8 @@ struct quot_rem /* This is the worker function for div and mod. It is inlined into the respective library function. */ static __inline__ struct quot_rem -do_31div (unsigned long a, unsigned long b) __attribute__ ((__const__)); +do_31div (unsigned long a, unsigned long b) + __attribute__ ((__const__, __always_inline__)); static __inline__ struct quot_rem do_31div (unsigned long a, unsigned long b) @@ -161,7 +162,8 @@ do_31div (unsigned long a, unsigned long b) static __inline__ #endif unsigned long -__Udiv (unsigned long a, unsigned long b) __attribute__ ((__const__)); +__Udiv (unsigned long a, unsigned long b) + __attribute__ ((__const__, __always_inline__)); #ifndef L_udivsi3 static __inline__ @@ -238,7 +240,8 @@ __Div (long a, long b) static __inline__ #endif unsigned long -__Umod (unsigned long a, unsigned long b) __attribute__ ((__const__)); +__Umod (unsigned long a, unsigned long b) + __attribute__ ((__const__, __always_inline__)); #ifndef L_umodsi3 static __inline__ -- 2.30.2