------- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-05 15:27 -------
This is done by several passes through the magics of fold_stmt_r:
case ARRAY_REF:
/* If we are not processing expressions found within an
ADDR_EXPR, then we can fold constant array references. */
if (!*inside_addr_expr_p)
t = fold_read_from_constant_string (expr);
else
t = NULL;
break;
we should remember if we are visiting the LHS of an expression here.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-03-05 15:27:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35468