[Mesa-dev] [PATCH 3/4] MSVC2013: Work around internal compiler error

Ian Romanick idr at freedesktop.org
Tue Jan 7 14:30:23 PST 2014


On 01/07/2014 02:22 PM, Thomas Sondergaard wrote:
> On 2014-01-07 23:05, Ian Romanick wrote:
>> On 01/07/2014 12:31 PM, Thomas Sondergaard wrote:
>>> This small rearrangement avoids MSVC 2013 ICE. Also, this should be a
>>> better
>>> memory access order.
>>
>> Can you explain this better?  As far as I can tell, this just changes
>> the order the indices are visited (and has a spurious, incorrect
>> whitespace change).  This shouldn't affect the correctness of the code
>> at all.
> 
> No, the error is in the MSVC 2013 c++ compiler which dies with an
> internal compiler error (ICE). It is not intended to affect the
> correctness of the code. I will also report the ICE to microsoft.

Excellent.  Hurray for finding compiler bugs. :)

With the extra whitespace change removed,

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

> Regards,
> Thomas



More information about the mesa-dev mailing list