Add check_effective_target_masm_intel
PR target/54255 * lib/target-supports.exp (check_effective_target_masm_intel): New proc. * gcc.target/i386/asm-dialect-1.c: Use dg-require-effective-target masm_intel. From-SVN: r193127
This commit is contained in:
parent
2020066973
commit
f17e96d093
3 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2012-11-03 Jack Howarth <howarth@bromo.med.uc.edu>
|
||||
|
||||
PR target/54255
|
||||
* lib/target-supports.exp (check_effective_target_masm_intel): New
|
||||
proc.
|
||||
* gcc.target/i386/asm-dialect-1.c: Use dg-require-effective-target
|
||||
masm_intel.
|
||||
|
||||
2012-11-03 H.J. Lu <hjl.tools@gmail.com>
|
||||
Jack Howarth <howarth@bromo.med.uc.edu>
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-options "-masm=intel" } */
|
||||
/* { dg-require-effective-target masm_intel } */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
|
|
|
@ -4625,6 +4625,15 @@ proc check_effective_target_split_stack {} {
|
|||
} "-fsplit-stack"]
|
||||
}
|
||||
|
||||
# Return 1 if this target supports the -masm=intel option, 0
|
||||
# otherwise
|
||||
|
||||
proc check_effective_target_masm_intel {} {
|
||||
return [check_no_compiler_messages masm_intel object {
|
||||
extern void abort (void);
|
||||
} "-masm=intel"]
|
||||
}
|
||||
|
||||
# Return 1 if the language for the compiler under test is C.
|
||||
|
||||
proc check_effective_target_c { } {
|
||||
|
|
Loading…
Add table
Reference in a new issue