to allow compatibility error checking, and also maybe to enable conditional ".intel_syntax" ... ".att_syntax" bracketing, it might be helpful if the -masm= switch defined a preprocessor variable to indicate the top level syntax?
-- Summary: -masm= option might usefully define a preprocessor macro? Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ajrh at ajrh dot net GCC build triplet: i486-linux-gnu GCC host triplet: i486-linux-gnu GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38680