summaryrefslogtreecommitdiff
path: root/gcc/config/h8300/fixunssfsi.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-02 07:57:15 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-02 07:57:15 +0000
commit7913b5f420037ce91af5c4d1e3c488d07ac5a393 (patch)
tree5236e13b0e7ed69c4fc2de34ec3bba44fc3444a1 /gcc/config/h8300/fixunssfsi.c
parentd2833c15bccd3c459c72d24f8a5aabc4912f6a5d (diff)
downloadgcc-7913b5f420037ce91af5c4d1e3c488d07ac5a393.tar.gz
* config/h8300/fixunssfsi.c: Update copyright.
Fix comment typos. Fix formatting. * config/h8300/h8300.c: Update copyright. Eliminate warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300/fixunssfsi.c')
-rw-r--r--gcc/config/h8300/fixunssfsi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/h8300/fixunssfsi.c b/gcc/config/h8300/fixunssfsi.c
index ed37803ed91..80339f2599d 100644
--- a/gcc/config/h8300/fixunssfsi.c
+++ b/gcc/config/h8300/fixunssfsi.c
@@ -1,6 +1,6 @@
/* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989, 1992, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1992, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -29,15 +29,15 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* The libgcc2.c implementation gets confused by our type setup and creates
- a directly recursive call, so we do our own implementation. For the h8300,
- that's in lib1funcs.asm, for h8300h / h8s, it's here. */
+ a directly recursive call, so we do our own implementation. For
+ the H8/300, that's in lib1funcs.asm, for H8/300H and H8/S, it's here. */
#ifndef __H8300__
long
__fixunssfsi (float a)
{
if (a >= (float) 32768L)
- return (long) (a -32768L) +32768L;
+ return (long) (a - 32768L) + 32768L;
return (long) a;
}
#endif