This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ICE in emit_move_insn_1 (NetBSD i386)
- To: egcs-bugs at cygnus dot com
- Subject: ICE in emit_move_insn_1 (NetBSD i386)
- From: Krister Walfridsson <cato at df dot lth dot se>
- Date: Wed, 6 Jan 1999 03:13:01 +0100 (CET)
The current egcs (CVS:ed today) doesn't like the NetBSD i386 htons macro.
Compiling
#include <stdio.h>
int
foo(int port)
{
return htons((unsigned short)port);
}
gives
/dsk2/tmp/egcs990106.i386/build/gcc/xgcc -B/dsk2/tmp/egcs990106.i386/build/gcc/ -O foo.c
../../egcs/gcc/expr.c:2663: Internal compiler error in function emit_move_insn_1
I have attached the preprocessed file.
/Krister
foo.i.gz