|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: [jira] Created: (STDCXX-1022) [MSVC x86 / optimized] ICE in std::__make_heap()0....:....1....:....2....:....3....:....4....:....5....:....6....:....7....:....8
Btw., the reason I ask is so we can come up with a better/cleaner workaround, hopefully one that will be as efficient as the original code and won't need an #ifdef. Do you see the ICE in a specific test (or example), maybe only for a specific instantiation of the template, or does it happen regardless of the actual types of the template arguments?
|
|
|
|
|
|
Re: [jira] Created: (STDCXX-1022) [MSVC x86 / optimized] ICE in std::__make_heap()Thanks for looking into it! That's too bad about noreturn. It can help the compiler generate better code so it would be a shame to have to remove it. A test case might help us come up with a workaround and get Microsoft to fix their compiler :) ... This is close to what I had in mind when I saw the #ifdef but is it the same thing? IIUC, in the original version, the loop will execute at least once. In this version, it may not execute at all (i.e., if __parent is zero). Or does it not matter? If not, this would seem like an improvement over the original code irrespective of the ICE, which is exactly what I was hoping for! :) Martin |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |