This is the mail archive of the gcc-bugs@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]

libgcc2.c damage


This patch

2000-10-18  Chandrakala Chavva  <cchavva@redhat.com>
        * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
        __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
        New functions.

has one more #if than it has #endif.  It's also fairly obviously applied
to the wrong place in the file.

Someone please apply the following obvious fix.  I don't have commit
rights.

gcc/ChangeLog
2000-10-19  Alan Modra  <alan@linuxcare.com.au>

	* libgcc2.c: Correct last change.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.


--- gcc/libgcc2.c~	Thu Oct 19 09:19:19 2000
+++ gcc/libgcc2.c	Thu Oct 19 10:03:53 2000
@@ -46,11 +46,6 @@
 
 #include "libgcc2.h"
 
-#if defined (L_negdi2) || defined (L_divdi3) || defined (L_moddi3)
-#if defined (L_divdi3) || defined (L_moddi3)
-static inline
-#endif
-
 #ifdef L_addvsi3
 SItype
 __addvsi3 (SItype a, SItype b)
@@ -64,6 +59,7 @@
 
   return w;
 } 
+#endif
 
 #ifdef L_addvdi3
 DItype
@@ -220,6 +216,10 @@
 }
 #endif
 
+#if defined (L_negdi2) || defined (L_divdi3) || defined (L_moddi3)
+#if defined (L_divdi3) || defined (L_moddi3)
+static inline
+#endif
 DWtype
 __negdi2 (DWtype u)
 {



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