mirror of git://gcc.gnu.org/git/gcc.git
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
|
|
@ -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>
|
2012-11-03 H.J. Lu <hjl.tools@gmail.com>
|
||||||
Jack Howarth <howarth@bromo.med.uc.edu>
|
Jack Howarth <howarth@bromo.med.uc.edu>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
/* { dg-options "-masm=intel" } */
|
/* { dg-options "-masm=intel" } */
|
||||||
|
/* { dg-require-effective-target masm_intel } */
|
||||||
|
|
||||||
extern void abort (void);
|
extern void abort (void);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4625,6 +4625,15 @@ proc check_effective_target_split_stack {} {
|
||||||
} "-fsplit-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.
|
# Return 1 if the language for the compiler under test is C.
|
||||||
|
|
||||||
proc check_effective_target_c { } {
|
proc check_effective_target_c { } {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue