public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* gas-971208 mips64orion-rtems internal error
@ 1997-12-20 11:00 Joel Sherrill
  1997-12-22  9:19 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Sherrill @ 1997-12-20 11:00 UTC (permalink / raw)
  To: gas2

The public domain floating point test paranoia when compiled by egcs 1.0
generates code which causes an internal error in gas.  I have cut the code
down to the following:

        .file   1 "p1.c"

 # -G value = 8, Cpu = 4650, ISA = 3
 # GNU C version egcs-2.90.21 971202 (egcs-1.00 release)
(mips64orion-rtems) compiled by GNU C version 2.7.2.
 # options passed:  -mcpu=4650
 # options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 # -fpcc-struct-return -fcommon -fverbose-asm -fgnu-linker
-fargument-alias
 # -mgas -mfp64 -mgp64 -meb -mcpu=4650

gcc2_compiled.:
__gnu_compiled_c:
        .globl  One
        .align  3
One:
        .word   0x3ff00000              # 1
        .word   0x00000000
        .globl  paranoia
        .ent    paranoia
paranoia:
        .frame  $fp,72,$31              # vars= 8, regs= 3/1, args= 32,
extra= 0
        .mask   0xc0010000,-16
        .fmask  0x00100000,-8
        s.d     $f0,One

which when assembled as follows:

mips64orion-rtems-as -mcpu=4650 -v p1.s

generates this error message:

p1.s: Assembler messages:
p1.s:23: Internal error!
Assertion failure in macro_build at ../../src/gas/config/tc-mips.c line
2365.
Please report this bug.

This file assembles with a warning about the missing ".end or .bend" with
binutils 2.8.1.

Thanks.

--joel 
Joel Sherrill                    Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (205) 722-9985



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

end of thread, other threads:[~1997-12-22  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-20 11:00 gas-971208 mips64orion-rtems internal error Joel Sherrill
1997-12-22  9:19 ` Ian Lance Taylor
1997-12-22  9:27   ` Joel Sherrill
1997-12-22  9:30     ` Ian Lance Taylor

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).