public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] gcc/as problem: integer operand out of range
@ 2000-07-18 11:47 Thomas Hiller
  2000-07-18 18:13 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Hiller @ 2000-07-18 11:47 UTC (permalink / raw)
  To: linux-ia64

When I compile a c++ program with gcc I get the following messages:

iaxxsldc.S: Assembler messages:
iaxxsldc.S:4791: Error: Bad operand value: integer operand out of range
iaxxsldc.S:4861: Error: Bad operand value: integer operand out of range
iaxxsldc.S:4879: Error: Bad operand value: integer operand out of range
iaxxsldc.S:8895: Error: Bad operand value: integer operand out of range
iaxxsldc.S:8933: Error: Bad operand value: integer operand out of range

where 4791 reads as follows:
add     r32 = -8808, r32

Is this a gas problem ? A gcc problem ?

Thanks in advance.

Kind regards,
Thomas

--
Thomas Hiller                                           thomas.hiller@compaq.com
COMPAQ Computer Corporation                             thomas.hiller@sap.com
Global SAP Solution Center                              Tel: +49 6227 / 7-45426
LinuxLab @ SAP, Walldorf                                Fax: +49 6227 / 7-43027






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

* Re: [Linux-ia64] gcc/as problem: integer operand out of range
  2000-07-18 11:47 [Linux-ia64] gcc/as problem: integer operand out of range Thomas Hiller
@ 2000-07-18 18:13 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2000-07-18 18:13 UTC (permalink / raw)
  To: linux-ia64

	iaxxsldc.S: Assembler messages:

If the compiler generated this instruction, then the compiler is at fault.

However, it looks like you are compiling a hand-written assembly file, because
the filename in the error message ends in .S.  The only way that can happen
is if you feed an assembly file to the compiler.  In this case, the error would
be in the hand-written assembly language code.

Jim



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

end of thread, other threads:[~2000-07-18 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-18 11:47 [Linux-ia64] gcc/as problem: integer operand out of range Thomas Hiller
2000-07-18 18:13 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox