[Bug c++/103921] [modules] ICE dependent expression in explicit-specifier of instantiation of imported template

2022-02-09 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103921 Johel Ernesto Guerrero Peña changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/103921] [modules] ICE dependent expression in explicit-specifier of instantiation of imported template

2022-01-05 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103921 --- Comment #4 from Johel Ernesto Guerrero Peña --- For the above, when it's fixed: ```diff - explicit(B) operator int() const; + explicit(B) operator int() { return 0; } ```

[Bug c++/103921] [modules] ICE dependent expression in explicit-specifier of instantiation of imported template

2022-01-05 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103921 --- Comment #3 from Johel Ernesto Guerrero Peña --- Simplified: https://godbolt.org/z/rnfKrzYaP. mod.cpp: ```C++ export module mod; export template struct Int { explicit(B) operator int() const; }; ``` test.cpp: ```C++ import mod; int

[Bug c++/103921] [modules] ICE dependent expression in explicit-specifier of instantiation of imported template

2022-01-05 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103921 Johel Ernesto Guerrero Peña changed: What|Removed |Added Summary|[modules] ICE requires in |[modules] ICE dependent