[Bug c++/100583] [modules] ICE when importing

2022-10-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100583

Jonathan Wakely  changed:

   What|Removed |Added

   Target Milestone|--- |12.0
 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Jonathan Wakely  ---
Fixed by commit r12-7133-g1ce5395977f37e

Date:   Wed Feb 9 00:31:12 2022 -0500

c++: modules and explicit(bool) [PR103752]

We weren't streaming a C++20 dependent explicit-specifier.

PR c++/103752

gcc/cp/ChangeLog:

* module.cc (trees_out::core_vals): Stream explicit specifier.
(trees_in::core_vals): Likewise.
* pt.cc (store_explicit_specifier): No longer static.
(tsubst_function_decl): Clear DECL_HAS_DEPENDENT_EXPLICIT_SPEC_P.
* cp-tree.h (lookup_explicit_specifier): Declare.

*** This bug has been marked as a duplicate of bug 103752 ***

[Bug c++/100583] [modules] ICE when importing

2022-02-13 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100583

--- Comment #5 from Johel Ernesto Guerrero Peña  ---
This was fixed somewhere along the way.

[Bug c++/100583] [modules] ICE when importing

2021-11-12 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100583

--- Comment #4 from Johel Ernesto Guerrero Peña  ---
As pointed out in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103118#c3:

> What works is including them in a non-module unit translation unit.
> 
> ```C++
> #if defined(__GNUC__) and not defined(__clang__)
> #  include  // Workaround GCC bug 103118.
> #  include// Workaround GCC bug 100583.
> #endif
> import waarudo.geometries;
> import waarudo.numbers;
> import waarudo.quantities;
> #include 
> ```

[Bug c++/100583] [modules] ICE when importing

2021-10-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100583

--- Comment #3 from Johel Ernesto Guerrero Peña  ---
Thank you.

> The solution is to use the include and remove the gcm file altogether.

Is this still the case? I still get an ICE.

[Bug c++/100583] [modules] ICE when importing

2021-09-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100583

Jonathan Wakely  changed:

   What|Removed |Added

   Last reconfirmed||2021-09-28
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #2 from Jonathan Wakely  ---
(In reply to Johel Ernesto Guerrero Peña from comment #1)
> Please, add Bug 99227 to **Blocks:** for visibility.

Done

[Bug c++/100583] [modules] ICE when importing

2021-09-26 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100583

--- Comment #1 from Johel Ernesto Guerrero Peña  ---
Please, add Bug 99227 to **Blocks:** for visibility.