An alpha bug?

H.J. Lu hjl@lucon.org
Fri Oct 24 15:18:00 GMT 1997


"make check" fails on alpha in tFile. It seems gp in itoa () in
libio/stream.cc has some garbage.

Does this look like a right fix?

Thanks.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)
---
Fri Oct 24 08:13:46 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)

	* config/alpha/alpha.c (alpha_does_function_need_gp): Also
	check TYPE_IBR.

Index: config/alpha/alpha.c
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/config/alpha/alpha.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 alpha.c
--- alpha.c	1997/10/24 01:16:23	1.1.1.4
+++ alpha.c	1997/10/24 21:59:26
@@ -2311,7 +2311,7 @@
 	&& GET_CODE (PATTERN (insn)) != CLOBBER)
       {
 	enum attr_type type = get_attr_type (insn);
-	if (type == TYPE_LDSYM || type == TYPE_JSR)
+	if (type == TYPE_LDSYM || type == TYPE_JSR || type == TYPE_IBR)
 	  return 1;
       }
 



More information about the Gcc mailing list