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
This commit is contained in:
parent
b47595f765
commit
904b40e75e
@ -1,3 +1,9 @@
|
||||
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"]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user