public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/99166] New: [modules] Unable to determine where CMI is being found @ 2021-02-19 14:33 nathan at gcc dot gnu.org 2021-02-19 17:40 ` [Bug c++/99166] " nathan at gcc dot gnu.org 2021-02-25 16:58 ` cvs-commit at gcc dot gnu.org 0 siblings, 2 replies; 3+ messages in thread From: nathan at gcc dot gnu.org @ 2021-02-19 14:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99166 Bug ID: 99166 Summary: [modules] Unable to determine where CMI is being found Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- If a CMI file is not found one gets a diagnostic saying where it was looking. For include translation -flang-info-include-translate and friends are there to inform. But there is no information when the compiler reads a found CMI, which can be confusing to build system debugging. Add -flang-info-module-cmi and friends in a similar vein to the include-translate informs ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/99166] [modules] Unable to determine where CMI is being found 2021-02-19 14:33 [Bug c++/99166] New: [modules] Unable to determine where CMI is being found nathan at gcc dot gnu.org @ 2021-02-19 17:40 ` nathan at gcc dot gnu.org 2021-02-25 16:58 ` cvs-commit at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: nathan at gcc dot gnu.org @ 2021-02-19 17:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99166 Nathan Sidwell <nathan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> --- bfe83ae38e8 2021-02-19 | c++: Inform of CMI reads [PR 99166] ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/99166] [modules] Unable to determine where CMI is being found 2021-02-19 14:33 [Bug c++/99166] New: [modules] Unable to determine where CMI is being found nathan at gcc dot gnu.org 2021-02-19 17:40 ` [Bug c++/99166] " nathan at gcc dot gnu.org @ 2021-02-25 16:58 ` cvs-commit at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-02-25 16:58 UTC (permalink / raw) To: gcc-bugs 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-25 16:58 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-02-19 14:33 [Bug c++/99166] New: [modules] Unable to determine where CMI is being found nathan at gcc dot gnu.org 2021-02-19 17:40 ` [Bug c++/99166] " nathan at gcc dot gnu.org 2021-02-25 16:58 ` cvs-commit at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).