public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16981] New: Different output between g++3.5 on Mac and g++3.3.3 on Suses
@ 2004-08-11 15:37 yanliu at ca dot ibm dot com
2004-08-11 15:38 ` [Bug c++/16981] " yanliu at ca dot ibm dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: yanliu at ca dot ibm dot com @ 2004-08-11 15:37 UTC (permalink / raw)
To: gcc-bugs
Using g++3.5 on powerpc Apple MacOS system, I am getting different execution
result than using g++3.3.
With g++3.5, the execution result is:
The size of c0=8 and of c1=12 and c1::c0=8
Byte 0 has value 0
Byte 1 has value 0
Byte 2 has value 0
Byte 3 has value 0
Byte 4 has value 0
Byte 5 has value 0
Byte 6 has value 0
Byte 7 has value 0
Byte 8 has value 63
Byte 9 has value -128
Byte 10 has value 0
Byte 11 has value 0
With g++3.3(gcc version 3.3.3 on SuSE Linux), the execution result is:
The size of c0=8 and of c1=12 and c1::c0=8
Byte 0 has value 0
Byte 1 has value 0
Byte 2 has value 0
Byte 3 has value 0
Byte 4 has value 0
Byte 5 has value 0
Byte 6 has value 0
Byte 7 has value 0
Byte 8 has value 63
Byte 9 has value 128
Byte 10 has value 0
Byte 11 has value 0
Byte 9 has different values for the two compilers. I am not sure the comparison
between different gcc versions on different platforms are valid or not. But
running g++3.3 on MacOS, gives the same result as g++3.5 on MacOS. Could you
please verify if this is compiler regression? Thanks.
--
Summary: Different output between g++3.5 on Mac and g++3.3.3 on
Suses
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yanliu at ca dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: gcc version 3.5.0-tree-ssa 20040321 (merged 20040529)
(Apple Com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16981
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-11 17:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11 15:37 [Bug c++/16981] New: Different output between g++3.5 on Mac and g++3.3.3 on Suses yanliu at ca dot ibm dot com
2004-08-11 15:38 ` [Bug c++/16981] " yanliu at ca dot ibm dot com
2004-08-11 16:02 ` pinskia at gcc dot gnu dot org
2004-08-11 17:43 ` bangerth at dealii 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).