On Tue, 2013-07-30 at 20:32 +0100, Richard Sandiford wrote:
> "Steve Ellcey " <sell...@mips.com> writes:
> > I have noticed that gcc.target/mips/fpr-moves-7.c and
> > gcc.target/mips/fpr-moves-8.c fail when running the GCC
> > testsuite with -msoft-float.
> 
> Which configuration and test options are you using and what failure do
> you see?  It works for me with mipsisa64-elf, so it sounds like it might
> be configuration-specific.
> 
> With your comment about -msym32, I'm guessing you're running -mabi=64 non-PIC,
> but even mips-sim-idt64/-mabi=64/-msoft-float seems to work with 
> mipsisa64-elf.
> 
> Thanks,
> Richard

It looks like it may be specific to my linux target
(mips-mti-linux-gnu).  With my elf target (mips-mti-elf), I do not get
the error.

Here is the error I get when running the testsuite with -msoft-float,
adding -msym32 to the option list will make the problem go away. Adding
-fno-pic to the options does not fix the problem.

Steve Ellcey
sell...@mips.com


Executing on host: 
/local/home/sellcey/nightly/obj-mips-mti-linux-gnu/gcc/final/gcc/xgcc 
-B/local/home/sellcey/nightly/obj-mips-mti-linux-gnu/gcc/final/gcc/ 
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c 
 -fno-diagnostics-show-caret -fdiagnostics-color=never 
--sysroot=/local/home/sellcey/nightly/install-mips-mti-linux-gnu/sysroot-mips-mti-linux-gnu
  -O0  -DNOMIPS16=__attribute__((nomips16)) 
-DNOMICROMIPS=__attribute__((nomicromips)) 
-DNOCOMPRESSION=__attribute__((nocompression)) -mabi=64 -mips64r2 -EL 
-msoft-float -mgp64 -mlong64 -mno-micromips -DMIPS16=__attribute__((mips16)) -S 
   -o fpr-moves-7.s    (timeout = 300)
spawn /local/home/sellcey/nightly/obj-mips-mti-linux-gnu/gcc/final/gcc/xgcc 
-B/local/home/sellcey/nightly/obj-mips-mti-linux-gnu/gcc/final/gcc/ 
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never 
--sysroot=/local/home/sellcey/nightly/install-mips-mti-linux-gnu/sysroot-mips-mti-linux-gnu
 -O0 -DNOMIPS16=__attribute__((nomips16)) 
-DNOMICROMIPS=__attribute__((nomicromips)) 
-DNOCOMPRESSION=__attribute__((nocompression)) -mabi=64 -mips64r2 -EL 
-msoft-float -mgp64 -mlong64 -mno-micromips -DMIPS16=__attribute__((mips16)) -S 
-o fpr-moves-7.s
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:
 In function 'bar':
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:25:1:
 sorry, unimplemented: MIPS16 PIC for ABIs other than o32 and o64
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:23:1:
 sorry, unimplemented: MIPS16 PIC for ABIs other than o32 and o64
compiler exited with status 1
output is:
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:
 In function 'bar':
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:25:1:
 sorry, unimplemented: MIPS16 PIC for ABIs other than o32 and o64
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:23:1:
 sorry, unimplemented: MIPS16 PIC for ABIs other than o32 and o64
FAIL: gcc.target/mips/fpr-moves-7.c  -O0  (test for excess errors)
Excess errors:
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:25:1:
 sorry, unimplemented: MIPS16 PIC for ABIs other than o32 and o64
/local/home/sellcey/nightly/src/gcc/gcc/testsuite/gcc.target/mips/fpr-moves-7.c:23:1:
 sorry, unimplemented: MIPS16 PIC for ABIs other than o32 and o64



Reply via email to