https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117777
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>: https://gcc.gnu.org/g:e6d26a21e0369081491941552900ab3cbfdd18a4 commit r15-5662-ge6d26a21e0369081491941552900ab3cbfdd18a4 Author: Gaius Mulley <gaiusm...@gmail.com> Date: Mon Nov 25 22:46:16 2024 +0000 PR modula2/117777: m2 does not allow single const string in asm volatile gm2 does not allow single const string in ASM VOLATILE. The bugfix is to modify AsmOperands in all passes except P3Build.bnf (which is correct). The remaining passes need to make the term following the ConstExpression optional. gcc/m2/ChangeLog: PR modula2/117777 * gm2-compiler/P0SyntaxCheck.bnf (AsmOperands): Allow term after ConstExpression to be optional. * gm2-compiler/P1Build.bnf (AsmOperands): Ditto. * gm2-compiler/P2Build.bnf (AsmOperands): Ditto. * gm2-compiler/PCBuild.bnf (AsmOperands): Ditto. * gm2-compiler/PHBuild.bnf (AsmOperands): Ditto. gcc/testsuite/ChangeLog: PR modula2/117777 * gm2/extensions/asm/pass/conststr.mod: New test. Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>