public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98968] New: complete include graph is hard to determine
@ 2021-02-04 14:04 nathan at gcc dot gnu.org
  2021-02-04 14:40 ` [Bug c++/98968] " redi at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-02-04 14:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98968
           Summary: complete include graph is hard to determine
           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: ---

Due to the preprocessor's optimization of idempotent headers, all but the first
are elided from the preprocessed output's location information.  Add an option
to disable that optimization (or equivalent), so that subsequent inclusion
creates a push/pop location pair.

Determining the complete graph is useful for determining a header-unit build
order.

A patch exists on the devel/c++-modules branch 65165eb3f83

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/98968] complete include graph is hard to determine
  2021-02-04 14:04 [Bug c++/98968] New: complete include graph is hard to determine nathan at gcc dot gnu.org
@ 2021-02-04 14:40 ` redi at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2021-02-04 14:40 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Last reconfirmed|                            |2021-02-04
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think I've seen requests for this from users.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-04 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 14:04 [Bug c++/98968] New: complete include graph is hard to determine nathan at gcc dot gnu.org
2021-02-04 14:40 ` [Bug c++/98968] " redi 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).