[Bug c++/68929] New: GCC hangs in nested template instantiations even after static_assert fails.
eric at efcs dot ca
gcc-bugzilla@gcc.gnu.org
Wed Dec 16 00:29:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68929
Bug ID: 68929
Summary: GCC hangs in nested template instantiations even after
static_assert fails.
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: eric at efcs dot ca
Target Milestone: ---
GCC currently hangs when compiling the attached reproducer. The reproducer is a
stripped down libc++ test that ensures that "std::make_integer_sequence<int,
-100>" causes a static assertion.
GCC will emit the assertion but then continue to run and consume more memory
until its killed for being OOM.
More information about the Gcc-bugs
mailing list