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

mn10300-elf [fd]p-bit.c contains useless chunk of code


It came to my attention that this bit was probably uselessly copied
from some other tool-chain.  It's harmless, but there's no sense in
keeping the mistake.  I'm checking this in to fix it.

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
	FLOAT_BIT_ORDER_MISMATCH.

Index: gcc/config/mn10300/t-mn10300
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/mn10300/t-mn10300,v
retrieving revision 1.6
diff -u -p -r1.6 t-mn10300
--- gcc/config/mn10300/t-mn10300 2000/08/07 11:20:25 1.6
+++ gcc/config/mn10300/t-mn10300 2001/05/11 04:19:46
@@ -7,16 +7,10 @@ FPBIT = fp-bit.c
 DPBIT = dp-bit.c
 
 dp-bit.c: $(srcdir)/config/fp-bit.c
-	echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
-	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
-	echo '#endif' 		>> dp-bit.c
-	cat $(srcdir)/config/fp-bit.c >> dp-bit.c
+	cat $(srcdir)/config/fp-bit.c > dp-bit.c
 
 fp-bit.c: $(srcdir)/config/fp-bit.c
 	echo '#define FLOAT' > fp-bit.c
-	echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
-	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
-	echo '#endif' 		>> fp-bit.c
 	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
 
 MULTILIB_OPTIONS = mam33

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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