https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120188

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Gaius Mulley
<ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:df1407f2122ec6e670d700c090e765d0a06859ee

commit r15-9672-gdf1407f2122ec6e670d700c090e765d0a06859ee
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Tue May 13 16:48:52 2025 +0100

    [PATCH] PR modula2/120188: documented example does not work assignvalue
m2plugin

    This patch corrects the gm2 command line used in the documentation
    to invoke the m2-plugin.  The patch also includes the documentation
    example in dejagnu test code with an expect script to check whether
    plugins were enabled.

    gcc/ChangeLog:

            PR modula2/120188
            * doc/gm2.texi (Semantic checking): Add -fm2-plugin command line
option.

    gcc/testsuite/ChangeLog:

            PR modula2/120188
            * lib/gm2-dg.exp (gm2-dg-frontend-configure-check): New function.
            (gm2-dg-runtest): Add -O2 to the option_list.
            * gm2.dg/doc/examples/plugin/fail/assignvalue.mod: New test.
            * gm2.dg/doc/examples/plugin/fail/doc-examples-plugin-fail.exp: New
test.

    (cherry picked from commit 9ce4c801e8275fcf0336ae2fb548f6ebb3ca068b)

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to