From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19520 invoked by alias); 4 Feb 2008 23:32:27 -0000 Received: (qmail 19298 invoked by uid 48); 4 Feb 2008 23:31:42 -0000 Date: Mon, 04 Feb 2008 23:32:00 -0000 Message-ID: <20080204233142.19297.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dgregor at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg00472.txt.bz2 ------- Comment #4 from dgregor at gcc dot gnu dot org 2008-02-04 23:31 ------- Looking into this a little bit, the new save_template_attributes is modifying the type node directly (adding new attributes), but that type node can then get out of sync with other type nodes if it was the TYPE_MAIN_VARIANT (as it is for this case). So, we need to do the same thing that decl_attributes does to update all of the other variants with the new attributes. Patch in progress. -- dgregor at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dgregor at gcc dot gnu dot | |org AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2008-02-04 13:42:26 |2008-02-04 23:31:41 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35074