[Patch, Fortran] PR fortran/46794: Fix ICE with powers of integers

Daniel Kraft d@domob.eu
Sun Dec 5 10:11:00 GMT 2010


Steve Kargl wrote:
> On Sat, Dec 04, 2010 at 10:35:16AM +0100, Daniel Kraft wrote:
>> Hi Tobias,
>>
>> Tobias Burnus wrote:
>>>> Regression-tested on x86_64-unknown-linux-gnu without failures -- 
>>>> though the run somehow looked strange to me (on the compile-farm); 
>>>> I'll try again to be sure.  Ok for trunk?
>>> OK for the trunk. Can you check whether one needs to likewise for the 
>>> 4.5 and 4.4 branch? (I think one should check on source level - the 
>>> verify_tree might not always catch it. For some reasons, it ICEs here 
>>> with 4.4 and 4.6 but not with 4.5; however, I think that's rather by 
>>> chance and not because of a proper casting.)
>> No further problems with the regtest, thanks for the review!  I 
>> committed as rev. 167453 to trunk.  I will look at the source for 4.4 
>> and 4.5 accordingly.
>>
> 
> Can you fix the test case to be valid Fortran.  k1 and k2
> are used uninitialized.

This is only a compile-test.  But I committed the attached patch as 
obvious fix to trunk after a successful test on x86_64-unknown-linux-gnu 
and will consider this of course also for the backports.

Daniel

-- 
http://www.pro-vegan.info/
--
Done:  Arc-Bar-Cav-Kni-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Mon-Pri
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.changelog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101205/81710c27/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101205/81710c27/attachment-0001.ksh>


More information about the Fortran mailing list