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]

Re: mainline ICE in builtins.c


At 14:17 28.07.99 , Franz Sirl wrote:
>Hi,
>
>the current mainline on powerpc-linux-gnu fails at the end of stage1 while 
>already using the stage1 compiler:
>
>_ffsdi2
>../../../cvsx/gccm/gcc/libgcc2.c: In function `__ffsdi2':
>../../../cvsx/gccm/gcc/libgcc2.c:277: Internal compiler error:
>../../../cvsx/gccm/gcc/libgcc2.c:277: 
>../../../cvsx/gccm/gcc/builtins.c:2147: Expect tree_list, have call_expr
>
>This is exposed by --enable-checking, may I suggest again to turn on 
>--enable-checking by default in the development branch?

Looks like this is a simple typo in the recent breakout.

Franz.

Index: builtins.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/builtins.c,v
retrieving revision 1.3
diff -u -p -r1.3 builtins.c
--- builtins.c  1999/07/27 05:43:56     1.3
+++ builtins.c  1999/07/28 18:10:30
@@ -2290,7 +2290,7 @@ expand_builtin (exp, target, subtarget,
        break;

      case BUILT_IN_FFS:
-      target = expand_builtin_ffs (exp, target, subtarget);
+      target = expand_builtin_ffs (arglist, target, subtarget);
        if (target)
         return target;
        break;


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