This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

remove extraneous abort in expr.c: expand_expr


All,

While looking a something else I spotted a bit of code in
expand_expr that can never be reached.

Graham

ChangeLog

       * expr.c (expand_expr): Remove extraneous comment and code.

Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.474
diff -c -p -r1.474 expr.c
*** expr.c      2 Aug 2002 11:57:16 -0000       1.474
--- expr.c      2 Aug 2002 23:26:25 -0000
*************** expand_expr (exp, target, tmode, modifie
*** 6658,6666 ****
        return temp;
        }

-       /* We can't find the object or there was a missing WITH_RECORD_EXPR.  */
-       abort ();
-
      case WITH_RECORD_EXPR:
        /* Put the object on the placeholder list, expand our first operand,
         and pop the list.  */














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