960312-1.x: New file, must pass -mshort for HC11/HC12 (asm needs two int registers).
* gcc.c-torture/execute/960312-1.x: New file, must pass -mshort for HC11/HC12 (asm needs two int registers). * gcc.c-torture/compile/20020312-1.x: New file, don't execute on HC11/HC12 because the test uses an asm which needs two 32-bit registers. From-SVN: r63697
This commit is contained in:
parent
ef1ecf87a6
commit
3595b91fd2
@ -1,3 +1,11 @@
|
||||
2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* gcc.c-torture/execute/960312-1.x: New file, must pass -mshort
|
||||
for HC11/HC12 (asm needs two int registers).
|
||||
* gcc.c-torture/compile/20020312-1.x: New file, don't execute on
|
||||
HC11/HC12 because the test uses an asm which needs two 32-bit
|
||||
registers.
|
||||
|
||||
2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* gcc.c-torture/compile/920501-12.x: New file, must pass -mshort
|
||||
|
6
gcc/testsuite/gcc.c-torture/compile/20020312-1.x
Normal file
6
gcc/testsuite/gcc.c-torture/compile/20020312-1.x
Normal file
@ -0,0 +1,6 @@
|
||||
# This does not compile on HC11/HC12 due to the asm which requires
|
||||
# two 32-bit registers.
|
||||
if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
|
||||
return 1
|
||||
}
|
||||
return 0
|
7
gcc/testsuite/gcc.c-torture/execute/960312-1.x
Normal file
7
gcc/testsuite/gcc.c-torture/execute/960312-1.x
Normal file
@ -0,0 +1,7 @@
|
||||
# This test fails on HC11/HC12 when it is compiled without -mshort because
|
||||
# is uses an asm that requires two 32-bit registers (int). It passes
|
||||
# when using -mshort because there are enough registers; force -mshort.
|
||||
if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
|
||||
set options "-mshort"
|
||||
}
|
||||
return 0
|
Loading…
Reference in New Issue
Block a user