Re: [Patch, fortran] PR47850 - [4.6 Regression] ICE in gfc_conv_array_initializer

2011-03-06 Thread Paul Richard Thomas
Dear Jerry, I am not sure about one of the submitters reviewing the patch :-) Fortunately, Dominique d'Humieres ran it by his own tests and found that it did not break anything. Submitted as revision 170720. Thanks to you both! Paul 2011-03-06 Paul Thomas Jerry DeLisle

Re: [Patch, fortran] PR47850 - [4.6 Regression] ICE in gfc_conv_array_initializer

2011-03-06 Thread Jerry DeLisle
On 03/06/2011 10:57 AM, Paul Richard Thomas wrote: This one was exceedingly difficult to diagnose. The workings of array.c are opaque to say the least of it! However, the fix is relatively clear. The testcase in the PR failed because the argument of ANY is not a gfc_constant_ac. However, iter

[Patch, fortran] PR47850 - [4.6 Regression] ICE in gfc_conv_array_initializer

2011-03-06 Thread Paul Richard Thomas
This one was exceedingly difficult to diagnose. The workings of array.c are opaque to say the least of it! However, the fix is relatively clear. The testcase in the PR failed because the argument of ANY is not a gfc_constant_ac. However, iterating through the constructor and testing the express