[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-05 Thread dgregor at gcc dot gnu dot org
--- Comment #6 from dgregor at gcc dot gnu dot org 2008-02-05 13:30 --- Fixed on mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-05 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2008-02-05 13:30 --- Subject: Bug 35074 Author: dgregor Date: Tue Feb 5 13:29:43 2008 New Revision: 132120 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132120 Log: 2008-02-05 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-04 Thread dgregor 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_

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-04 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2008-02-04 13:59 --- Well, the ICE appeared before 2008-01-31 Douglas Gregor <[EMAIL PROTECTED]> Jakub Jelinek <[EMAIL PROTECTED]> PR c++/34935 PR c++/34936 * typeck.c (structural_comptypes): Handle

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-02-04 13:42 --- Without checking the code is rejected with: t.C:6: error: prototype for 'void A::foo() const' does not match any in class 'A' t.C:3: error: candidate is: void A::foo() const Doug, I believe this is your change with

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-04 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2008-02-04 13:18 --- Jason, this might be fallout from your patch 2008-01-24 Jason Merrill <[EMAIL PROTECTED]> PR c++/34913 * decl2.c (is_late_template_attribute): Defer any attribute with dependent args.

[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

2008-02-04 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35074