This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
An alpha bug?
- To: egcs at cygnus dot com
- Subject: An alpha bug?
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 24 Oct 1997 15:18:23 -0700 (PDT)
- Cc: rth at cygnus dot com
"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;
}