-
- Downloads
From Paul:
Fix for crash on array initialization reported by Nick West. This was a programming error which would not ordinarily have caused a problem, but it interacted badly with a compiler bug in gcc 3.2.3. The programming mistake was initializing a const int& with an array element of type short. Because this is a const reference the compiler should bind the ref to a temporary and copy the array element. The original intent was to bind directly to the array element, but in this case there is no difference in the result since no modifications are ever made through the reference. Unfortunately the gcc 3.2.3 compiler had a bug, and the generated code did not bind the reference correctly. Later versions of the compiler do not have this problem. The code fix is to simply use a const short instead of a const int& for this variable. git-svn-id: http://root.cern.ch/svn/root/trunk@18626 27541ba8-7e3a-0410-8455-c3a389f83636
Loading
Please register or sign in to comment