re PR c++/19813 (wrong code with -finline-limit)
authorJakub Jelinek <jakub@redhat.com>
Fri, 18 Feb 2005 06:58:40 +0000 (07:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 18 Feb 2005 06:58:40 +0000 (07:58 +0100)
commit3a96c3b9d8cb8983c666c367fd7f9e5c278315df
tree903f1b0c94ccf13fa933a9fe9d234462b5b67614
parent9fd64c63156c891794eb1cfb7ad7b043c04569c8
re PR c++/19813 (wrong code with -finline-limit)

PR c++/19813
* emit-rtl.c (set_mem_attributes_minus_bitpos): Add assertion
that ref to be marked MEM_READONLY_P doesn't have base that needs
constructing.

* decl.c (start_decl_1): Clear TREE_READONLY flag if
its type has TYPE_NEEDS_CONSTRUCTING.
(complete_vars): Likewise.

From-SVN: r95217
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/emit-rtl.c