--- Comment #2 from lloyd at randombit dot net 2010-01-21 05:01 ---
Still ICEs with r156097:
g++-4.5-r156097 -std=c++0x decl.cpp
In file included from
/usr/local/gcc-4.5-r156097/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/future:40:0,
from decl.cpp:1:
/usr/local/gcc-4.5-r156097/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/mutex:
In function 'void std::call_once(std::once_flag, _Callable, _Args ...) [with
_Callable = std::_Mem_fnvoid
(std::__future_base::_State::*)(std::functionstd::unique_ptrstd::__future_base::_Result_base,
std::__future_base::_Result_base::_Deleter(), bool), _Args =
{std::__future_base::_State* const,
std::reference_wrapperstd::functionstd::unique_ptrstd::__future_base::_Result_base,
std::__future_base::_Result_base::_Deleter() ,
std::reference_wrapperbool}, std::once_flag = std::once_flag]':
/usr/local/gcc-4.5-r156097/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/future:310:23:
instantiated from here
/usr/local/gcc-4.5-r156097/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/mutex:727:7:
internal compiler error: canonical types differ for identical types int() and
int()
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42082