This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 56081: [4.7/4.8 Regression] Seg fault ICE on select with bad case
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Janus Weil <janus at gcc dot gnu dot org>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 23 Jan 2013 12:33:34 -0800
- Subject: Re: [Patch, Fortran] PR 56081: [4.7/4.8 Regression] Seg fault ICE on select with bad case
- References: <CAKwh3qiW8oUwab9dKhPDPoskGz3ropd1eQ9K8ze+UMBOtnLyjQ@mail.gmail.com>
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.
--
Steve