[Bug c++/42082] [C++0x] ICE on probably invalid with "canonical types differ for identical types"

lloyd at randombit dot net gcc-bugzilla@gcc.gnu.org
Thu Jan 21 05:01:00 GMT 2010



------- 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_fn<void
(std::__future_base::_State::*)(std::function<std::unique_ptr<std::__future_base::_Result_base,
std::__future_base::_Result_base::_Deleter>()>&, bool&)>, _Args =
{std::__future_base::_State* const,
std::reference_wrapper<std::function<std::unique_ptr<std::__future_base::_Result_base,
std::__future_base::_Result_base::_Deleter>()> >,
std::reference_wrapper<bool>}, 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



More information about the Gcc-bugs mailing list