Skip to content
Snippets Groups Projects
Commit f17e96d0 authored by Jack Howarth's avatar Jack Howarth Committed by H.J. Lu
Browse files

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
No related branches found
No related tags found
No related merge requests found
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>
......
/* { 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 {} { ...@@ -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 { } {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment