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]

[CVS 980316]: Patch for recently introduced bugs


On a m68k-motorola-sysv I'm getting:

../../egcs-980316/gcc/flow.c: In function `life_analysis':
../../egcs-980316/gcc/flow.c:968: syntax error before `i'
gmake: *** [flow.o] Error 1

due to `size_t' undefined. After fixing this, the next error is:

insn-output.o(.text+0x425c):insn-output.c: undefined reference to `gen_INT'
gmake: *** [cc1] Error 1

Tue Mar 17 09:28:40 1998  Manfred Hollstein  <manfred@s-direktnet.de>

	* config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.

	* flow.c (life_analysis): #include <sys/types.h> to make sure
	size_t is defined.

diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-980316.orig/gcc/config/m68k/m68k.md egcs-980316/gcc/config/m68k/m68k.md
--- egcs-980316.orig/gcc/config/m68k/m68k.md	Mon Mar 16 18:26:26 1998
+++ egcs-980316/gcc/config/m68k/m68k.md	Tue Mar 17 09:28:23 1998
@@ -2480,7 +2480,7 @@
 	return \"addq%.b %1,%0\";
       if (INTVAL (operands[1]) < 0 && INTVAL (operands[1]) >= -8)
        {
-	 operands[1] = gen_INT (-INTVAL (operands[1]));
+	 operands[1] = GEN_INT (-INTVAL (operands[1]));
 	 return \"subq%.b %1,%0\";
        }
     }
diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-980316.orig/gcc/flow.c egcs-980316/gcc/flow.c
--- egcs-980316.orig/gcc/flow.c	Thu Mar 12 10:01:41 1998
+++ egcs-980316/gcc/flow.c	Tue Mar 17 08:27:22 1998
@@ -109,6 +109,7 @@ Boston, MA 02111-1307, USA.  */
    reg_n_calls_crosses and reg_basic_block.  */
 
 #include "config.h"
+#include <sys/types.h>
 #include <stdio.h>
 #include "rtl.h"
 #include "basic-block.h"


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