floating point operations in gcc 3.3.3, glibc 2.3.2

Kunjan Naik KNaik@ixiacom.com
Thu Jun 17 18:49:00 GMT 2004


 Hi,
  We were able to successfully build a toolchain using Dan's
crosstool-0.28-rc19 for x86 to ppc-750 and x86 to ppc405 architecture. GCC
3.3.3, GLIBC 2.3.2 and 2.6 kernel headers were used to build the toolchain.
But we observed that all testcases (from GCC regression testsuite) for gcc
3.3.3 with any floating point operations are failing. This happens only for
ppc-750 with hardware floating point unit support. 
  
The gcc regression test summary:
 
----------------------------------------------------------------------------
--------------------
 
 LAST_UPDATED: gcc-3.3.3
  
Target is powerpc-750-linux-gnu
 
Host   is i686-host_pc-linux-gnu
 
=== gcc tests ===
Running target powerpc-750-linux-gnu

FAIL: gcc.c-torture/execute/920501-8.c execution,  -O0 
 
FAIL: gcc.c-torture/execute/920501-8.c execution,  -O1 
 
FAIL: gcc.c-torture/execute/920501-8.c execution,  -O2 
 
FAIL: gcc.c-torture/execute/920501-8.c execution,  -O3 -fomit-frame-pointer 
 
FAIL: gcc.c-torture/execute/920501-8.c execution,  -O3 -g 
 
FAIL: gcc.c-torture/execute/920501-8.c execution,  -Os 
 
FAIL: gcc.c-torture/execute/930513-1.c execution,  -O0 
 
FAIL: gcc.c-torture/execute/930513-1.c execution,  -O1 
 
FAIL: gcc.c-torture/execute/930513-1.c execution,  -O2 
 
FAIL: gcc.c-torture/execute/930513-1.c execution,  -O3 -fomit-frame-pointer 
 
FAIL: gcc.c-torture/execute/930513-1.c execution,  -O3 -g 
 
FAIL: gcc.c-torture/execute/930513-1.c execution,  -Os 
 
FAIL: gcc.c-torture/execute/980709-1.c execution,  -O0 
 
FAIL: gcc.c-torture/execute/980709-1.c execution,  -O1 
 
FAIL: gcc.c-torture/execute/980709-1.c execution,  -O2 
 
FAIL: gcc.c-torture/execute/980709-1.c execution,  -O3 -fomit-frame-pointer 
 
FAIL: gcc.c-torture/execute/980709-1.c execution,  -O3 -g 
 
FAIL: gcc.c-torture/execute/980709-1.c execution,  -Os 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -O0 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -O1 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -O2 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -O3 -fomit-frame-pointer 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -O3 -fomit-frame-pointer
-funroll-loops 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -O3 -g 
 
FAIL: gcc.c-torture/execute/990826-0.c execution,  -Os 
 
FAIL: gcc.c-torture/execute/struct-ret-1.c execution,  -O0 
 
FAIL: gcc.c-torture/execute/struct-ret-1.c execution,  -O1 
 
FAIL: gcc.c-torture/execute/struct-ret-1.c execution,  -O3
-fomit-frame-pointer 
 
FAIL: gcc.c-torture/execute/struct-ret-1.c execution,  -O3 -g 
 
FAIL: gcc.c-torture/execute/struct-ret-1.c execution,  -Os 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O0 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O1 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O2 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O3
-fomit-frame-pointer 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O3 -g 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -Os 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O0 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O1 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O2 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O3
-fomit-frame-pointer 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -O3 -g 
 
FAIL: gcc.c-torture/execute/ieee/920810-1.c execution,  -Os 
 
FAIL: gcc.dg/20020103-1.c scan-assembler-not LC
 
FAIL: gcc.dg/altivec-5.c (test for excess errors)
 
FAIL: gcc.dg/duff-2.c (test for excess errors)
 
FAIL: gcc.dg/special/gcsec-1.c (test for excess errors)
 
FAIL: gcc.misc-tests/bprob-1.c execution: file bprob-1.da does not exist,
-g  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-1.c compilation,  -g
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-1.c execution,    -g
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-1.c execution: file bprob-1.da does not exist,
-O0  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-1.c compilation,  -O0
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-1.c execution,    -O0
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-1.c execution: file bprob-1.da does not exist,
-O1  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-1.c compilation,  -O1
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-1.c execution,    -O1
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-1.c execution: file bprob-1.da does not exist,
-O2 -DPERFTIME  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-1.c compilation,  -O2 -DPERFTIME
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-1.c execution,    -O2 -DPERFTIME
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-1.c execution: file bprob-1.da does not exist,
-O3 -DPERFTIME  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-1.c compilation,  -O3 -DPERFTIME
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-1.c execution,    -O3 -DPERFTIME
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-1.c execution: file bprob-1.da does not exist,
-O3 -g -DPERFTIME  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-1.c compilation,  -O3 -g -DPERFTIME
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-1.c execution,    -O3 -g -DPERFTIME
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-1.c execution: file bprob-1.da does not exist,
-Os  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-1.c compilation,  -Os
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-1.c execution,    -Os
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-2.c execution: file bprob-2.da does not exist,
-g  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-2.c compilation,  -g
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-2.c execution,    -g
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-2.c execution: file bprob-2.da does not exist,
-O0  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-2.c compilation,  -O0
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-2.c execution,    -O0
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-2.c execution: file bprob-2.da does not exist,
-O1  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-2.c compilation,  -O1
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-2.c execution,    -O1
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-2.c execution: file bprob-2.da does not exist,
-O2 -DPERFTIME  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-2.c compilation,  -O2 -DPERFTIME
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-2.c execution,    -O2 -DPERFTIME
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-2.c execution: file bprob-2.da does not exist,
-O3 -DPERFTIME  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-2.c compilation,  -O3 -DPERFTIME
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-2.c execution,    -O3 -DPERFTIME
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-2.c execution: file bprob-2.da does not exist,
-O3 -g -DPERFTIME  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-2.c compilation,  -O3 -g -DPERFTIME
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-2.c execution,    -O3 -g -DPERFTIME
-fbranch-probabilities
 
FAIL: gcc.misc-tests/bprob-2.c execution: file bprob-2.da does not exist,
-Os  -fprofile-arcs
 
UNRESOLVED: gcc.misc-tests/bprob-2.c compilation,  -Os
-fbranch-probabilities
 
UNRESOLVED: gcc.misc-tests/bprob-2.c execution,    -Os
-fbranch-probabilities
                        === gcc Summary ===
# of expected passes                 21423
# of unexpected failures  61
# of expected failures                 67
# of unresolved testcases           28
# of unsupported tests                185

----------------------------------------------------------------------------
---------------------------------- 
 
Is this a bug in code generation for floating point operations?
Thanks
 
kunjan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list