------- Comment #3 from janis at gcc dot gnu dot org 2005-11-10 22:53 ------- A regression hunt identified this patch:
r95217 | jakub | 2005-02-18 06:58:40 +0000 (Fri, 18 Feb 2005) | 9 lines 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. That's not terribly useful, of course, because it's when the ICE check was added, not when an existing check started triggering. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24780