public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98895] New: C++ module generates too many dead code
@ 2021-01-29 21:46 unlvsur at live dot com
  2021-01-29 21:49 ` [Bug c++/98895] " unlvsur at live dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: unlvsur at live dot com @ 2021-01-29 21:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98895
           Summary: C++ module generates too many dead code
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

It is a general issue. Any module unit will generate a dead entry that is
completely unused.

If those issues cannot be solved, I am sorry, I would only say C++20 modules
failed completely.

I do not think it has anything to do with tree-optimizations. The compiler just
should NOT emit any code to the middle-end because of the module tbh. The
module should not affect how the assembly is generated.

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

end of thread, other threads:[~2022-11-03 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 21:46 [Bug c++/98895] New: C++ module generates too many dead code unlvsur at live dot com
2021-01-29 21:49 ` [Bug c++/98895] " unlvsur at live dot com
2021-01-30  9:38 ` pilarlatiesa at gmail dot com
2022-11-03 13:12 ` ppalka 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).