This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH for small buglet in CVS mainline egcs-19980902
- To: egcs-patches at cygnus dot com
- Subject: PATCH for small buglet in CVS mainline egcs-19980902
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Thu, 3 Sep 1998 12:05:01 +0200 (MEST)
- Reply-To: manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de
I just built egcs-19980902 (CVS: 1998/09/02 21:38:55 +0200) and had to
apply the rather trivial patch below.
NOTE, I'm not able to bootstrap with any optimization level higher
than "-O2", i.e. my usual "-O9 -funroll-all-loops" fails with an
unresolved symbol "L<some-number>" referenced by expmed.c while
linking the stage2 cc1.
manfred
Thu Sep 3 09:42:48 1998 Manfred Hollstein <manfred@s-direktnet.de>
* dwarfout.c (fundamental_type_code): Remove superfluous "return".
diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-19980902.orig/gcc/dwarfout.c egcs-19980902/gcc/dwarfout.c
--- egcs-19980902.orig/gcc/dwarfout.c Wed Sep 2 21:37:26 1998
+++ egcs-19980902/gcc/dwarfout.c Thu Sep 3 09:44:24 1998
@@ -1428,7 +1428,7 @@ fundamental_type_code (type)
So we have to tell the debugger that the type is float to
make the output of the 'print' command etc. readable. */
if (DOUBLE_TYPE_SIZE == FLOAT_TYPE_SIZE && FLOAT_TYPE_SIZE == 32)
- return return FT_float;
+ return FT_float;
return FT_dbl_prec_float;
}
if (TYPE_PRECISION (type) == FLOAT_TYPE_SIZE)