From f139f5faa7063323dd3b00a0f6515e0e0683edb6 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 5 Nov 2007 11:41:40 +0000 Subject: [PATCH] libgcc2.c (__fixunstfDI, [...]): Make return type unsigned. * libgcc2.c (__fixunstfDI, __fixunsxfDI, __fixunsdfDI, __fixunssfDI): Make return type unsigned. * libgcc2.h (__fixunstfDI, __fixunsxfDI, __fixunsdfDI, __fixunssfDI): Make return type unsigned. From-SVN: r129899 --- gcc/ChangeLog | 7 +++++++ gcc/libgcc2.c | 8 ++++---- gcc/libgcc2.h | 8 ++++---- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b546ded61b..e56299f9f67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-11-05 Nathan Sidwell + + * libgcc2.c (__fixunstfDI, __fixunsxfDI, __fixunsdfDI, + __fixunssfDI): Make return type unsigned. + * libgcc2.h (__fixunstfDI, __fixunsxfDI, __fixunsdfDI, + __fixunssfDI): Make return type unsigned. + 2007-11-05 Jakub Jelinek PR tree-optimization/33856 diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 5351a3b1cfa..792bfe69136 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -1184,7 +1184,7 @@ __ucmpdi2 (DWtype a, DWtype b) #endif #if defined(L_fixunstfdi) && LIBGCC2_HAS_TF_MODE -DWtype +UDWtype __fixunstfDI (TFtype a) { if (a < 0) @@ -1220,7 +1220,7 @@ __fixtfdi (TFtype a) #endif #if defined(L_fixunsxfdi) && LIBGCC2_HAS_XF_MODE -DWtype +UDWtype __fixunsxfDI (XFtype a) { if (a < 0) @@ -1256,7 +1256,7 @@ __fixxfdi (XFtype a) #endif #if defined(L_fixunsdfdi) && LIBGCC2_HAS_DF_MODE -DWtype +UDWtype __fixunsdfDI (DFtype a) { /* Get high part of result. The division here will just moves the radix @@ -1285,7 +1285,7 @@ __fixdfdi (DFtype a) #endif #if defined(L_fixunssfdi) && LIBGCC2_HAS_SF_MODE -DWtype +UDWtype __fixunssfDI (SFtype a) { #if LIBGCC2_HAS_DF_MODE diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h index 944f6faca1c..9f2ca39d53a 100644 --- a/gcc/libgcc2.h +++ b/gcc/libgcc2.h @@ -375,7 +375,7 @@ extern DWtype __fixsfdi (SFtype); extern SFtype __floatdisf (DWtype); extern SFtype __floatundisf (UDWtype); extern UWtype __fixunssfSI (SFtype); -extern DWtype __fixunssfDI (SFtype); +extern UDWtype __fixunssfDI (SFtype); extern SFtype __powisf2 (SFtype, int); extern SCtype __divsc3 (SFtype, SFtype, SFtype, SFtype); extern SCtype __mulsc3 (SFtype, SFtype, SFtype, SFtype); @@ -385,7 +385,7 @@ extern DWtype __fixdfdi (DFtype); extern DFtype __floatdidf (DWtype); extern DFtype __floatundidf (UDWtype); extern UWtype __fixunsdfSI (DFtype); -extern DWtype __fixunsdfDI (DFtype); +extern UDWtype __fixunsdfDI (DFtype); extern DFtype __powidf2 (DFtype, int); extern DCtype __divdc3 (DFtype, DFtype, DFtype, DFtype); extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype); @@ -393,7 +393,7 @@ extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype); #if LIBGCC2_HAS_XF_MODE extern DWtype __fixxfdi (XFtype); -extern DWtype __fixunsxfDI (XFtype); +extern UDWtype __fixunsxfDI (XFtype); extern XFtype __floatdixf (DWtype); extern XFtype __floatundixf (UDWtype); extern UWtype __fixunsxfSI (XFtype); @@ -403,7 +403,7 @@ extern XCtype __mulxc3 (XFtype, XFtype, XFtype, XFtype); #endif #if LIBGCC2_HAS_TF_MODE -extern DWtype __fixunstfDI (TFtype); +extern UDWtype __fixunstfDI (TFtype); extern DWtype __fixtfdi (TFtype); extern TFtype __floatditf (DWtype); extern TFtype __floatunditf (UDWtype);