[Bug c++/24926] gcc ignores access level violation for anonymous structs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24926 Andrew Pinski changed: What|Removed |Added CC||kuba at et dot pl --- Comment #7 from Andrew Pinski --- *** Bug 51716 has been marked as a duplicate of this bug. ***
[Bug c++/24926] gcc ignores access level violation for anonymous structs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24926 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.9.0 --- Comment #6 from Paolo Carlini --- Fixed for 4.9.0.
[Bug c++/24926] gcc ignores access level violation for anonymous structs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24926 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Sep 4 23:52:48 2013 New Revision: 202266 URL: http://gcc.gnu.org/viewcvs?rev=202266&root=gcc&view=rev Log: /cp 2013-09-04 Paolo Carlini PR c++/24926 * class.c (finish_struct_anon_r): New. (finish_struct_anon): Use it. /testsuite 2013-09-04 Paolo Carlini PR c++/24926 * g++.dg/parse/access11.C: New. Added: trunk/gcc/testsuite/g++.dg/parse/access11.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/testsuite/ChangeLog
[Bug c++/24926] gcc ignores access level violation for anonymous structs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24926 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|gcc-bugs at gcc dot gnu.org| Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #4 from Paolo Carlini --- Mine.
[Bug c++/24926] gcc ignores access level violation for anonymous structs
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-12-06 23:37 --- *** Bug 30097 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||stefan dot gotz at intel dot ||com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24926
[Bug c++/24926] gcc ignores access level violation for anonymous structs
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-02-01 12:20 --- The following testcase shows the same problem, but *without* using GCC's extension of anonymous structs: == class A { union { union { int i; }; }; }; int j=A().i; == -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Keywords||accepts-invalid, monitored http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24926
[Bug c++/24926] gcc ignores access level violation for anonymous structs
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-17 21:48 --- Confirmed, I should note that anonymous structs are extensions. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2005-11-17 21:48:33 date|| Summary|gcc ignores access level|gcc ignores access level |violation: struct variables |violation for anonymous |in anonymous union |structs |accessible as public| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24926