public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16389] New: [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
@ 2004-07-06 16:52 bkoz at gcc dot gnu dot org
2004-07-06 16:52 ` [Bug c++/16389] " bkoz at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-06 16:52 UTC (permalink / raw)
To: gcc-bugs
First reported by Michael Wong.
Can also be reproduced on powerpc-linux.
3.2.3
align offset
sa.a2 8 0
sa.a3 8 8
sa2.a2 8 4
sa2.a3 8 12
sb.b2 4 0
sb.b3 4 12
sb2.b2 4 4
sb2.b3 4 16
sa 8
sa 4
sb 32
sb 32
3.3.3
align offset
sa.a2 4 0
sa.a3 4 8
sa2.a2 8 4
sa2.a3 4 12
sb.b2 4 0
sb.b3 4 12
sb2.b2 4 4
sb2.b3 4 16
sa 8
sa 4
sb 32
sb 32
3.4.1
align offset
sa.a2 8 0
sa.a3 8 8
sa2.a2 8 4
sa2.a3 8 12
sb.b2 4 0
sb.b3 4 12
sb2.b2 4 4
sb2.b3 4 16
sa 4
sa 4
sb 4
sb 4
--
Summary: [ABI] POD array layout and 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=16389
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
2004-07-06 16:52 [Bug c++/16389] New: [ABI] POD array layout and alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
@ 2004-07-06 16:52 ` bkoz at gcc dot gnu dot org
2004-07-06 16:52 ` bkoz at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-06 16:52 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=16389
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
2004-07-06 16:52 [Bug c++/16389] New: [ABI] POD array layout and alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
2004-07-06 16:52 ` [Bug c++/16389] " bkoz at gcc dot gnu dot org
@ 2004-07-06 16:52 ` bkoz at gcc dot gnu dot org
2004-11-12 0:02 ` pinskia at gcc dot gnu dot org
2005-07-02 1:42 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-06 16:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-07-06 16:52 -------
Created an attachment (id=6700)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6700&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16389
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
2004-07-06 16:52 [Bug c++/16389] New: [ABI] POD array layout and alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
2004-07-06 16:52 ` [Bug c++/16389] " bkoz at gcc dot gnu dot org
2004-07-06 16:52 ` bkoz at gcc dot gnu dot org
@ 2004-11-12 0:02 ` pinskia at gcc dot gnu dot org
2005-07-02 1:42 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-12 0:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-12 00:02 -------
*** Bug 16390 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16389
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
2004-07-06 16:52 [Bug c++/16389] New: [ABI] POD array layout and alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-11-12 0:02 ` pinskia at gcc dot gnu dot org
@ 2005-07-02 1:42 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-02 1:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 01:42 -------
The C front-end gets this right:
align offset
sa.a2 4 0
sa.a3 4 8
sa2.a2 4 4
sa2.a3 4 12
sb.b2 4 0
sb.b3 4 12
sb2.b2 4 4
sb2.b3 4 16
sa 4
sa 4
sb 4
sb 4
So it is just the alignof which is wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16389
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
[not found] <bug-16389-365@http.gcc.gnu.org/bugzilla/>
2006-03-03 17:49 ` jason at gcc dot gnu dot org
@ 2006-03-11 19:47 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 7+ 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:47 -------
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 |
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16389
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]
[not found] <bug-16389-365@http.gcc.gnu.org/bugzilla/>
@ 2006-03-03 17:49 ` jason at gcc dot gnu dot org
2006-03-11 19:47 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-03-03 17:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jason at gcc dot gnu dot org 2006-03-03 17:49 -------
Again, the trunk matches the (incorrect) 3.4.1 output
--
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:49:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16389
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-03-11 19:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-06 16:52 [Bug c++/16389] New: [ABI] POD array layout and alignment shifting [3.2/3.3/3.4] bkoz at gcc dot gnu dot org
2004-07-06 16:52 ` [Bug c++/16389] " bkoz at gcc dot gnu dot org
2004-07-06 16:52 ` bkoz at gcc dot gnu dot org
2004-11-12 0:02 ` pinskia at gcc dot gnu dot org
2005-07-02 1:42 ` pinskia at gcc dot gnu dot org
[not found] <bug-16389-365@http.gcc.gnu.org/bugzilla/>
2006-03-03 17:49 ` 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).