https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120855
--- Comment #1 from Nathaniel Shead ---
Created attachment 61747
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61747&action=edit
possible fix
Sorry for the breakage. The issue is this assertion in assemble_name_resolve:
mark_refe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120644, which changed state.
Bug 120644 Summary: [modules] conflicting type for imported declaration with
variable template and auto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120644
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120644
Nathaniel Shead changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120040
Nathaniel Shead changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98735
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 98735, which changed state.
Bug 98735 Summary: ICE with -std=c++20 -fmodules-ts -fsanitize=undefined
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98735
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 118904, which changed state.
Bug 118904 Summary: [modules] ICE with std::source_location::current in inline
function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118904
What|Removed |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118904
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120040, which changed state.
Bug 120040 Summary: Module ICE when constexpr function calls new on class withe
empty destructor.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120040
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120676
--- Comment #4 from Nathaniel Shead ---
(In reply to Larry Smith from comment #3)
> Thanks for the feedback. Will take a look into the "Textual merging of
> reachable GM entities" issue you mentioned. The
> https://gcc.gnu.org/bugzilla/show_bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120644
Nathaniel Shead changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigne
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120676
--- Comment #2 from Nathaniel Shead ---
Ah, I see you actually already reported almost exactly this in PR114990 :) The
message is still "hopefully will be fixed for the next major release" but I
personally have very limited time for OSS things,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120676, which changed state.
Bug 120676 Summary: Internal compiler error: in push_namespace (in modules app)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120676
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99000
Nathaniel Shead changed:
What|Removed |Added
CC||admin at hexadigm dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120676
Nathaniel Shead changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120764, which changed state.
Bug 120764 Summary: redefinition errors when using certain std headers in GMF
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120764
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99000
Nathaniel Shead changed:
What|Removed |Added
CC||furyusss at yahoo dot fr
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120764
Nathaniel Shead changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864
--- Comment #13 from Nathaniel Shead ---
(In reply to Pilar Latiesa from comment #12)
> If sum isn't a template it compiles fine with the current trunk:
> https://godbolt.org/z/4cGfTocj8
Right; it's only an issue if we need to stream the body o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120499
--- Comment #2 from Nathaniel Shead ---
The issue appears to be some confusion over which TU is reponsible for
instantiating the destructor of the existing specialisation 'vector': the
main file thinks that it's already been instantiated because
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120499
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
Ever co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120458
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864
--- Comment #10 from Nathaniel Shead ---
(In reply to Pilar Latiesa from comment #9)
> (In reply to Nathaniel Shead from comment #4)
>
> > The assertion is thrown when streaming the generated function "omp declare
> > reduction Op" because this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120412
Nathaniel Shead changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120414, which changed state.
Bug 120414 Summary: ICE in module serialization - bad file data
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120414
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120414
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120363
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120363, which changed state.
Bug 120363 Summary: internal compiler error: in tree_node, at cp/module.cc:9956
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120363
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120414
Nathaniel Shead changed:
What|Removed |Added
Last reconfirmed||2025-05-23
Blocks|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118829
Nathaniel Shead changed:
What|Removed |Added
CC||cjangus at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120411, which changed state.
Bug 120411 Summary: ICE compiling module relating to typedef struct {}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120411
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120411
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120412
Nathaniel Shead changed:
What|Removed |Added
Keywords||ice-on-valid-code
Ever confirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120406, which changed state.
Bug 120406 Summary: Modules ICE when including spdlog in Global Module Fragment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120406
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120406
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
Res
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080
Nathaniel Shead changed:
What|Removed |Added
CC||chrisi57001 at gmail dot com
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120379
Nathaniel Shead changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|[modules]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120377
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120379
Bug ID: 120379
Summary: [modules] -fdeps-format=p1689r5 causes ICE when two
export module declarations are provided
Product: gcc
Version: 16.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120363
Nathaniel Shead changed:
What|Removed |Added
Last reconfirmed||2025-05-21
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120349, which changed state.
Bug 120349 Summary: [16 regression] std::println link fail with std module
since r16-688-gc875748cdc468e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120350, which changed state.
Bug 120350 Summary: [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set
for imported inline ref of typeid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350
What|Remo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350
Nathaniel Shead changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120013, which changed state.
Bug 120013 Summary: SIGSEGV ICE with modules related to instantiation of
templates across partition units
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349
Nathaniel Shead changed:
What|Removed |Added
Ever confirmed|0 |1
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350
Bug ID: 120350
Summary: [modules] address taken but ‘TREE_ADDRESSABLE’ bit not
set for imported inline ref of typeid
Product: gcc
Version: 16.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120318
Nathaniel Shead changed:
What|Removed |Added
Keywords||needs-bisection
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99000
Nathaniel Shead changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120323
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |DUPLICATE
See Also|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120323, which changed state.
Bug 120323 Summary: ICE when mixing #include and import std
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120323
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013
Nathaniel Shead changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245
Nathaniel Shead changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119844
--- Comment #4 from Nathaniel Shead ---
(In reply to printfne from comment #3)
> Thank you for the solution you proposed. It is indeed very useful. Besides,
> I want to know if the C++ standard has any regulations on the symbols
> exported in th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120160
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245
--- Comment #12 from Nathaniel Shead ---
(In reply to Richard Biener from comment #11)
> (In reply to Nathaniel Shead from comment #10)
> > This is fixed for GCC 15. Unfortunately this patch isn't appropriate for
> > backporting as it will caus
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120125, which changed state.
Bug 120125 Summary: [15/16 Regression] ICE in add_to_same_comdat_group when
using -Os or -fdeclone-ctor-dtor since r15-521-g6ad7ca1bb90573
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125
Nathaniel Shead changed:
What|Removed |Added
Target Milestone|15.0|15.2
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120195
Bug ID: 120195
Summary: [modules] export using of purview 'extern "C++"'
declaration not bound in importers
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keyw
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119938
Nathaniel Shead changed:
What|Removed |Added
CC||rafel.perello at upc dot edu
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120183, which changed state.
Bug 120183 Summary: Incomplete type error in module import
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120183
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120183
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |DUPLICATE
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125
Nathaniel Shead changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigne
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125
--- Comment #6 from Nathaniel Shead ---
Created attachment 61367
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61367&action=edit
clone-4_b.s
This is the testcase I've been using:
$ cat ~/t/modules/clone-4_a.C
// PR c++/120125
// { dg-ad
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125
--- Comment #4 from Nathaniel Shead ---
FWIW I have a WIP patch that fixes the ICE (also for the original testcase):
diff --git a/gcc/cp/optimize.cc b/gcc/cp/optimize.cc
index 6f9a77f407a..fc4d6c2e351 100644
--- a/gcc/cp/optimize.cc
+++ b/gcc/c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 118964, which changed state.
Bug 118964 Summary: include in the module causes a
compilation error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118964
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118964
Nathaniel Shead changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125
Nathaniel Shead changed:
What|Removed |Added
Last reconfirmed||2025-05-06
Status|UNCONFI
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120108
Nathaniel Shead changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120040
Nathaniel Shead changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 119996, which changed state.
Bug 119996 Summary: [modules] Inline reference to a TU-local entity is nulled
when used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119996
What|Removed |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120023
Nathaniel Shead changed:
What|Removed |Added
Target Milestone|--- |15.2
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 120023, which changed state.
Bug 120023 Summary: When using c++ modules, put deduction guide in a separate
module unit file, the deduction will be ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 119938, which changed state.
Bug 119938 Summary: [15/16 Regression][modules] Class type NTTPs are not
considered constant when imported
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119938
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119938
Nathaniel Shead changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119996
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706
--- Comment #9 from Nathaniel Shead ---
Created attachment 61256
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61256&action=edit
test_module_headers.py
Attached is a script I've used for testing random orders of building standard
library
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706
Nathaniel Shead changed:
What|Removed |Added
Target Milestone|--- |15.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 115706, which changed state.
Bug 115706 Summary: Compiling headers as header units fails depending on order.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115692
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115206
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
Ever co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 116671, which changed state.
Bug 116671 Summary: Compiling iostream and string as modules fails if string is
compiled first
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116671
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116671
Nathaniel Shead changed:
What|Removed |Added
Target Milestone|--- |15.0
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013
--- Comment #9 from Nathaniel Shead ---
*** Bug 120016 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120016
Nathaniel Shead changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013
--- Comment #8 from Nathaniel Shead ---
*** Bug 120014 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120014
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120023
Nathaniel Shead changed:
What|Removed |Added
Last reconfirmed||2025-04-30
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983
--- Comment #5 from Nathaniel Shead ---
(In reply to gap mman from comment #4)
> (In reply to Nathaniel Shead from comment #2)
> > Thanks for the report! As Andrew noted, the ICE is fixed for 14.3 by
> > r14-10825-g01d3a974fe3474c37cd52b595c29d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120005
--- Comment #4 from Nathaniel Shead ---
But as Andrew says, you can workaround the issue by declaring it 'inline' to
prevent it from having internal linkage. This will also avoid any issues with
accidental ODR usages from later maintenance.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120005
Nathaniel Shead changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119844
Nathaniel Shead changed:
What|Removed |Added
Keywords||diagnostic
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983
--- Comment #3 from Nathaniel Shead ---
I will note that making the variable internal linkage will silence GCC 15,
since a TU-local variable itself is not an exposure; this is appropriate if you
only need the variable within that TU. For exampl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 119983, which changed state.
Bug 119983 Summary: Member function in unnamed type causes internal compiler
error in module.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983
Nathaniel Shead changed:
What|Removed |Added
CC||nshead at gcc dot gnu.org
K
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119996
Nathaniel Shead changed:
What|Removed |Added
Target Milestone|--- |15.2
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 119863, which changed state.
Bug 119863 Summary: [15 Regression][modules] Bogus conflicting friend template
declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863
What|Removed
1 - 100 of 552 matches
Mail list logo