[Bug c++/120499] import std: indirect use of an exported class using a vector yields undefined symbol

2025-06-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120499] import std: indirect use of an exported class using a vector yields undefined symbol

2025-06-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

2025-05-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/120458] module-name does not allow non-ASCII characters

2025-05-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120458 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/119864] [15/16 Regression][modules] ICE with -fmodules and omp reduction of UDT

2025-05-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120412] Modules ICE using decltype and lambda across TUs

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103524] [meta-bug] modules issue

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
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 ---

[Bug c++/120414] ICE in module serialization - bad file data

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120414 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120363] internal compiler error: in tree_node, at cp/module.cc:9956

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120363 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/103524] [meta-bug] modules issue

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
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 ---

[Bug c++/120414] ICE in module serialization - bad file data

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120414 Nathaniel Shead changed: What|Removed |Added Last reconfirmed||2025-05-23 Blocks|

[Bug c++/118829] [modules] ICE in add_indirects emitting template typedef struct

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118829 Nathaniel Shead changed: What|Removed |Added CC||cjangus at gmail dot com --- Comment

[Bug c++/103524] [meta-bug] modules issue

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120411] ICE compiling module relating to typedef struct {}

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120411 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

[Bug c++/120412] Modules ICE using decltype and lambda across TUs

2025-05-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120412 Nathaniel Shead changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|

[Bug c++/103524] [meta-bug] modules issue

2025-05-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
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 ---

[Bug c++/120406] Modules ICE when including spdlog in Global Module Fragment

2025-05-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120406 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org Res

[Bug c++/108080] ICE: in module.cc:core_vals with -fmodule-header and #pragma GCC target / optimize (shows up in fmt)

2025-05-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Nathaniel Shead changed: What|Removed |Added CC||chrisi57001 at gmail dot com --- Comm

[Bug c++/120379] [modules] dependency file generation causes ICE when two export module declarations are provided

2025-05-21 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120379 Nathaniel Shead changed: What|Removed |Added Ever confirmed|0 |1 Summary|[modules]

[Bug c++/120377] ICE with fmtlib and modules

2025-05-21 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120377 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/120379] New: [modules] -fdeps-format=p1689r5 causes ICE when two export module declarations are provided

2025-05-21 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120363] internal compiler error: in tree_node, at cp/module.cc:9956

2025-05-20 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120363 Nathaniel Shead changed: What|Removed |Added Last reconfirmed||2025-05-21 Ever confirmed|0

[Bug c++/120349] [16 regression] std::println link fail with std module since r16-688-gc875748cdc468e

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/103524] [meta-bug] modules issue

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103524] [meta-bug] modules issue

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120350] [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/103524] [meta-bug] modules issue

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120349] [16 regression] std::println link fail with std module since r16-688-gc875748cdc468e

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349 Nathaniel Shead changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug c++/120350] New: [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120318] Module deduced return type error.

2025-05-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120318 Nathaniel Shead changed: What|Removed |Added Keywords||needs-bisection CC|

[Bug c++/99000] [modules] merging of textual redefinitions: declaration std::__copy_move_a2 conflicts with import

2025-05-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99000 Nathaniel Shead changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/120323] ICE when mixing #include and import std

2025-05-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120323 Nathaniel Shead changed: What|Removed |Added Resolution|--- |DUPLICATE See Also|

[Bug c++/103524] [meta-bug] modules issue

2025-05-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
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 ---

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-05-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/118245] [14 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Nathaniel Shead changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/119844] Incomplete types are displayed after the import module

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug libstdc++/120160] Implicitly import std if standard library header is included

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120160 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/118245] [14 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103524] [meta-bug] modules issue

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120125] [15/16 Regression] ICE in add_to_same_comdat_group when using -Os or -fdeclone-ctor-dtor since r15-521-g6ad7ca1bb90573

2025-05-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125 Nathaniel Shead changed: What|Removed |Added Target Milestone|15.0|15.2 Status|ASSIGNED

[Bug c++/120195] New: [modules] export using of purview 'extern "C++"' declaration not bound in importers

2025-05-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119938] [15/16 Regression][modules] Class type NTTPs are not considered constant when imported

2025-05-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119938 Nathaniel Shead changed: What|Removed |Added CC||rafel.perello at upc dot edu --- Comm

[Bug c++/103524] [meta-bug] modules issue

2025-05-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120183] Incomplete type error in module import

2025-05-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120183 Nathaniel Shead changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c++/120125] [15/16 Regression] ICE in add_to_same_comdat_group when using -Os or -fdeclone-ctor-dtor since r15-521-g6ad7ca1bb90573

2025-05-08 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125 Nathaniel Shead changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug c++/120125] [15/16 Regression] ICE in add_to_same_comdat_group when using -Os or -fdeclone-ctor-dtor since r15-521-g6ad7ca1bb90573

2025-05-08 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120125] [15/16 Regression] ICE in add_to_same_comdat_group when using -Os or -fdeclone-ctor-dtor since r15-521-g6ad7ca1bb90573

2025-05-07 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103524] [meta-bug] modules issue

2025-05-07 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/118964] include in the module causes a compilation error

2025-05-07 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118964 Nathaniel Shead changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/120125] [15/16 Regression] ICE in add_to_same_comdat_group when using -Os or -fdeclone-ctor-dtor

2025-05-06 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120125 Nathaniel Shead changed: What|Removed |Added Last reconfirmed||2025-05-06 Status|UNCONFI

[Bug c++/120108] Feature request: Command-line option to rename module

2025-05-06 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120108 Nathaniel Shead changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/120040] Module ICE when constexpr function calls new on class withe empty destructor.

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120040 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Keywords|

[Bug c++/103524] [meta-bug] modules issue

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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 |

[Bug c++/120023] When using c++ modules, put deduction guide in a separate module unit file, the deduction will be ignored

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120023 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.2 Status|ASSIGNED

[Bug c++/103524] [meta-bug] modules issue

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103524] [meta-bug] modules issue

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119938] [15/16 Regression][modules] Class type NTTPs are not considered constant when imported

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119996] [modules] Inline reference to a TU-local entity is nulled when used

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119996 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/115706] Compiling headers as header units fails depending on order.

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/115706] Compiling headers as header units fails depending on order.

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug c++/103524] [meta-bug] modules issue

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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 ---

[Bug c++/115692] C++ module ice

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115692 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/115206] ICE: segfault in code involving C++ modules

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103524] [meta-bug] modules issue

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/116671] Compiling iostream and string as modules fails if string is compiled first

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116671 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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. ***

[Bug c++/120016] SIGSEGV ICE with modules related to instantiation of templates across partition units (case 3)

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120016 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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. ***

[Bug c++/120014] SIGSEGV ICE with modules related to instantiation of templates across partition units (case 2)

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120014 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

[Bug c++/120023] When using c++ modules, put deduction guide in a separate module unit file, the deduction will be ignored

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120023 Nathaniel Shead changed: What|Removed |Added Last reconfirmed||2025-04-30 Ever confirmed|0

[Bug c++/119983] Member function in unnamed type causes internal compiler error in module.

2025-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/120005] TU-local exposure error in constexpr function

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/120005] TU-local exposure error in constexpr function

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120005 Nathaniel Shead changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/119844] Incomplete types are displayed after the import module

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119844 Nathaniel Shead changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c++/119983] Member function in unnamed type causes internal compiler error in module.

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/103524] [meta-bug] modules issue

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119983] Member function in unnamed type causes internal compiler error in module.

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org K

[Bug c++/119996] [modules] Inline reference to a TU-local entity is nulled when used

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119996 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.2 Ever confirmed|0

[Bug c++/103524] [meta-bug] modules issue

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119863] [15 Regression][modules] Bogus conflicting friend template declaration

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/119939] [modules] Constraints attached to defaulted friend functions don't work correctly

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 Nathaniel Shead changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org

[Bug c++/103524] [meta-bug] modules issue

2025-04-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119939, which changed state. Bug 119939 Summary: [modules] Constraints attached to defaulted friend functions don't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 What|Removed

[Bug c++/119939] New: [modules] Constraints attached to defaulted friend functions don't work correctly

2025-04-25 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 Bug ID: 119939 Summary: [modules] Constraints attached to defaulted friend functions don't work correctly Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug c++/119938] New: [15/16 Regression][modules] Class type NTTPs are not considered constant when imported

2025-04-25 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119938 Bug ID: 119938 Summary: [15/16 Regression][modules] Class type NTTPs are not considered constant when imported Product: gcc Version: 15.0 Status: UNCONFIRMED S

[Bug c++/119863] [15 Regression][modules] Bogus conflicting friend template declaration

2025-04-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 Nathaniel Shead changed: What|Removed |Added Summary|[15/16 Regression][modules] |[15 Regression][modules]

[Bug c++/119864] [15/16 Regression][modules] ICE with -fmodules and omp reduction of UDT

2025-04-21 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/119863] [15/16 Regression][modules] Bogus conflicting friend template declaration

2025-04-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 --- Comment #3 from Nathaniel Shead --- FWIW, in the meantime a workaround is to do // ... template class U { template friend class ::T; }; // ... instead.

[Bug c++/119863] [15/16 Regression][modules] Bogus conflicting friend template declaration

2025-04-18 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 Nathaniel Shead changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug c++/119863] [15/16 Regression][modules] Bogus conflicting friend template declaration

2025-04-18 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119863 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/119764] noexcept lambdas do not have unused captures get pruned

2025-04-15 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119764 --- Comment #1 from Nathaniel Shead --- The thread at https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680971.html has a patch. Note that there are potential ABI concerns as this changes the size and contents of the lambdas.

[Bug c++/103524] [meta-bug] modules issue

2025-04-15 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119755, which changed state. Bug 119755 Summary: type_traits:828:11: fatal error: failed to load pendings for 'std::__is_one_of' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119755 What|Removed

[Bug c++/119755] type_traits:828:11: fatal error: failed to load pendings for 'std::__is_one_of'

2025-04-15 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119755 Nathaniel Shead changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/103524] [meta-bug] modules issue

2025-04-13 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119762, which changed state. Bug 119762 Summary: [modules] Error when loading an unused defaulted function on top of a used one https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119762 What|Removed

[Bug c++/119762] [modules] Error when loading an unused defaulted function on top of a used one

2025-04-13 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119762 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0 Status|ASSIGNED

[Bug c++/119755] type_traits:828:11: fatal error: failed to load pendings for 'std::__is_one_of'

2025-04-12 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119755 --- Comment #5 from Nathaniel Shead --- Created attachment 61091 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61091&action=edit pr119755_patch Patch I'm testing for this issue.

[Bug c++/119764] New: noexcept lambdas do not have unused captures get pruned

2025-04-12 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119764 Bug ID: 119764 Summary: noexcept lambdas do not have unused captures get pruned Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/103524] [meta-bug] modules issue

2025-04-12 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119763, which changed state. Bug 119763 Summary: [modules] Declarations in extern "C++" incorrectly treated as attached to named module https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119763 What|Removed

[Bug c++/119763] [modules] Declarations in extern "C++" incorrectly treated as attached to named module

2025-04-12 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119763 Nathaniel Shead changed: What|Removed |Added Resolution|--- |INVALID Status|ASSIGNED

  1   2   3   4   5   6   >