re PR rtl-optimization/12926 (Wrong value after assignment in initialize list using...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 13 Nov 2003 09:48:36 +0000 (10:48 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 13 Nov 2003 09:48:36 +0000 (09:48 +0000)
commitd76bc29c91f1807418195a4af051d0d1415837bc
treee18cb1e9c8eac18b1da0b500eb5f4e9161f56dbe
parent239ca41f81ff35e8c32fadd93ef2ef3c69d67a7e
re PR rtl-optimization/12926 (Wrong value after assignment in initialize list using bit-fields)

PR optimization/12926
* expr.c (expand_assignment) [COMPONENT_REF]: Don't put
the UNCHANGING_RTX_P flag on memory references to read-only
components that are not addressable.

From-SVN: r73542
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/const3.C [new file with mode: 0644]