From: Jeffrey A Law Date: Tue, 2 Jun 1998 21:16:10 +0000 (+0000) Subject: expr.c (expand_expr, [...]): Handle taking the address of an ADDRESSOF rtx. X-Git-Tag: prereleases/egcs-1.1-prerelease~964 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c8538ccb1bc8db7f1491f8003434155bdecdec2;p=thirdparty%2Fgcc.git expr.c (expand_expr, [...]): Handle taking the address of an ADDRESSOF rtx. * expr.c (expand_expr, case ADDR_EXPR): Handle taking the address of an ADDRESSOF rtx. From-SVN: r20193 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e58c0f4f705..d9955a665bf0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 2 22:17:26 1998 Jeffrey A Law (law@cygnus.com) + + * expr.c (expand_expr, case ADDR_EXPR): Handle taking the + address of an ADDRESSOF rtx. + 1998-06-02 Mike Stump * expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE. diff --git a/gcc/expr.c b/gcc/expr.c index f6b52163e988..2aa514bd9941 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -7275,7 +7275,7 @@ expand_expr (exp, target, tmode, modifier) } else if (GET_CODE (op0) == REG || GET_CODE (op0) == SUBREG - || GET_CODE (op0) == CONCAT) + || GET_CODE (op0) == CONCAT || GET_CODE (op0) == ADDRESSOF) { /* If this object is in a register, it must be not be BLKmode. */