Repository navigation
[GNATS 22056] internal error: read_memory_region: not all expected entries were read #116
jhsedg
started this conversation in
Issue Triage - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Customer bug ID
boost/index_if; gnats/22056a.C (reduced test), gnats/22056.C full expanded test
Description
Gnats 22056.C is the full expanded test
gnats 22056a.C is the reduced test case
template struct e { static constexpr int c = a; };
template auto d(0);
struct j {
typedef e<1> g;
};
template struct k;
template struct n { typedef k g; };
template <bool, typename h, typename> using i = typename n::g;
template <typename, typename = void> struct o;
template struct p;
template <typename l, typename> struct o : o<l, p> {};
template <typename l, bool ad> struct o<l, p> { using g = l; };
template struct q { using g = j::g; };
struct aw {
template <typename m, typename ax>
constexpr auto operator()(m &&, ax &&) const;
} a;
template <typename m, typename ax>
constexpr auto aw::operator()(m &&r, ax &&s) const {
using au = typename o::g;
using bb = i<0, au, int>;
return bb::t(r, s);
}
template struct H {
template <typename m, typename ax>
using f = typename H<bool(q<decltype(d)>::g::c)>::template f<m, ax>;
};
template <> struct H { template <typename, typename> using f = int; };
template struct k {
template <typename m, typename ax>
static auto t(m, ax) -> H::f<m, ax> {}
};
void fn1() {
auto b = [] {};
decltype(a(fn1, b)){};
}
fe_only -DTEST_NUMBER=1 --gnu_version=80100 -w --no_inlining --c++17 Test_name.c
IL entry write-read difference: region number 80
entry kind = 7 (variable), written = 62, read = 55
missing entry = 22
missing entry = 28
missing entry = 34
missing entry = 40
missing entry = 46
missing entry = 52
missing entry = 58
"Test_name.c", line 6618 (col. 5): internal error: read_memory_region: not all
expected entries were read
1 catastrophic error detected in the compilation of "Test_name.c".
Compilation aborted.
Aborted
eccp: front end returned an exit status of 134
All reactions