Commit 904b40e7 by Janis Johnson Committed by Janis Johnson

target-supports.exp (check_effective_target_arm_thumb1_ok, [...]): Test with…

target-supports.exp (check_effective_target_arm_thumb1_ok, [...]): Test with code that passes an argument and returns a result.

	* lib/target-supports.exp (check_effective_target_arm_thumb1_ok,
	check_effective_target_arm_thumb2_ok): Test with code that passes
	an argument and returns a result.

From-SVN: r213818
parent b47595f7
2014-08-11 Janis Johnson <janisjo@codesourcery.com>
* lib/target-supports.exp (check_effective_target_arm_thumb1_ok,
check_effective_target_arm_thumb2_ok): Test with code that passes
an argument and returns a result.
2014-08-11 Richard Biener <rguenther@suse.de>
PR tree-optimization/62075
......
......@@ -2761,6 +2761,7 @@ proc check_effective_target_arm_thumb1_ok { } {
#if !defined(__arm__) || !defined(__thumb__) || defined(__thumb2__)
#error FOO
#endif
int foo (int i) { return i; }
} "-mthumb"]
}
......@@ -2772,6 +2773,7 @@ proc check_effective_target_arm_thumb2_ok { } {
#if !defined(__thumb2__)
#error FOO
#endif
int foo (int i) { return i; }
} "-mthumb"]
}
......
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