[Bug c++/99166] [modules] Unable to determine where CMI is being found

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 25 16:58:36 GMT 2021


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nathan@gcc.gnu.org>:

https://gcc.gnu.org/g:9592deabf3c6b9e23aa7a5b84724672cb7c8d560

commit r11-7399-g9592deabf3c6b9e23aa7a5b84724672cb7c8d560
Author: Nathan Sidwell <nathan@acm.org>
Date:   Thu Feb 25 08:33:05 2021 -0800

    c++: Rename new -flang-note-module-read option [PR 99166]

    I realized that the just-added flang-note-module-read option should
    also cover module writes, and was therefore misnamed.  This addresses
    that, replacing it with a -flang-note-module-cmi pair of options.  As
    this was such a recent addition, I didn't leave the old option
    available.

            PR c++/99166
            gcc/c-family/
            * c.opt (-flang-info-module-cmi): Renamed option.
            gcc/
            * doc/invoke.texi (flang-info-module-cmi): Renamed option.
            gcc/cp/
            * module.cc (module_state::inform_cmi_p): Renamed field.
            (module_state::do_import): Adjust.
            (init_modules, finish_module_processing): Likewise.
            (handle_module_option): Likewise.
            gcc/testsuite/
            * g++.dg/modules/pr99166_a.X: Adjust.
            * g++.dg/modules/pr99166_b.C: Adjust.
            * g++.dg/modules/pr99166_c.C: Adjust.
            * g++.dg/modules/pr99166_d.C: Adjust.


More information about the Gcc-bugs mailing list