This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95 alpha-osf4, new bootstrap failure stage1 in expr.c + PATCH
- To: law at cygnus dot com
- Subject: gcc-2.95 alpha-osf4, new bootstrap failure stage1 in expr.c + PATCH
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Wed, 30 Jun 1999 09:48:04 -0400 (EDT)
- Cc: egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
Snapshot: gcc-2.95 19990629 (prerelease)
Platform: alphaev5-dec-osf4.0b
Stage1 compiler: cc
Assembler: native
Linker: native
BOOT_CFLAGS: none
I'm getting a new bootstrap failure with gcc-pre2.95 on OSF4:
> cc -c -DIN_GCC -DHAIFA -g -DHAVE_CONFIG_H
> -I. -I../../egcs-2.95-CVS19990629/gcc
> -I../../egcs-2.95-CVS19990629/gcc/config
> -I../../egcs-2.95-CVS19990629/gcc/../include
> ../../egcs-2.95-CVS19990629/gcc/expr.c
> cc: Error: ../../egcs-2.95-CVS19990629/gcc/expr.c, line 1800: Missing ")".
> convert_to_mode (TYPE_MODE (integer_type_node), size,
> -----------------^
> cc: Error: ../../egcs-2.95-CVS19990629/gcc/expr.c, line 2565: In this
> statement, "size" points to a struct type, but occurs in a
> context that requires a pointer to a function type.
> VOIDmode, 2, object, Pmode, size
> -------------------------------------------------^
> make[2]: *** [expr.o] Error 1
It looks like a typo in the last patch to expr.c with
missing commas. The following seems to have fixed it.
--Kaveh
Wed Jun 30 09:50:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* expr.c (emit_block_move, clear_storage): Fix typo in last change.
--- /caip/u47/ghazi/gcc-testing/cvs-egcs-2.95/egcs/gcc/expr.c Tue Jun 29 08:22:06 1999
+++ egcs-2.95-CVS19990629/gcc/expr.c Wed Jun 30 09:42:17 1999
@@ -1796,7 +1796,7 @@ emit_block_move (x, y, size, align)
retval = expand_expr (call_expr, NULL_RTX, VOIDmode, 0);
#else
emit_library_call (bcopy_libfunc, 0,
- VOIDmode, 3, y, Pmode, x, Pmode
+ VOIDmode, 3, y, Pmode, x, Pmode,
convert_to_mode (TYPE_MODE (integer_type_node), size,
TREE_UNSIGNED (integer_type_node)),
TYPE_MODE (integer_type_node));
@@ -2562,7 +2562,7 @@ clear_storage (object, size, align)
retval = expand_expr (call_expr, NULL_RTX, VOIDmode, 0);
#else
emit_library_call (bzero_libfunc, 0,
- VOIDmode, 2, object, Pmode, size
+ VOIDmode, 2, object, Pmode, size,
TYPE_MODE (integer_type_node));
#endif
}