This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PR middle-end/18160
- From: Adam Nemet <anemet at lnxw dot com>
- To: gcc at gcc dot gnu dot org
- Cc: rth at redhat dot com
- Date: Tue, 26 Oct 2004 12:51:33 -0700
- Subject: PR middle-end/18160
There is a mismatch between the front-end and the expander after this
patch by RTH:
2004-08-30 Richard Henderson <rth@redhat.com>
* expr.c (expand_expr_addr_expr): New.
(expand_expr_real_1) <case ADDR_EXPR>: Use it.
The patch seems to have removed the explicit handling of registers
from the expander.
The question is should the front-end mark the address expression of a
(local) register variable with an error_mark_node or should the
expander deal with it and assign it to memory like it used to.
I think it is the latter but I'd like to have some comments before I
prepare a patch.
Adam