http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55537
Bug #: 55537 Summary: constexpr usage crashes the compiler Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: akrze...@gmail.com Compilation of the following code causes the compiler to crash: //// BEGIN constexpr int j = 0; constexpr int const& get() { return (0, *&j); } constexpr int i = get(); int main() { } //// END I get error message: "internal compiler error: in adjust_temp_type, at cp/semantics.c:6400"