(expand_expr): Set IGNORE if target is const0_rtx or result type is VOID.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 23 Jun 1993 11:50:02 +0000 (07:50 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 23 Jun 1993 11:50:02 +0000 (07:50 -0400)
commitdd27116b8ff920cea2001d4f6c1dd95c0114d2de
tree4739d013e36308b447cabb045ce387fa812ac9b3
parentbd5f197aa10b21fee7b8ca995481e1b9a15b196a
(expand_expr): Set IGNORE if target is const0_rtx or result type is VOID.

Move most IGNORE processing to one place to avoid expanding things that don't
need to be expanded.
(expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't expand
anything we don't have to.
(expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here.

From-SVN: r4714
gcc/expr.c