LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 13308 - LibreOffice build dies with Assertion `EST != EST_Delayed && EST != EST_Uninstantiated'
Summary: LibreOffice build dies with Assertion `EST != EST_Delayed && EST != EST_Unins...
Status: RESOLVED FIXED
Alias: None
Product: clang
Classification: Unclassified
Component: -New Bugs (show other bugs)
Version: trunk
Hardware: All All
: P normal
Assignee: Unassigned Clang Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-09 13:07 PDT by Dimitry Andric
Modified: 2012-07-09 18:20 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric 2012-07-09 13:07:52 PDT
As described in bug 12763, a few C++ sources in LibreOffice trigger the
following assert, when compiling in C++0x or C++11 mode:

Assertion failed: (EST != EST_Delayed && EST != EST_Uninstantiated),
function isNothrow, file tools/clang/include/clang/AST/Type.h, line
2873.

Richard Smith reduced the testcase to:

template<bool B> struct T {
  virtual void f() noexcept (B);
};
struct X : public T<true> {
  virtual void g();
};
void X::g() {}
Comment 1 Richard Smith 2012-07-09 18:20:05 PDT
This was fixed in r159895.