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]

ICE in emit_move_insn_1 (NetBSD i386)


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


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