[Bug c++/98363] C++ 20 module ICE for fast_io library

2024-01-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

--- Comment #8 from Patrick Palka  ---
(In reply to Patrick Palka from comment #7)
> Seems this has long been fixed by r11-6308
oops, r11-6309 rather

[Bug c++/98363] C++ 20 module ICE for fast_io library

2024-01-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

Patrick Palka  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |11.0
 CC||ppalka at gcc dot gnu.org

--- Comment #7 from Patrick Palka  ---
Seems this has long been fixed by r11-6308

[Bug c++/98363] C++ 20 module ICE for fast_io library

2020-12-18 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

--- Comment #6 from cqwrteur  ---
(In reply to Nathan Sidwell from comment #4)
> FWIW I think it premature to start agressively filing these kinds of
> defects.  We haven't added the module testsuite yet.

Same issue on Windows. Looks like modules have not yet worked very well with
concepts.

[Bug c++/98363] C++ 20 module ICE for fast_io library

2020-12-18 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

--- Comment #5 from cqwrteur  ---
(In reply to Nathan Sidwell from comment #4)
> FWIW I think it premature to start agressively filing these kinds of
> defects.  We haven't added the module testsuite yet.

No problem. I will keep helping you. I use GCC heavily on both windows and
linux and my library is built with full of C++20 features, including concepts,
coroutines, ranges, etc. I think I can help a lot on supporting modules on
Windows.

[Bug c++/98363] C++ 20 module ICE for fast_io library

2020-12-18 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

--- Comment #4 from Nathan Sidwell  ---
FWIW I think it premature to start agressively filing these kinds of defects. 
We haven't added the module testsuite yet.

[Bug c++/98363] C++ 20 module ICE for fast_io library

2020-12-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

Martin Liška  changed:

   What|Removed |Added

   Keywords|needs-bisection,|
   |needs-reduction |

--- Comment #3 from Martin Liška  ---
Reduced test-case:

cat pr98363.C
module;
# 1 "" 1
template 
concept derived_from = __is_base_of(_Base, _Derived);
namespace ranges {
int swap;
}
template  concept swappable = requires { ranges::swap; };
template  concept movable = swappable<_Tp>;
namespace __detail {
template 
concept __weakly_eq_cmp_with = requires(_Tp __t) {
  __t;
};
} // namespace __detail
template  struct iterator_traits;
struct input_iterator_tag;
namespace __detail {
template  using __iter_concept = _Iter;
}
template  concept weakly_incrementable = movable<_Iter>;
template 
concept input_or_output_iterator = weakly_incrementable<_Iter>;
template 
concept sentinel_for = __detail::__weakly_eq_cmp_with<_Sent, _Iter>;
template 
concept input_iterator =
derived_from<__detail::__iter_concept<_Iter>, input_iterator_tag>;
template  struct iterator;
template 
class reverse_iterator
: iterator::value_type> {};
template >
class common_iterator;
template 
struct iterator_traits>;
class basic_string_view {
  using value_type = int;
  using const_iterator = value_type;
  using const_reverse_iterator = reverse_iterator;
};
# 3 "" 2
export module hello;
void greeter(basic_string_view);

Started with r11-6084-g4efde6781bba8d64.

[Bug c++/98363] C++ 20 module ICE for fast_io library

2020-12-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org
 Ever confirmed|0   |1
   Last reconfirmed||2020-12-18
   Keywords||needs-bisection,
   ||needs-reduction
 Status|UNCONFIRMED |NEW

--- Comment #2 from Martin Liška  ---
I'm reducing that right now..

[Bug c++/98363] C++ 20 module ICE for fast_io library

2020-12-17 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98363

cqwrteur  changed:

   What|Removed |Added

 CC||unlvsur at live dot com

--- Comment #1 from cqwrteur  ---
Created attachment 49790
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49790=edit
Preprocessor file

This is the preprocessor file. (fast_io is a header-only library)