public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17916] New: [4.0 Regression] pragma inside classes
@ 2004-10-09 21:12 pinskia at gcc dot gnu dot org
  2004-10-09 21:12 ` [Bug c++/17916] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-09 21:12 UTC (permalink / raw)
  To: gcc-bugs

I noticed this while trying to compile some C++ code, I think this should be accepted.
class T
{
#pragma pack(1)
        union
        {
                struct
                {
                        char text[(sizeof(char *) + (sizeof(size_t) * 2) + 1)];
                        char length : 6;
                        bool big : 1;
                }       ministring;
        }       content;
#pragma pack()
};

-- 
           Summary: [4.0 Regression] pragma inside classes
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/17916] [4.0 Regression] pragma inside classes
  2004-10-09 21:12 [Bug c++/17916] New: [4.0 Regression] pragma inside classes pinskia at gcc dot gnu dot org
@ 2004-10-09 21:12 ` pinskia at gcc dot gnu dot org
  2004-10-15  5:00 ` mmitchel at gcc dot gnu dot org
  2004-10-15 21:18 ` mmitchel at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-09 21:12 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zack at gcc dot gnu dot org
   Target Milestone|---                         |4.0.0


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


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

* [Bug c++/17916] [4.0 Regression] pragma inside classes
  2004-10-09 21:12 [Bug c++/17916] New: [4.0 Regression] pragma inside classes pinskia at gcc dot gnu dot org
  2004-10-09 21:12 ` [Bug c++/17916] " pinskia at gcc dot gnu dot org
@ 2004-10-15  5:00 ` mmitchel at gcc dot gnu dot org
  2004-10-15 21:18 ` mmitchel at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-10-15  5:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-15 05:00:14
               date|                            |


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


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

* [Bug c++/17916] [4.0 Regression] pragma inside classes
  2004-10-09 21:12 [Bug c++/17916] New: [4.0 Regression] pragma inside classes pinskia at gcc dot gnu dot org
  2004-10-09 21:12 ` [Bug c++/17916] " pinskia at gcc dot gnu dot org
  2004-10-15  5:00 ` mmitchel at gcc dot gnu dot org
@ 2004-10-15 21:18 ` mmitchel at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-10-15 21:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-10-15 21:18 -------
Fixed in GCC 4.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-10-15 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-09 21:12 [Bug c++/17916] New: [4.0 Regression] pragma inside classes pinskia at gcc dot gnu dot org
2004-10-09 21:12 ` [Bug c++/17916] " pinskia at gcc dot gnu dot org
2004-10-15  5:00 ` mmitchel at gcc dot gnu dot org
2004-10-15 21:18 ` mmitchel at gcc dot gnu dot org

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).