This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes
- From: "dgregor at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2008 23:31:42 -0000
- Subject: [Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes
- References: <bug-35074-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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