This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
remove extraneous abort in expr.c: expand_expr
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 03 Aug 2002 00:42:34 +0100
- Subject: 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. */