PR optimization/12926
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Nov 2003 09:48:36 +0000 (09:48 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Nov 2003 09:48:36 +0000 (09:48 +0000)
commit9836f32ef6dc745374035f8c2fc3ad99635d1596
treee18cb1e9c8eac18b1da0b500eb5f4e9161f56dbe
parent9eaf0a032fdcb5fe04962477e553e60708e43301
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73542 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/const3.C [new file with mode: 0644]