public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25322] ISO compliance of defining structs in anonymous unions
       [not found] <bug-25322-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-24  0:13 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-24  0:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25322

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |12.0

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 12 by r12-298; there is a testcase already.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/25322] ISO compliance of defining structs in anonymous unions
  2005-12-08 23:05 [Bug c++/25322] New: " cfranz at aldon dot com
                   ` (2 preceding siblings ...)
  2006-03-10 16:25 ` jvalenzu at infinite-monkeys dot org
@ 2006-05-11 23:27 ` cfranz at aldon dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cfranz at aldon dot com @ 2006-05-11 23:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from cfranz at aldon dot com  2006-05-11 23:27 -------
(In reply to comment #3)
> Would someone mind specifying what section of the standard this violates?  We
> have a codebase that makes heavy use of (3). 

Section 9.5.  Furthermore, I was basing cases 2, 4, and 6 on the following:
   http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#359


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25322


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/25322] ISO compliance of defining structs in anonymous unions
  2005-12-08 23:05 [Bug c++/25322] New: " cfranz at aldon dot com
  2005-12-08 23:36 ` [Bug c++/25322] " pinskia at gcc dot gnu dot org
  2005-12-09  5:21 ` bangerth at dealii dot org
@ 2006-03-10 16:25 ` jvalenzu at infinite-monkeys dot org
  2006-05-11 23:27 ` cfranz at aldon dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jvalenzu at infinite-monkeys dot org @ 2006-03-10 16:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvalenzu at infinite-monkeys dot org  2006-03-10 16:25 -------
Would someone mind specifying what section of the standard this violates?  We
have a codebase that makes heavy use of (3). 


-- 

jvalenzu at infinite-monkeys dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvalenzu at infinite-monkeys
                   |                            |dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25322


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/25322] ISO compliance of defining structs in anonymous unions
  2005-12-08 23:05 [Bug c++/25322] New: " cfranz at aldon dot com
  2005-12-08 23:36 ` [Bug c++/25322] " pinskia at gcc dot gnu dot org
@ 2005-12-09  5:21 ` bangerth at dealii dot org
  2006-03-10 16:25 ` jvalenzu at infinite-monkeys dot org
  2006-05-11 23:27 ` cfranz at aldon dot com
  3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2005-12-09  5:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bangerth at dealii dot org  2005-12-09 05:20 -------
Confirmed. We should at least complain about cases 1, 3, 5. As does,
incidentally, icc with -Xc -ansi.

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-09 05:20:59
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25322


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/25322] ISO compliance of defining structs in anonymous unions
  2005-12-08 23:05 [Bug c++/25322] New: " cfranz at aldon dot com
@ 2005-12-08 23:36 ` pinskia at gcc dot gnu dot org
  2005-12-09  5:21 ` bangerth at dealii dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-08 23:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-08 23:36 -------
Hmm, I actually want to say that case 2, 4, and 6 are actually valid (But I
have not looked at the standard) as anonymous types are special.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
      Known to fail|                            |2.95.3 3.0.4 3.2.3 3.4.0
                   |                            |3.3.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25322


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-24  0:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-25322-4@http.gcc.gnu.org/bugzilla/>
2021-07-24  0:13 ` [Bug c++/25322] ISO compliance of defining structs in anonymous unions pinskia at gcc dot gnu.org
2005-12-08 23:05 [Bug c++/25322] New: " cfranz at aldon dot com
2005-12-08 23:36 ` [Bug c++/25322] " pinskia at gcc dot gnu dot org
2005-12-09  5:21 ` bangerth at dealii dot org
2006-03-10 16:25 ` jvalenzu at infinite-monkeys dot org
2006-05-11 23:27 ` cfranz at aldon dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).