mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 08:40:30 +08:00
target-supports.exp (check_effective_target_arm_thumb1_ok): New.
* lib/target-supports.exp (check_effective_target_arm_thumb1_ok): New. * g++.dg/inherit/thunk8.C: Use it. From-SVN: r138143
This commit is contained in:
parent
7ad8d488b1
commit
4a0c473d52
@ -1,3 +1,9 @@
|
||||
2008-07-25 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_arm_thumb1_ok):
|
||||
New.
|
||||
* g++.dg/inherit/thunk8.C: Use it.
|
||||
|
||||
2008-07-24 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* gcc.dg/winline-4.c: Remove.
|
||||
|
@ -3,7 +3,7 @@
|
||||
Make sure that won't happen anymore. */
|
||||
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm32 } */
|
||||
/* { dg-require-effective-target arm_thumb1_ok } */
|
||||
/* { dg-options "-mthumb -fPIC" } */
|
||||
|
||||
struct A {
|
||||
|
@ -1249,6 +1249,17 @@ proc check_effective_target_arm_neon_ok { } {
|
||||
}
|
||||
}
|
||||
|
||||
# Return 1 is this is an ARM target where -mthumb causes Thumb-1 to be
|
||||
# used.
|
||||
|
||||
proc check_effective_target_arm_thumb1_ok { } {
|
||||
return [check_no_compiler_messages arm_thumb1_ok assembly {
|
||||
#if !defined(__arm__) || !defined(__thumb__) || defined(__thumb2__)
|
||||
#error FOO
|
||||
#endif
|
||||
} "-mthumb"]
|
||||
}
|
||||
|
||||
# Return 1 if the target supports executing NEON instructions, 0
|
||||
# otherwise. Cache the result.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user