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?


Martin Sebor-2 wrote:
> 
> Hi Farid,
> 
> Did you happen to reduce this to a small test case and send
> it to Microsoft?
> 
> Thanks
> Martin
> 
> Farid Zaripov (JIRA) wrote:
>> [MSVC x86 / optimized] ICE in std::__make_heap()
>> ------------------------------------------------
>> 
>>                  Key: STDCXX-1022
>>                  URL: https://issues.apache.org/jira/browse/STDCXX-1022
>>              Project: C++ Standard Library
>>           Issue Type: Bug
>>           Components: External
>>          Environment: 32-bit MSVC 7.1, 8.0, 9.0 in optimized builds
>>             Reporter: Farid Zaripov
>> 
>> 
>> The 25.heap, 25.partial_sort, 25.sort tests are failed to compile on
>> every 32-bit MSVC in optimized builds due to ICE:
>> 
>> {noformat}
>> f:\stdcxx\4.2.x\include\rw\_heap.cc(93) : fatal error C1001: An internal
>> error has occurred in the compiler.
>> (compiler file
>> 'f:\dd\vctools\compiler\utc\src\p2\main.c[0x51144F50:0x0000002C]', line
>> 182)
>>  To work around this problem, try simplifying or changing the program
>> near the locations listed above.
>> Please choose the Technical Support command on the Visual C++ 
>>  Help menu, or open the Technical Support help file for more information
>> {noformat}
>> 
>> 
>> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A--jira--Created%3A-%28STDCXX-1022%29--MSVC-x86---optimized--ICE-in-std%3A%3A__make_heap%28%29-tp20532273p20532381.html
Sent from the stdcxx-dev mailing list archive at Nabble.com.

Reply via email to