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

2011-05-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42082

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||jason at gcc dot gnu.org
 Resolution||FIXED
   Target Milestone|--- |4.5.4

--- Comment #3 from Jason Merrill jason at gcc dot gnu.org 2011-05-25 
20:46:41 UTC ---
This seems to be fixed with current 4.5 branch sources, and also works with 4.6
and trunk (after changing unique_future to just future).


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

2010-01-20 Thread lloyd at randombit dot net


--- 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



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

2009-11-17 Thread lloyd at randombit dot net


--- Comment #1 from lloyd at randombit dot net  2009-11-17 19:48 ---
Created an attachment (id=19030)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19030action=view)
Testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42082