[Patch, Fortran] PR 56081: [4.7/4.8 Regression] Seg fault ICE on select with bad case

Janus Weil janus@gcc.gnu.org
Wed Jan 23 21:40:00 GMT 2013


2013/1/23 Steve Kargl <sgk@troutmask.apl.washington.edu>:
> On Wed, Jan 23, 2013 at 09:18:45PM +0100, Janus Weil wrote:
>>
>> here is a regression fix for an ICE-on-invalid bug with SELECT CASE.
>> The check to reject non-scalar selectors had been present in 4.6, but
>> was apparently removed when CLASS arrays were implemented.
>>
>> The patch re-inserts the check and makes sure it is not applied to
>> SELECT TYPE (where class arrays are allowed).
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk and 4.7?
>>
>
> The patch looks ok to me.  Thanks.

Thanks for the review, Steve. Committed to trunk as r195412. Will
commit to 4.7 soon.

Cheers,
Janus



More information about the Fortran mailing list