Commit 3595b91f by Stephane Carrez Committed by Stephane Carrez

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
parent ef1ecf87
2003-03-02 Stephane Carrez <stcarrez@nerim.fr> 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 * gcc.c-torture/compile/920501-12.x: New file, must pass -mshort
for HC11/HC12 (array is too large otherwise). for HC11/HC12 (array is too large otherwise).
* gcc.c-torture/compile/920501-4.x: New file, likewise. * gcc.c-torture/compile/920501-4.x: New file, likewise.
......
# 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
# 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment