This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13003] New: Invalid .quad produced
- From: "matt at 3am-software dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Nov 2003 04:02:44 -0000
- Subject: [Bug target/13003] New: Invalid .quad produced
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
unsigned long long foo = 0xfedcba9876543210ULL;
Produces the following assembly:
.file "x.c"
.globl foo
.data
.align 8
.type foo, @object
.size foo, 8
foo:
.quad -81985529216486896
.ident "GCC: (GNU) 3.3.2 (NetBSD nb1 20031026)"
Which generates the following gas errors:
/tmp/ccMG5HBs.s: Assembler messages:
/tmp/ccMG5HBs.s:8: Error: bignum invalid
Note that on a ILP32 host, the quad is split into two .long's:
.long -19088744
.long 1985229328
--
Summary: Invalid .quad produced
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: matt at 3am-software dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64--netbsd
GCC host triplet: x86_64--netbsd
GCC target triplet: i386--netbsdelf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13003