Commit f17e96d0 by Jack Howarth Committed by H.J. Lu

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
parent 20200669
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>
......
/* { 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 { } {
......
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