[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias
--- Comment #5 from jsm28 at gcc dot gnu dot org 2009-02-08 19:03 --- Subject: Bug 35434 Author: jsm28 Date: Sun Feb 8 19:02:56 2009 New Revision: 144019 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144019 Log: PR c/35434 * c-common.c (handle_alias_attribute): Disallow attribute for anything not a FUNCTION_DECL or VAR_DECL. testsuite: * gcc.dg/attr-alias-4.c: New test. Added: branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/attr-alias-4.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/c-common.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35434
[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias
--- Comment #3 from jsm28 at gcc dot gnu dot org 2009-02-06 20:37 --- Testing a patch. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jsm28 at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2008-03-15 01:31:08 |2009-02-06 20:37:18 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35434
[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias
--- Comment #4 from jsm28 at gcc dot gnu dot org 2009-02-07 00:33 --- Subject: Bug 35434 Author: jsm28 Date: Sat Feb 7 00:32:37 2009 New Revision: 143998 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143998 Log: PR c/35434 * c-common.c (handle_alias_attribute): Disallow attribute for anything not a FUNCTION_DECL or VAR_DECL. testsuite: * gcc.dg/attr-alias-4.c: New test. Added: trunk/gcc/testsuite/gcc.dg/attr-alias-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-common.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35434
[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias
--- Comment #2 from reichelt at gcc dot gnu dot org 2008-09-30 21:33 --- The second (weakref) case has been fixed on mainline and the 4.3 branch by the patch for PR37645. The attribute is ignored and the code compiled: bug.c:1: warning: 'weakref' attribute ignored The first (alias) case still crashes, though. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.2/4.3/4.4 regression] ICE|[4.2/4.3/4.4 regression] ICE |with attribute alias/weakref|with attribute alias http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35434
[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias/weakref
--- Comment #1 from jsm28 at gcc dot gnu dot org 2008-05-19 20:25 --- 4.2.4 is being released, changing milestones to 4.2.5. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.2.4 |4.2.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35434
[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias/weakref
-- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Priority|P3 |P4 Last reconfirmed|-00-00 00:00:00 |2008-03-15 01:31:08 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35434
[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias/weakref
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35434