https://bugzilla.novell.com/show_bug.cgi?id=331767
Summary: gcc crosscompiler miscompilcation
Product: openSUSE 10.3
Version: Final
Platform: x86
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Development
AssignedTo: matz@novell.com
ReportedBy: jblunck@novell.com
QAContact: qa@suse.de
CC: rguenther@novell.com
Found By: Development
The crosscompiler i386->x86_64 is miscompiling the vararg code found in
openssh's debug function (see bug 331032). The compiler can be found in
/mounts/work2/CDs/icecream/envs/14d9890e01e58367a641b63a2248e063/x86_64.A
testcase is attached.
Miscompilation:
0000000000000540 <debug>:
540: 48 81 ec d8 00 00 00 sub $0xd8,%rsp
547: 48 89 54 24 30 mov %rdx,0x30(%rsp)
54c: 0f b6 d0 movzbl %al,%edx
54f: 48 89 74 24 28 mov %rsi,0x28(%rsp)
554: 48 8d 04 95 00 00 00 lea 0x0(,%rdx,4),%rax
55b: 00
55c: 48 8d 15 2c 00 00 00 lea 0x2c(%rip),%rdx # 58f