public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16387] New: [ABI] POD double alignment shifting [3.2/3.3/3.4]
@ 2004-07-06 16:44 bkoz at gcc dot gnu dot org
  2004-07-06 16:44 ` [Bug c++/16387] " bkoz at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-06 16:44 UTC (permalink / raw)
  To: gcc-bugs

First reported by Michael Wong.

See attached test case.

3.2.3
        size    align
sa      8       8
sa.a    8       8
sb      12      4
sb.b    8       8

3.3.3
        size    align
sa      8       8
sa.a    8       4
sb      12      4
sb.b    8       8

3.4.1
        size    align
sa      8       4
sa.a    8       8
sb      12      4
sb.b    8       8

-- 
           Summary: [ABI] POD double alignment shifting [3.2/3.3/3.4]
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ABI
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkoz at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]
  2004-07-06 16:44 [Bug c++/16387] New: [ABI] POD double alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
@ 2004-07-06 16:44 ` bkoz at gcc dot gnu dot org
  2004-07-06 16:45 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-06 16:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-06 16:44 -------
Created an attachment (id=6698)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6698&action=view)
test case


-- 


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


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

* [Bug c++/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]
  2004-07-06 16:44 [Bug c++/16387] New: [ABI] POD double alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
  2004-07-06 16:44 ` [Bug c++/16387] " bkoz at gcc dot gnu dot org
@ 2004-07-06 16:45 ` bkoz at gcc dot gnu dot org
  2004-11-11 23:54 ` [Bug middle-end/16387] " pinskia at gcc dot gnu dot org
  2005-07-02  1:40 ` [Bug c++/16387] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-06 16:45 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michaelw at ca dot ibm dot
                   |                            |com


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


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

* [Bug middle-end/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]
  2004-07-06 16:44 [Bug c++/16387] New: [ABI] POD double alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
  2004-07-06 16:44 ` [Bug c++/16387] " bkoz at gcc dot gnu dot org
  2004-07-06 16:45 ` bkoz at gcc dot gnu dot org
@ 2004-11-11 23:54 ` pinskia at gcc dot gnu dot org
  2005-07-02  1:40 ` [Bug c++/16387] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-11 23:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |middle-end


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


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

* [Bug c++/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]
  2004-07-06 16:44 [Bug c++/16387] New: [ABI] POD double alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-11 23:54 ` [Bug middle-end/16387] " pinskia at gcc dot gnu dot org
@ 2005-07-02  1:40 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-02  1:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-02 01:40 -------
This looks more like a C++ front-end bug as the C produces:
        size    align
sa      8       4
sa.a    8       4
sb      12      4
sb.b    8       4

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |c++


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


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

* [Bug c++/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]
       [not found] <bug-16387-365@http.gcc.gnu.org/bugzilla/>
  2006-03-03 17:48 ` jason at gcc dot gnu dot org
  2006-03-10 22:40 ` jason at gcc dot gnu dot org
@ 2006-03-11 19:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-11 19:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-03-11 19:46 -------
Fixed, it was not really an ABI bug after all, just alignof being implemented
different/wrong.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
           Keywords|ABI                         |wrong-code
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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

* [Bug c++/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]
       [not found] <bug-16387-365@http.gcc.gnu.org/bugzilla/>
  2006-03-03 17:48 ` jason at gcc dot gnu dot org
@ 2006-03-10 22:40 ` jason at gcc dot gnu dot org
  2006-03-11 19:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-03-10 22:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jason at gcc dot gnu dot org  2006-03-10 22:40 -------
Subject: Bug 16387

Author: jason
Date: Fri Mar 10 22:40:41 2006
New Revision: 111945

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111945
Log:
        PR c++/16387, c++/16389
        * typeck.c (cxx_alignof_expr, cxx_sizeof_expr): New functions.
        (cxx_sizeof_or_alignof_expr): Split out from here.

Added:
    trunk/gcc/testsuite/g++.dg/ext/alignof2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c


-- 


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


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

* [Bug c++/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]
       [not found] <bug-16387-365@http.gcc.gnu.org/bugzilla/>
@ 2006-03-03 17:48 ` jason at gcc dot gnu dot org
  2006-03-10 22:40 ` jason at gcc dot gnu dot org
  2006-03-11 19:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-03-03 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jason at gcc dot gnu dot org  2006-03-03 17:48 -------
This is also an issue for the trunk:

        size    align
sa      8       4
sa.a    8       8
sb      12      4
sb.b    8       8


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-03 17:48:26
               date|                            |


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


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

end of thread, other threads:[~2006-03-11 19:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-06 16:44 [Bug c++/16387] New: [ABI] POD double alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
2004-07-06 16:44 ` [Bug c++/16387] " bkoz at gcc dot gnu dot org
2004-07-06 16:45 ` bkoz at gcc dot gnu dot org
2004-11-11 23:54 ` [Bug middle-end/16387] " pinskia at gcc dot gnu dot org
2005-07-02  1:40 ` [Bug c++/16387] " pinskia at gcc dot gnu dot org
     [not found] <bug-16387-365@http.gcc.gnu.org/bugzilla/>
2006-03-03 17:48 ` jason at gcc dot gnu dot org
2006-03-10 22:40 ` jason at gcc dot gnu dot org
2006-03-11 19:47 ` pinskia 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).