This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24780] [4.0/4.1 Regression] ICE set_mem_attributes_minus_bitpos
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2005 22:53:13 -0000
- Subject: [Bug c++/24780] [4.0/4.1 Regression] ICE set_mem_attributes_minus_bitpos
- References: <bug-24780-11693@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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