This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Xtensa port, part 5: a minor testsuite change
- From: Bob Wilson <bwilson at tensilica dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 30 Nov 2001 11:35:54 -0800
- Subject: Xtensa port, part 5: a minor testsuite change
- Organization: Tensilica, Inc.
Changelog for part 5:
* gcc.c-torture/compile/20001226-1.x: Make this test an expected
failure for Xtensa targets. The test is so big that it exceeds
the allowed range for the jump instruction, and the Xtensa
assembler is not yet capable of relaxing jumps into indirect
jumps.
Index: gcc/testsuite/gcc.c-torture/compile/20001226-1.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20001226-1.x,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20001226-1.x
*** 20001226-1.x 2001/05/21 12:12:51 1.1.2.1
--- 20001226-1.x 2001/11/30 17:41:24
***************
*** 1,8 ****
# This does not assemble on m68hc11 because the function is larger
# than 64K.
global target_triplet
! if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
set torture_compile_xfail "$target_triplet"
return 1
}
--- 1,12 ----
# This does not assemble on m68hc11 because the function is larger
# than 64K.
+ # It doesn't work on Xtensa with -O0 because the function is larger
+ # than the range of a jump instruction (+- 128K) and the assembler
+ # does not yet relax jumps to indirect jumps.
+
global target_triplet
! if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] || [istarget "xtensa-*-*"]} {
set torture_compile_xfail "$target_triplet"
return 1
}