public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109660] New: module path inconsistency
@ 2023-04-28  6:58 jbeulich at suse dot com
  0 siblings, 0 replies; only message in thread
From: jbeulich at suse dot com @ 2023-04-28  6:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109660
           Summary: module path inconsistency
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jbeulich at suse dot com
  Target Milestone: ---

The pathname underneath gcm.cache/ is determined from the effective name
used for the main input file of a particular module. When modules are
built, no canonicalization occurs for the main input file. Hence the
module file wouldn't be found if a different (the canonicalized) file
name was used when importing that same module. This is an effect of
importing happening in the preprocessor, just like #include handling.

See also (and quoted from) commit d76c343d6a62 working around the issue in the
testsuite.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-28  6:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28  6:58 [Bug c++/109660] New: module path inconsistency jbeulich at suse dot com

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).