[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc-4.4 ICE



Down the error.

> ../../../../../src/libstdc++-v3/src/mutex.cc: In function 'void std::__once_proxy()':
> ../../../../../src/libstdc++-v3/src/mutex.cc:97: error: insn does not satisfy its constraints:
> (insn 26 34 5 ../../../../../src/libstdc++-v3/src/mutex.cc:96 (set (reg:SI 0 %d0 [31])
>        (const:SI (unspec:SI [
>                    (symbol_ref:SI ("_ZSt11__once_call") [flags 0x10] <var_decl 0xc0fa9cb8 __once_call>)
>                    (const_int 1 [0x1])
>                ] 6))) 35 {*movsi_m68k} (nil))
> ../../../../../src/libstdc++-v3/src/mutex.cc:97: internal compiler error: in final_scan_insn, at final.c:2537

Below the code.

>   81   extern "C"
>   82   {
>   83     void __once_proxy()
>   84     {
>   85 #ifndef _GLIBCXX_HAVE_TLS
>   86       function<void()> __once_call = std::move(__once_functor);
>   87       if (unique_lock<mutex>* __lock = __get_once_functor_lock_ptr())
>   88       {
>   89         // caller is using new ABI and provided lock ptr
>   90         __get_once_functor_lock_ptr() = 0;
>   91         __lock->unlock();
>   92       }
>   93       else
>   94         __get_once_functor_lock().unlock();  // global lock
>   95 #endif
>   96       __once_call();
>   97     }
>   98   }
>
> bye,
> //mirabilos
> --
> I believe no one can invent an algorithm. One just happens to hit upon it
> when God enlightens him. Or only God invents algorithms, we merely copy them.
> If you don't believe in God, just consider God as Nature if you won't deny
> existence.              -- Coywolf Qi Hunt
>
>
> --
> To UNSUBSCRIBE, email to debian-68k-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] Pine.BSM.4.64L.1010180755290.27549@herc.mirbsd.org">http://lists.debian.org/[🔎] Pine.BSM.4.64L.1010180755290.27549@herc.mirbsd.org
>
>



-- 
-- Sujit K M

blog(http://kmsujit.blogspot.com/)


Reply to: