[Bug libstdc++/99413] New: internal library headers are not header-unit ready

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- We're attempting to build the std library as a bunch of header-units. The include graph partitioner naturally discovers that internal headers from bits/ are inc

[Bug c++/99389] [modules] bad serialization of data

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99389 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/99389] New: [modules] bad serialization of data

2021-03-04 Thread nathan at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Triaging 99377 runs into this: // bug_a.ii template class basic_string_view { public: basic_string_view(const _CharT* __str) noexcept {} bool empty() const noexcept { return

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2021-03-04 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 Nathan Sidwell changed: What|Removed |Added Last reconfirmed||2021-03-04 Ever confirmed|0

[Bug c++/99170] [modules] ICE in get_merge_kind with std::string NSDMI

2021-03-04 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs

2021-03-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98528 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs

2021-03-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98528 --- Comment #6 from Nathan Sidwell --- do you have preprocessed source for those other failing platforms? my guess is they have different system headers, particularly around threading?

[Bug c++/99344] [modules] import failure with intermediate namespace

2021-03-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99344 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99344] [modules] import failure with intermediate namespace

2021-03-02 Thread nathan at gcc dot gnu.org via Gcc-bugs
||2021-03-02 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99344] New: [modules] import failure with intermediate namespace

2021-03-02 Thread nathan at gcc dot gnu.org via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- found during work on 99170 // bug_a.ii module ; # 4 "bug_a.ii" 1 namespace STD::RANGES::INNER { void Frob (); } struct gnu_char_traits { void Frob()

[Bug c++/99294] [modules] tdef-inst-1 fails with -fno-module-lazy

2021-03-01 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99294 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99294] [modules] tdef-inst-1 fails with -fno-module-lazy

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
||2021-02-26 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99294] New: [modules] tdef-inst-1 fails with -fno-module-lazy

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- In working on 99170 I hit a new assert, that appears unrelated to the 99170 WIP. ./cc1plus -fmodules-ts tdef-inst-1_a.C -quiet ./cc1plus -fmodules-ts tdef-inst-1_b.C -quiet

[Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99246, which changed state. Bug 99246 Summary: [modules] ICE in write_location, at cp/module.cc:15687 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99246 What|Removed |Added -

[Bug c++/98718] [modules] use of partitions causes ICE in write_macro_maps

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718 --- Comment #6 from Nathan Sidwell --- *** Bug 99246 has been marked as a duplicate of this bug. ***

[Bug c++/99246] [modules] ICE in write_location, at cp/module.cc:15687

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99246 Nathan Sidwell changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/98718] [modules] use of partitions causes ICE in write_macro_maps

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718 Nathan Sidwell changed: What|Removed |Added CC||alexander.lelyakin@googlema

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99237, which changed state. Bug 99237 Summary: [modules] internal compiler error: in write_macro_maps https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99237 What|Removed |Added -

[Bug c++/99237] [modules] internal compiler error: in write_macro_maps

2021-02-26 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99237 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/98318] [11 Regression] libcody breaks DragonFly bootstrap

2021-02-25 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98318 --- Comment #16 from Nathan Sidwell --- Which tests are failing and how?

[Bug c++/98718] [modules] use of partitions causes ICE in write_macro_maps

2021-02-24 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99170] [modules] ICE in get_merge_kind with std::string NSDMI

2021-02-24 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170 --- Comment #2 from Nathan Sidwell --- Thanks for checking this didn't seem a duplicate! Reduced tescase: // 99170_a.H namespace STD { class string { public: template string (const T *); }; } // 99170_b.C export module test; import "99170_

[Bug c++/99170] [modules] ICE in get_merge_kind with std::string NSDMI

2021-02-24 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/99072] [modules] Compiling header unit with partial preprocessing (-E -fdirectives-only) twice causes CRC mismatch

2021-02-24 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072 Nathan Sidwell changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/99237] [modules] internal compiler error: in write_macro_maps

2021-02-24 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99237 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/98707] ICE using std::string in a module partition

2021-02-24 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98707 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/99072] [modules] Compiling header unit with partial preprocessing (-E -fdirectives-only) twice causes CRC mismatch

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072 --- Comment #5 from Nathan Sidwell --- 99072_a.H: // Empty file 99072_b.C: export module Foo; import "99072_a.H"; 99072_c.C: import Foo; ./cc1plus -quiet -E -fdirectives-only -fmodule-header -E 99072_a.H > 99072_a.one ./cc1plus -quiet -fprepro

[Bug c++/99227] New: [meta] [modules] Bugs relating to header-units of STL header files

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Capture bugs related to building the standard library headers as header-units

[Bug c++/98718] [modules] use of partitions causes ICE in write_macro_maps

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718 --- Comment #2 from Nathan Sidwell --- reduced testcase: // b_a.ii module ; # 4 "inc_a" 1 #define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V))) namespace std _GLIBCXX_VISIBILITY(default) { } # 11 "" 2 export module hello:for

[Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 --- Comment #8 from Nathan Sidwell --- 99222 and 99223 filed. Please file each case as a separate issue. So far, they've all been different underlying causes. It might make sense to have a meta-bug referring to this class of issue.

[Bug c++/99223] New: [modules] stdl header-unit ICE

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- I have found two another sequences of system headers that cannot be compiled: - g++ -std=c++20 -fmodules-ts -x c++-system-header utility g++ -std=c++20 -fmodules-ts -x c++-system

[Bug c++/99222] New: [modules] system header-unit ICEs

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Another, shorter sequence: g++ -std=c++20 -fmodules-ts -x c++-system-header new g++ -std=c++20 -fmodules-ts -x c++-system-header initializer_list g++ -std=c++20 -fmodules-ts -x c

[Bug c++/99208] [modules] ICE with partitions & instantiations of linkage-typedef structs

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99208 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99208] [modules] ICE with partitions & instantiations of linkage-typedef structs

2021-02-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
dot gnu.org |nathan at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2021-02-22

[Bug c++/99208] New: [modules] ICE with partitions & instantiations of linkage-typedef structs

2021-02-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
rity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Triaging 98718 ran into this: // b_a.ii module; # 3 "b_a.ii" 1 typedef struct {} __mbstate_t; template class

[Bug c++/99174] [modules] ICE with recursive inclusion of header-unit

2021-02-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99174 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/98718] [modules] use of partitions causes ICE in write_macro_maps

2021-02-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency

2021-02-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99174] [modules] ICE with recursive inclusion of header-unit

2021-02-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99174 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency

2021-02-19 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 --- Comment #2 from Nathan Sidwell --- // B_a.ii template struct pair { inline void Frob (); }; // B_b.ii import "./B_a.ii" template inline void pair<_T1>::Frob() { } ./cc1plus -quiet -std=c++20 -fmodule-header -fpreprocessed B_a.ii && .

[Bug c++/99174] New: [modules] ICE with recursive inclusion of header-unit

2021-02-19 Thread nathan at gcc dot gnu.org via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- self-inclusion considered dangerous // 1_b.ii import "./1_b.ii"; ./cc1plus -quiet -std=c++20 -fmodule-header 1_b.ii 1_b.ii:1:1

[Bug c++/98741] [modules] ICE/SIGSEGV reading compiled module cluster

2021-02-19 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98741 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99166] [modules] Unable to determine where CMI is being found

2021-02-19 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99166 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/98967] warning to spot recursive include graph

2021-02-19 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98967 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99166] New: [modules] Unable to determine where CMI is being found

2021-02-19 Thread nathan at gcc dot gnu.org via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- If a CMI file is not found one gets a diagnostic saying where it was looking. For include translation -flang-info-include-translate and friends are there to inform

[Bug c++/99153] [11 Regression] ICE: tree check: expected binding_vector, have overload in maybe_record_mergeable_decl, at cp/name-lookup.c:3562

2021-02-19 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 --- Comment #1 from Nathan Sidwell --- I think this is a duplicate of 99071, which hadn't been done when Mattias tested. However, I am getting a different ICE: devvm1702:235>./xg++ -B./ -nostdinc++ -I../x86_64-pc-linux-gnu/libstdc++-v3/include

[Bug testsuite/99150] New tests in r11-7271 fail to compile

2021-02-18 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99150 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99153] [11 Regression] ICE: tree check: expected binding_vector, have overload in maybe_record_mergeable_decl, at cp/name-lookup.c:3562

2021-02-18 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug testsuite/99150] New tests in r11-7271 fail to compile

2021-02-18 Thread nathan at gcc dot gnu.org via Gcc-bugs
||2021-02-18 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED

[Bug c++/98741] [modules] ICE/SIGSEGV reading compiled module cluster

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98741 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/99072] [modules] Compiling header unit with partial preprocessing (-E -fdirectives-only) twice causes CRC mismatch

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072 --- Comment #3 from Nathan Sidwell --- Cannot reproduce: devvm1702:150>./xg++ -B./ -nostdinc++ -I../x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I../x86_64-pc-linux-gnu/libstdc++-v3/include -I../../..//src/libstdc++-v3/libsupc++

[Bug c++/99071] [modules] ICE with initializer_list & iostream

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071 Nathan Sidwell changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug c++/99023] [modules] ICE/SIGSEGV in module_state::write_define

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99023 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/99135] [modules] implementation partitions are too visible

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2021-02-17 Keywords||accepts-invalid Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99135] New: [modules] implementation partitions are too visible

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- imported implementation partitions are exported :( // p_a.ii module Foo:A; void frob (); // p_b.ii export module Foo; import :A; // p_c.ii module Foo; void f () { frob

[Bug c++/99071] [modules] ICE with initializer_list & iostream

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|SUSPENDED --- Comment #4 from Nathan Si

[Bug c++/99071] [modules] ICE with initializer_list & iostream

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071 --- Comment #3 from Nathan Sidwell --- d46c7e2c546 2021-02-17 | c++: ICE with header-units [PR 99071] but there's now an ICE in write_defines. (reported elsewhere too)

[Bug c++/99116] [11 Regression] ICE in set_identifier_type_value_with_scope, at cp/name-lookup.c:4764

2021-02-17 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99116 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99071] [modules] ICE with initializer_list & iostream

2021-02-16 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071 --- Comment #1 from Nathan Sidwell --- Reduced testcase: // 99071_a.H template void begin (T *); // 99071_b.H import "99071_a.H"; template void begin(T &); ./cc1plus -fmodule-header -quiet -std=c++17 99071_a.H ./cc1plus -fmodule-header -quiet

[Bug c++/99050] [modules] ICE in cpp_directive_only_process on include translation

2021-02-16 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99050 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/99072] [modules] Compiling header unit with partial preprocessing (-E -fdirectives-only) twice causes CRC mismatch

2021-02-16 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072 Nathan Sidwell changed: What|Removed |Added Last reconfirmed||2021-02-16 Status|UNCONFIRM

[Bug c++/98719] [modules] translating importable standard headers causes various ICEs

2021-02-16 Thread nathan at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |SUSPENDED --- Comment #2 from Nathan Sidwell --- We'll revisit this later

[Bug c++/98720] [modules] update __cpp_modules value

2021-02-16 Thread nathan at gcc dot gnu.org via Gcc-bugs
||2021-02-16 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Nathan Sidwell --- not all of c++20 is implemented

[Bug c++/99116] [11 Regression] ICE in set_identifier_type_value_with_scope, at cp/name-lookup.c:4764

2021-02-16 Thread nathan at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99040] [modules] partitions & using declarations

2021-02-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99040 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99039] cross-module using declarations

2021-02-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99039] cross-module using declarations

2021-02-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039 --- Comment #2 from Nathan Sidwell --- 8c4137c7ead 2021-02-12 | c++: Seed imported bindings [PR 99039]

[Bug c++/99071] [modules] ICE with initializer_list & iostream

2021-02-11 Thread nathan at gcc dot gnu.org via Gcc-bugs
||2021-02-11 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99071] New: [modules] ICE with initializer_list & iostream

2021-02-11 Thread nathan at gcc dot gnu.org via Gcc-bugs
t: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- build initializer_list as a header unit, then attempt to build iostream as one: obj/x86_64/gcc/xg++ -Bobj/x86_64/gcc/ -nostdinc++ -Iobj/x86_64/x86_64-pc-linux-gnu/libstdc+

[Bug c++/99040] [modules] partitions & using declarations

2021-02-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
dot gnu.org |nathan at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2021-02-10

[Bug c++/99030] [11 Regression] ICE in finish_expr_stmt, at cp/semantics.c:776

2021-02-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99030 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99040] New: [modules] partitions & using declarations

2021-02-09 Thread nathan at gcc dot gnu.org via Gcc-bugs
t: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- triaged from pr98760 // t1.ii export module format; export namespace NS { void Format (); } // t2.ii export module hello:check; export namespace NS {} // t3.ii ex

[Bug c++/99039] cross-module using declarations

2021-02-09 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99039] New: cross-module using declarations

2021-02-09 Thread nathan at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- triaged from pr98760 // t1.ii export module format; export namespace NS { void Format (); } // t3.ii export module hello; import format; export namespace NS { using NS::Format

[Bug c++/98944] [modules] Failed to read compiled module with a non-exported partition.

2021-02-09 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98944 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98944] [modules] Failed to read compiled module with a non-exported partition.

2021-02-09 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98944 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/99000] [modules] declaration std::__copy_move_a2 conflicts with import

2021-02-08 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99000 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |SUSPENDED Last reconfirmed|

[Bug c++/98531] [11 Regression] g++.dg/modules/xtreme-header-2_a.H etc. FAIL

2021-02-08 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #12 from Nathan Sid

[Bug driver/98943] [11 Regression] gcc driver does not fail on unknown files: tricks configure scripts to recognize /W4 and -diag-disable 1,2,3,4 options

2021-02-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98943 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98968] New: complete include graph is hard to determine

2021-02-04 Thread nathan at gcc dot gnu.org via Gcc-bugs
++ 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 di

[Bug c++/98967] New: warning to spot recursive include graph

2021-02-04 Thread nathan at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- recursive headers can slip in unnoticed (eg the new<...>exception loop found in 2020). Often these are harmless, but with c++20 header-units they can be fatal. They are h

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-02-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #9 from Nathan Sidwell --- This is highlighting a missing diagnostic on: export module A; class A; // forward declaration export class A {}; // <-- here, cannot add 'export'

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2021-02-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 --- Comment #2 from Nathan Sidwell --- Created attachment 50120 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50120&action=edit reduced testcase

[Bug driver/98943] [11 Regression] gcc driver does not fail on unknown files: tricks configure scripts to recognize /W4 and -diag-disable 1,2,3,4 options

2021-02-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98943 --- Comment #6 from Nathan Sidwell --- spotted the 'file file' typo in the linker error, btw

[Bug driver/98943] [11 Regression] gcc driver does not fail on unknown files: tricks configure scripts to recognize /W4 and -diag-disable 1,2,3,4 options

2021-02-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98943 --- Comment #5 from Nathan Sidwell --- Created attachment 50119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50119&action=edit proposed direction Here's a test patch. As Jakub points out, we pass -d$ANYTHING to the compiler, it is the f

[Bug driver/98943] [11 Regression] gcc driver does not fail on unknown files: tricks configure scripts to recognize /W4 and -diag-disable 1,2,3,4 options

2021-02-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #3 from Nathan Sidwell --- sad face. It seems wrong for the driver to duplicate the file-location logic of each of the various compilers. But these failure modes are unsatisfactory too. Perhaps the driver should reject all

[Bug c++/98531] [11 Regression] g++.dg/modules/xtreme-header-2_a.H etc. FAIL

2021-02-02 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531 --- Comment #10 from Nathan Sidwell --- while I didn't expect https://gcc.gnu.org/pipermail/gcc-patches/2021-January/564224.html to fix the reported failure, I did hope for progress. (the original failure is tickling a chain of events). I reali

[Bug c++/98893] start_cleanup_cnt needs modularizing

2021-02-01 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98893 --- Comment #1 from Nathan Sidwell --- I think the right direction is to use lambdas. That would make the cleanup function have a scope attached or related to the variable being dtord. Howevr, we cannot use actual lambdas, as that'd disturb the

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 --- Comment #1 from Nathan Sidwell --- Reduced testcase: export module Expr; template class TBase {}; template typename TTpl> class TBase> { public: template typename UTpl> void Foo (TBase> &rhs); }; void Frob (TBase&);

[Bug c++/98893] start_cleanup_cnt needs modularizing

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Last reconfirmed||2021-01-29

[Bug c++/98893] New: start_cleanup_cnt needs modularizing

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- cp/decl.c: static GTY(()) int start_cleanup_cnt; static tree start_cleanup_fn (void) { ... sprintf (name, "__tcf_%d", start_cleanup_cnt++); this will collide with header_units

[Bug c++/98843] Building simple c++ modules example fails but successful with -save-temps

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98843 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #7 from Nathan Sidwell --- My mistake. interface and implementation partitions do not follow the non-partition behaviour. You have two M:A partitions (one an interface and one an implementation). This is what you want: A.cc: expor

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #5 from Nathan Sidwell --- your A-impl.cpp needs `import :B` and vice-versa

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #3 from Nathan Sidwell --- module partitions are probably what you want for such mutually dependent types.

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |ASSIGNED Last reconfirmed||2021-01-29 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #1 from Nathan Sidwell --- This is ill-formed. an

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/98761] [modules] use of a module causes SIGSEGV at runtime

2021-01-28 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98761 Nathan Sidwell changed: What|Removed |Added Last reconfirmed||2021-01-28 Ever confirmed|0

[Bug c++/98770] [modules] including certain stdlib headers in the global module fragment of different modules causes conflicting global module declarations

2021-01-28 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98770 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

<    1   2   3   4   5   6   7   8   9   10   >