[Bug c++/107033] [13 Regression] [modules] ICE using span as a range

2022-09-25 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107033 --- Comment #4 from Johel Ernesto Guerrero Peña --- This is actually Bug 106826. Simplest: https://godbolt.org/z/oKT4x9r4G. ```C++ template constexpr bool is = false; template constexpr bool is = true; ``` ```C++ export module mod; import "st

[Bug c++/107033] [13 Regression] [modules] ICE using span as a range

2022-09-25 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107033 --- Comment #3 from Johel Ernesto Guerrero Peña --- Simplified: https://godbolt.org/z/3Ys316aeE. ```C++ export module mod; import "std.hpp"; int x[2]; export auto _ = std::ranges::begin(x); ```