diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/cris/arit.c | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d326aeb..6247025 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-18 Hans-Peter Nilsson <hp@axis.com> + + * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype + __always_inline__. + 2002-06-18 Alan Modra <amodra@bigpond.net.au> * config/ia64/ia64.md (doloop_end_internal): Correct rtl. diff --git a/gcc/config/cris/arit.c b/gcc/config/cris/arit.c index 057ce81..9e0db17 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 <hp@axis.se>, 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__ |