https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116225

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
e.g.
```
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/bits/stl_stack.h:293:
void std::stack<_Tp, _Sequence>::pop() [with _Tp = unsigned int; _Sequence =
std::deque<unsigned int, std::allocator<unsigned int> >]: Assertion
'!this->empty()' failed.
crab1: internal compiler error: Aborted
0x563424577306 internal_error(char const*, ...)
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/diagnostic-global-context.cc:491
0x563423db8d51 crash_signal
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/toplev.cc:321
0x56342588588a std::__glibcxx_assert_fail(char const*, int, char const*, char
const*)
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/libstdc++-v3/src/c++11/assert_fail.cc:41
0x56342562c653 std::stack<unsigned int, std::deque<unsigned int,
std::allocator<unsigned int> > >::pop()
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/bits/stl_stack.h:293
0x56342562c653 Rust::Resolver::TypeCheckContext::LifetimeResolver::pop_binder()
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/typecheck/rust-hir-type-check.h:350
0x56342562c653
Rust::Resolver::TypeCheckContext::LifetimeResolverGuard::~LifetimeResolverGuard()
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/typecheck/rust-hir-type-check.h:427
0x56342562c653 Rust::Resolver::TypeCheckItem::visit(Rust::HIR::Function&)
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/typecheck/rust-hir-type-check-item.cc:613
0x5634255deff3 Rust::Resolver::TypeCheckItem::Resolve(Rust::HIR::Item&)
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/typecheck/rust-hir-type-check-item.cc:55
0x563425597848 Rust::Resolver::TypeResolution::Resolve(Rust::HIR::Crate&)
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/typecheck/rust-hir-type-check.cc:70
0x563425353b5e Rust::Session::compile_crate(char const*)
       
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/rust/rust-session-manager.cc:667
```

Reply via email to